diff options
-rwxr-xr-x | usr/local/www/head.inc | 8 | ||||
-rwxr-xr-x | usr/local/www/index.php | 21 |
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"> </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 |