summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-02 01:49:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-02 01:49:41 +0000
commit0366b748feb91380ec874f7bf2ed64c250c9c2c9 (patch)
tree932086ca1103917d41173da8f966c587779499a4 /usr
parent6eb1764727c45ad387f0409354bfa3345bc6b2d9 (diff)
downloadpfsense-0366b748feb91380ec874f7bf2ed64c250c9c2c9.zip
pfsense-0366b748feb91380ec874f7bf2ed64c250c9c2c9.tar.gz
Add rounded tabs to add. Fix bottom rounded area.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/fbegin.inc2
-rwxr-xr-xusr/local/www/fend.inc2
-rwxr-xr-xusr/local/www/firewall_rules.php29
-rwxr-xr-xusr/local/www/gui.css14
-rwxr-xr-xusr/local/www/index.php6
5 files changed, 34 insertions, 19 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc
index 5eddf59..2dde58e 100755
--- a/usr/local/www/fbegin.inc
+++ b/usr/local/www/fbegin.inc
@@ -61,7 +61,7 @@ function showhide_black(tspan, tri) {
}
-->
</script>
-<div id="niftyOutter">
+<div id="niftyOutter" style="width:750">
<table width="750" border="0" cellspacing="0" cellpadding="2">
<tr valign="bottom">
<td width="150" height="65" align="center" valign="middle"> <strong><a href="/"><img src="/logo.gif" border="0"></a></strong></td>
diff --git a/usr/local/www/fend.inc b/usr/local/www/fend.inc
index 0e9a167..ff44f61 100755
--- a/usr/local/www/fend.inc
+++ b/usr/local/www/fend.inc
@@ -2,7 +2,7 @@
</tr>
<tr align="center" valign="top" bgcolor="#990000">
<td id="red" name="testing" colspan="2" class="cpline"><a target="_NEW" href="http://www.pfSense.com">pfSense</a> is &copy; 2004-2005 by Scott Ullrich. All Rights Reserved.
-<br>pfSense is originally based on m0n0wall which is &copy; 2002-2004 by Manuel Kasper.
+ <br>pfSense is originally based on m0n0wall which is &copy; 2002-2004 by Manuel Kasper.
All rights reserved.&nbsp; [<a href="/license.php" class="tblnk">view license</a>]</td>
</tr>
</table>
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index bf9dbda..fb3abc9 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -165,15 +165,28 @@ if (isset($_POST['del_x'])) {
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
+
+
+
+ $tab_array = array();
+ $tab_array[0] = array("Inbound", true, "firewall_nat.php");
+ $tab_array[1] = array("Server NAT", false, "firewall_nat_server.php");
+ display_top_tabs($tab_array);
+
+
<ul id="tabnav">
-<?php $i = 0; foreach ($iflist as $ifent => $ifname):
- if ($ifent == $if): ?>
- <li class="tabact"><?=htmlspecialchars($ifname);?></li>
-<?php else: ?>
- <li class="<?php if ($i == 0) echo "tabinact1"; else echo "tabinact";?>"><a href="firewall_rules.php?if=<?=$ifent;?>"><?=htmlspecialchars($ifname);?></a></li>
-<?php endif; ?>
-<?php $i++; endforeach; ?>
- </ul>
+ <?php
+ /* active tabs */
+ $tab_array = array();
+ $tabscounter = 0; $i = 0; foreach ($iflist as $ifent => $ifname) {
+ if ($ifent == $if)
+ $active = true;
+ else
+ $active = false;
+ $tab_array[] = array($ifname, $active, "firewall_rules.php?if={$ifent}");
+ }
+ display_top_tabs($tab_array);
+ ?>
</td></tr>
<tr>
<td class="tabcont">
diff --git a/usr/local/www/gui.css b/usr/local/www/gui.css
index dde9565..c5dda2b 100755
--- a/usr/local/www/gui.css
+++ b/usr/local/www/gui.css
@@ -312,13 +312,6 @@ 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;
@@ -327,6 +320,13 @@ ul#tabnav li.tabact {
padding-bottom: 12px;
font-weight: bold;
}
+.tabact {
+ float: left;
+ background-color: #EEEEEE;
+ color: #000000;
+ padding: 5px 8px 5px 8px;
+ white-space: nowrap;
+}
.tabinact {
font-weight: bold;
float: left;
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 91d247d..d66d1f4 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -53,8 +53,10 @@ if(file_exists("/trigger_initial_wizard")) {
conf_mount_rw();
unlink("/trigger_initial_wizard");
conf_mount_ro();
+
+include("head.inc");
+
?>
-<?php include("head.inc"); ?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<form>
<?php
@@ -150,7 +152,7 @@ include("head.inc");
<form>
<?php include("fbegin.inc"); ?>
<center><img src="logobig.jpg"></center>
- <div id="nifty">
+ <div id="niftyOutter" width="650">
<table bgcolor="#990000" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" class="listtopic">System information</td>
OpenPOWER on IntegriCloud