diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-04-21 10:04:15 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-04-21 10:06:27 -0400 |
commit | ed54644bb6c63f1a9fa26fdbe736a481afc3ed79 (patch) | |
tree | 56d3c3ef96919de3976183dfdc6a4acb2e33ada1 /src/usr/local/www/firewall_rules.php | |
parent | 24da45997eaa8603cf710cfca7c82cdd989f5518 (diff) | |
download | pfsense-ed54644bb6c63f1a9fa26fdbe736a481afc3ed79.zip pfsense-ed54644bb6c63f1a9fa26fdbe736a481afc3ed79.tar.gz |
Updated #6092 as requested
(cherry picked from commit a7893b72fe9405293ad23d29d03e8985ede796d4)
Diffstat (limited to 'src/usr/local/www/firewall_rules.php')
-rw-r--r-- | src/usr/local/www/firewall_rules.php | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php index a431765..dc9c192 100644 --- a/src/usr/local/www/firewall_rules.php +++ b/src/usr/local/www/firewall_rules.php @@ -69,8 +69,8 @@ require_once("filter.inc"); require_once("ipsec.inc"); require_once("shaper.inc"); -$XmoveTitle = gettext("Move checked rules above this one"); -$ShXmoveTitle = gettext("Move checked rules below this one"); +$XmoveTitle = gettext("Move checked rules above this one. Shift+Click to move checked rules below."); +$ShXmoveTitle = gettext("Move checked rules below this one. Release shift to move checked rules above."); $pgtitle = array(gettext("Firewall"), gettext("Rules")); $shortcut_section = "firewall"; @@ -950,7 +950,14 @@ events.push(function() { $('#order-store').removeAttr('disabled'); reindex_rules($(anchor_row).parent('tbody')); dirty = true; - + }).mouseover(function(e) { + if (e.shiftKey) { + $(this).parents('tr').css('border-bottom', '4px solid green'); + } else { + $(this).parents('tr').css('border-top', '4px solid green'); + } + }).mouseout(function(e) { + $(this).parents('tr').css('border', '0px'); }); // Make rules sortable. Hiding the table before applying sortable, then showing it again is |