From e8f8b0ab273baa1d772ec914c51e242c3ff22f56 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Wed, 22 May 2013 12:20:35 -0400 Subject: Fix various HTML style issues to tidy up GUI. --- config/snort/snort_interfaces.php | 280 +++++++++++++++++++------------------- 1 file changed, 141 insertions(+), 139 deletions(-) (limited to 'config/snort/snort_interfaces.php') diff --git a/config/snort/snort_interfaces.php b/config/snort/snort_interfaces.php index 4f7eaebf..ad492df2 100755 --- a/config/snort/snort_interfaces.php +++ b/config/snort/snort_interfaces.php @@ -194,25 +194,26 @@ if ($pfsense_stable == 'yes') ?> - - -
- -
-
- + + + + + - - - + + - - - - - - - - + + - - - - - -
+
+ @@ -226,82 +227,82 @@ if ($pfsense_stable == 'yes') + src="../themes//images/icons/icon_plus.gif" + width="17" height="17" border="0" title="">
 
+ /* See if interface has any rules defined and set boolean flag */ + $no_rules = true; + if (isset($natent['customrules']) && !empty($natent['customrules'])) + $no_rules = false; + if (isset($natent['rulesets']) && !empty($natent['rulesets'])) + $no_rules = false; + if (isset($natent['ips_policy']) && !empty($natent['ips_policy'])) + $no_rules = false; + /* Do not display the "no rules" warning if interface disabled */ + if ($natent['enable'] == "off") + $no_rules = false; + if ($no_rules) + $no_rules_footnote = true; + ?> + - + } else echo strtoupper("disabled"); ?> - + $check_performance = "lowmem"; } ?> - + $check_blockoffenders = disabled; } ?> - + } else echo strtoupper("disabled"); ?> - +   - +
-
-
-    -   - -
- - - - -
- - " - onclick="return intf_del()"> -
-
-
-
- -
- - - +
- + + + + + + + + + + + - + + + +
+
+    +   + +
+ + + + +
+ + " + onclick="return intf_del()"> +
+
 
  + - - - - - - - - - -

+

" . gettext("Snort Menu ") . "" . gettext("where you can see an overview of all your interface settings."); if (empty($a_nat)) { @@ -419,26 +416,26 @@ foreach ($a_nat as $natent): ?>

+


+


+

Click on the Click on the "> icon to add an interface.   +   "> "> icons will show current @@ -446,23 +443,28 @@ foreach ($a_nat as $natent): ?>
Click on the Click on the "> icon to edit an interface and settings.   Click on the status icons to toggle snort and barnyard2 status. + Click on the status icons to toggle snort and barnyard2 status.
Click on the Click on the "> icon to delete an interface and settings.
-
 
+ +
-- cgit v1.2.3