69 Commits

Author SHA1 Message Date
Franco Fichtner
60d62437f2 ui: rewor the rework of the subnet selector; closes #5129 2021-07-30 12:33:33 +02:00
Franco Fichtner
89922cc191 ui: improve the subnet size selector
o toggle between 32 and 64 to indicate it's working
o serialize the option change event
o remove disabled option workaround
2021-06-07 08:33:55 +02:00
kulikov-a
d7aa773f9b
opnsense_legacy.js: toString before split (#4846) 2021-03-19 18:58:59 +01:00
Stephan de Wit
c7d2488034
firewall: categories improvements (#4790) 2021-03-11 19:26:17 +01:00
Ad Schellevis
10dc80f54f Firewall / NAT: support category filters : add color selection and display for https://github.com/opnsense/core/issues/4587 2021-01-19 11:48:41 +01:00
Ad Schellevis
69d1332209 Firewall / NAT: support category filters (https://github.com/opnsense/core/issues/4587)
add badges with record count in category select
2021-01-18 20:11:58 +01:00
Ad Schellevis
bdc4430963 Firewall: add model for categories. work in progress for https://github.com/opnsense/core/issues/4587
bugfix some javascript, value need to contain the unescaped value (like it previously was when statically loaded).
2021-01-13 22:11:58 +01:00
Ad Schellevis
3b1c3eb3d3 Firewall: add model for categories. work in progress for https://github.com/opnsense/core/issues/4587
bugfix previous commit, split() should check for not null
2021-01-13 17:26:44 +01:00
Ad Schellevis
224dfb0a36 Firewall: add model for categories. work in progress for https://github.com/opnsense/core/issues/4587
refactor javascript code and move it into opnsense_legacy.js for reuse. while here add a standard controller we can use to query existing categories and allow usage from the components in scope of this change.
Keep current selection in the user session so selections are sticky among tab changes and edits. The previous "hack menu" was a bit impractical to expand to other components as well.
2021-01-13 17:06:39 +01:00
Ad Schellevis
a6cd706755 Firewall, window_highlight_table_option(), safari seems to miss the border by one pixel, better to leave 1px spacing when animating the arrow to the right. 2019-07-11 13:45:48 +02:00
Ad Schellevis
96eb3f6f03 filter, move code to highlight (point) selected option from system_advanced_firewall.php to generic javascript legacy function and enable support on interfaces.php page as well, including a fix to firewall_rule_lookup.php for supporting ?if=<interface> lookups
for https://github.com/opnsense/core/issues/3312
2019-03-15 14:38:43 +01:00
Ad Schellevis
2af9202d64 ui: regression in single host or network subnet select (https://github.com/opnsense/core/issues/3148) 2019-01-23 22:06:00 +01:00
Michael Steenbeek
97645093c3 Fix missing semicolons 2019-01-11 16:44:23 +01:00
Michael Steenbeek
2c61e068a2 Small fixes (#3096) 2019-01-04 09:26:16 +01:00
Michael Steenbeek
71774ab376 Fix implicit Javascript global variable assignments (#2945) 2018-12-03 13:17:02 +01:00
Franco Fichtner
16f4a4962f www: flip table redraw, allows to remove spurious table mod #2290 2018-03-25 13:39:09 +00:00
Franco Fichtner
aaf2178f5a www: merge ticker.js into opnsense_legacy.js 2017-11-22 08:45:49 +01:00
Ad Schellevis
a4971e7e1b move leftovers from filter_log.js to diag_logs_filter.php, which may leave in 18.1, see https://github.com/opnsense/core/issues/1917 2017-11-07 21:25:07 +01:00
Ad Schellevis
2eda2d6350 (style, opnsense_standard_table_form) reverse zebra to improve heading, drop first grid line
When using opnsense_standard_table_form on a table, the first visible row contains a top border (because the invisible mobile border is placed first).
The change sets border-top-width on the first td,th to 0px and swaps the zebra printing to keep things more consistent.
2016-08-21 15:06:03 +02:00
Franco Fichtner
12febf0260 ui: back out intrusive style fix, table layout could be better 2016-06-13 08:05:34 +02:00
Franco Fichtner
f44b7e0ca3 ui: tip toeing around mobile issues for #1003
This tries to address table overflow problems we have and is
only meant as a base for further discussion.  It gets rid of
table overflow, e.g. in the dashboard on small mobile screens
by setting "table-layout: fixed;" for all tables.  This breaks
the stacked-to-horizontal emulation, so the workaround there
is to switch it off, which requires a proper viewport detection.

While there, fiddle with the logs template, but for these non-
hooked stacked-to-horizontal tables the fix for table-layout
can't be undone, because that would break the original fix in
the first place.

Moral of the story: tables are deprecated.  ;)
2016-06-11 12:36:22 +02:00
Ad Schellevis
6ffc213c18 fix hook_stacked_form_tables (mobile), do not copy id tags. There still is some old javascript code which breaks. 2016-06-09 12:01:06 +02:00
Ad Schellevis
ebe341ec2f (ui) select highest visible option in hook_ipv4v6 2016-05-23 22:19:09 +02:00
Ad Schellevis
bdcdd8b117 (ui) hook_stacked_form_tables preserve <tr> properties 2016-05-20 17:43:29 +02:00
Ad Schellevis
feaf21fc8e (ui) hook_stacked_form_tables, don't dig to deep 2016-05-20 17:31:11 +02:00
Ad Schellevis
e0bbb0c638 (ui) add "Stacked-to-horizontal" like feature for input forms 2016-05-20 14:58:53 +02:00
Ad Schellevis
a8f5cf5087 (dashboard) remove some legacy files 2016-05-09 09:15:58 +02:00
Ad Schellevis
fe848ddd50 (legacy) refactor vpn_pppoe_edit.php, zap jquery.ipv4v6ify.js row_helper.js 2016-03-15 14:28:52 +01:00
Ad Schellevis
e082aadca6 (legacy) refactor services_upnp.php 2016-03-10 14:25:01 +01:00
Ad Schellevis
b459bada74 zapp javascript/load_balancer_pool_edit 2016-03-04 13:27:59 +01:00
Manuel Faux
87014246c0 UX: changed delete icon from "X" to "trash" 2016-01-10 12:06:48 +01:00
Ad Schellevis
693c3f739b zap row_toggle.js 2015-12-29 21:44:39 +01:00
Ad Schellevis
616a56cd93 add selectpicker to hook_ipv4v6 2015-12-29 21:24:45 +01:00
Ad Schellevis
c80a1f817d (legacy) zap ppps_edit.js 2015-12-29 20:31:08 +01:00
Ad Schellevis
18be51a5e9 (legacy) zap datepicker 2015-12-29 20:29:48 +01:00
Ad Schellevis
fa5596e62b (legacy) zap numericupdown 2015-12-29 20:29:01 +01:00
Franco Fichtner
da8a2bed0f load balancer: remove unused relay pages and related backend parts
Dormant ever since 2009, time to remove those finally.
2015-12-10 11:56:48 +01:00
Ad Schellevis
2daf0e206e ipv4/v6 subnet selction, closes https://github.com/opnsense/core/issues/486 2015-11-30 08:17:43 +00:00
Franco Fichtner
4760cfda19 interfaces: repair ppp mobile selection in main edit 2015-11-23 08:37:41 +01:00
Ad Schellevis
d8ab1f0d34 (legacy) remove unused function alias_popup 2015-11-01 11:30:33 +00:00
Ad Schellevis
a7092d5615 (legacy) add javascript file for legacy support functions and add hook_ipv4v6 (switch subnet) 2015-10-29 09:24:38 +00:00
Ad Schellevis
d5d4382285 (legacy) remove unused JS 2015-08-25 13:50:27 +00:00
Ad Schellevis
3216e8b224 (legacy) remove unused javascript 2015-08-19 11:31:20 +00:00
Ad Schellevis
60c8f88f32 (legacy) remove unused javascript 2015-08-19 08:48:26 +00:00
Ad Schellevis
fe1791dec3 (legacy/theme) remove duplicate script files 2015-08-03 19:08:43 +00:00
Franco Fichtner
0e3ea0485e www: strip unused javascript; related to #208 2015-06-22 10:10:02 +02:00
Franco Fichtner
27ed7eb342 queues: a few more renmants zapped 2015-06-18 14:25:22 +02:00
Ad Schellevis
38a6a82560 (firewall) javascript error preventing aliasses to work, related to https://github.com/opnsense/core/issues/196 2015-05-22 20:01:08 +00:00
Ad Schellevis
be6b4274c4 (firewall) remove 802.1p rules 2015-05-18 13:47:11 +00:00
Franco Fichtner
1ede66b367 www: does not need execution bit 2015-05-15 09:49:26 +02:00