summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-01 21:49:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-01 21:49:06 +0000
commit7f1f5492725fab70058988298f2c217cbf936cb2 (patch)
tree9e6ec02af19499221b112aed0a5bc2ca0a1860e6 /usr
parent07e0a90cd1459ea9186b508aeac236697e5a1699 (diff)
downloadpfsense-7f1f5492725fab70058988298f2c217cbf936cb2.zip
pfsense-7f1f5492725fab70058988298f2c217cbf936cb2.tar.gz
Add rounded corner support
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/head.inc8
-rwxr-xr-xusr/local/www/index.php21
2 files changed, 22 insertions, 7 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc
new file mode 100755
index 0000000..f8b515b
--- /dev/null
+++ b/usr/local/www/head.inc
@@ -0,0 +1,8 @@
+<head>
+ <title><?=gentitle($pgtitle);?></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <link href="gui.css" rel="stylesheet" type="text/css">
+ <link rel="stylesheet" type="text/css" href="niftyCorners.css">
+ <link rel="stylesheet" type="text/css" href="niftyPrint.css" media="print">
+ <script type="text/javascript" src="nifty.js"></script>
+</head> \ No newline at end of file
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index d680bdb..4891691 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -49,18 +49,14 @@ if(file_exists("/needs_package_sync")) {
}
}
-if(file_exists("/usr/local/www/trigger_initial_wizard")) {
+if(file_exists("/trigger_initial_wizard")) {
conf_mount_rw();
- unlink("/usr/local/www/trigger_initial_wizard");
+ unlink("/trigger_initial_wizard");
conf_mount_ro();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
-<head>
-<title><?=gentitle("pfSense webGUI");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
+<?php include("head.inc"); ?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<form>
<?php
@@ -159,6 +155,7 @@ function get_pfstate() {
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<form>
<?php include("fbegin.inc"); ?>
+ <div id="nifty">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center" valign="top">
<td height="10" colspan="2">&nbsp;</td>
@@ -318,8 +315,18 @@ echo $diskusage . "%";
</table>
+ </div>
<?php include("fend.inc"); ?>
+
+<script type="text/javascript">
+window.onload=function(){
+if(!NiftyCheck())
+ return;
+Rounded("div#nifty","all","#FFF","#D4DDFF","smooth");
+}
+</script>
</form>
+
</body>
</html>
<?php
OpenPOWER on IntegriCloud