From a8726a3df49b8337744ce4b69bd868de5c51c9bc Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 2 Jul 2005 00:51:35 +0000 Subject: * Introduce new function helper for creating smooth tab headers * Conver firewall -> areas over --- usr/local/www/firewall_nat.php | 32 +++++++++++++++++--------------- usr/local/www/firewall_nat_1to1.php | 16 +++++++++------- usr/local/www/firewall_nat_out.php | 16 +++++++++------- usr/local/www/firewall_nat_server.php | 16 +++++++++------- usr/local/www/gui.css | 17 +++++++++++++++++ usr/local/www/head.inc | 2 +- usr/local/www/index.php | 29 ++++++++--------------------- 7 files changed, 70 insertions(+), 58 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index d6b5d2e..2c9e4cb 100755 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -128,13 +128,8 @@ if (isset($_POST['del_x'])) { ?> - -<?=gentitle("Firewall: NAT: Inbound");?> - - - - - + +

Firewall: NAT: Inbound

@@ -145,16 +140,19 @@ if (isset($_POST['del_x'])) { You must apply the changes in order for them to take effect.");?>

+
+ +
- -
@@ -245,6 +243,7 @@ if (isset($_POST['del_x'])) { network).

+ "") { @@ -254,5 +253,8 @@ if ($pkg['tabs'] <> "") { + + + diff --git a/usr/local/www/firewall_nat_1to1.php b/usr/local/www/firewall_nat_1to1.php index 982f055..5690b7e 100755 --- a/usr/local/www/firewall_nat_1to1.php +++ b/usr/local/www/firewall_nat_1to1.php @@ -88,13 +88,15 @@ if ($_GET['act'] == "del") {

- +
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 1075351..1cb6a13 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -193,13 +193,15 @@ if (isset($_POST['del_x'])) {

- +
diff --git a/usr/local/www/firewall_nat_server.php b/usr/local/www/firewall_nat_server.php index 628ef79..585c34f 100755 --- a/usr/local/www/firewall_nat_server.php +++ b/usr/local/www/firewall_nat_server.php @@ -101,13 +101,15 @@ if ($_GET['act'] == "del") {

- +
diff --git a/usr/local/www/gui.css b/usr/local/www/gui.css index 0289fa8..dde9565 100755 --- a/usr/local/www/gui.css +++ b/usr/local/www/gui.css @@ -312,10 +312,27 @@ ul#tabnav li.tabact { padding: 5px 8px 5px 8px; white-space: nowrap; } +.tabact { + float: left; + background-color: #EEEEEE; + color: #000000; + padding: 5px 8px 5px 8px; + white-space: nowrap; +} .tabcont { background-color: #EEEEEE; padding-right: 12px; padding-left: 12px; padding-top: 12px; padding-bottom: 12px; + font-weight: bold; +} +.tabinact { + font-weight: bold; + float: left; + border-left: 1px solid #999999; + background-color: #777777; + color: #FFFFFF; + padding: 0; + white-space: nowrap; } diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index 9efd55d..7fe70b7 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -3,8 +3,8 @@ <?=gentitle($pgtitle);?> - + diff --git a/usr/local/www/index.php b/usr/local/www/index.php index 7cc3f8c..91d247d 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -140,28 +140,18 @@ function get_pfstate() { return $curentries . $maxstates; } -?> - - - -<?=gentitle("pfSense webGUI");?> - - - +$pgtitle = "pfSense webGUI"; +/* include header and other code */ +include("head.inc"); +?>
+
- - - - - - - - +
 
 
@@ -317,11 +307,8 @@ echo $diskusage . "%"; -- cgit v1.1
System information