diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_logs.php | 42 | ||||
-rwxr-xr-x | usr/local/www/diag_logs_ipsec.php | 44 | ||||
-rwxr-xr-x | usr/local/www/diag_logs_settings.php | 1 | ||||
-rw-r--r-- | usr/local/www/themes/metallic/all.css | 5 |
4 files changed, 52 insertions, 40 deletions
diff --git a/usr/local/www/diag_logs.php b/usr/local/www/diag_logs.php index f1e93f5..4dabe48 100755 --- a/usr/local/www/diag_logs.php +++ b/usr/local/www/diag_logs.php @@ -53,7 +53,8 @@ include("head.inc"); <?php include("fbegin.inc"); ?> <p class="pgtitle"><?=$pgtitle?></p> <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <tr><td> + <tr> + <td> <?php $tab_array = array(); $tab_array[0] = array("System", true, "diag_logs.php"); @@ -65,23 +66,28 @@ include("head.inc"); $tab_array[6] = array("Settings", false, "diag_logs_settings.php"); display_top_tabs($tab_array); ?> - </td></tr> - <tr> - <td> - <div id="mainarea"> - <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td colspan="2" class="listtopic"> - Last <?=$nentries;?> system log entries</td> - </tr> - <?php dump_clog($system_logfile, $nentries); ?> - <tr><td><br><form action="diag_logs.php" method="post"> -<input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr> -</form> - </table> - </div> - </td> - </tr> + </td> + </tr> + <tr> + <td> + <div id="mainarea"> + <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td colspan="2" class="listtopic">Last <?=$nentries;?> system log entries</td> + </tr> + <?php dump_clog($system_logfile, $nentries); ?> + <tr> + <td> + <br> + <form action="diag_logs.php" method="post"> + <input name="clear" type="submit" class="formbtn" value="Clear log"> + </form> + </td> + </tr> + </table> + </div> + </td> + </tr> </table> <?php include("fend.inc"); ?> </body> diff --git a/usr/local/www/diag_logs_ipsec.php b/usr/local/www/diag_logs_ipsec.php index 045a4a2..62036cb 100755 --- a/usr/local/www/diag_logs_ipsec.php +++ b/usr/local/www/diag_logs_ipsec.php @@ -52,7 +52,8 @@ include("head.inc"); <?php include("fbegin.inc"); ?> <p class="pgtitle"><?=$pgtitle?></p> <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <tr><td> + <tr> + <td> <?php $tab_array = array(); $tab_array[0] = array("System", false, "diag_logs.php"); @@ -64,25 +65,30 @@ include("head.inc"); $tab_array[6] = array("Settings", false, "diag_logs_settings.php"); display_top_tabs($tab_array); ?> - </td></tr> - <tr> - <td> - <div id="mainarea"> - <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td colspan="2" class="listtopic"> - Last <?=$nentries;?> IPSEC log entries</td> - </tr> - <tr><td><?php dump_clog($ipsec_logfile, $nentries, true, array("racoon")); ?> - <tr><td><br><form action="diag_logs.php" method="post"> -<input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr> - </table> - </div> -</form> - </td> - </tr> + </td> + </tr> + <tr> + <td> + <div id="mainarea"> + <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td colspan="2" class="listtopic">Last <?=$nentries;?> IPSEC log entries</td> + </tr> + <?php dump_clog($ipsec_logfile, $nentries, true, array("racoon")); ?> + <tr> + <td> + <br> + <form action="diag_logs.php" method="post"> + <input name="clear" type="submit" class="formbtn" value="Clear log"> + </form> + </td> + </tr> + </table> + </div> + </td> + </tr> </table> -</div> + <?php include("fend.inc"); ?> <script type="text/javascript"> NiftyCheck(); diff --git a/usr/local/www/diag_logs_settings.php b/usr/local/www/diag_logs_settings.php index bce8202..7e271e0 100755 --- a/usr/local/www/diag_logs_settings.php +++ b/usr/local/www/diag_logs_settings.php @@ -209,7 +209,6 @@ function enable_change(enable_over) { </td> </tr> </table> -</div> </form> <script language="JavaScript"> <!-- diff --git a/usr/local/www/themes/metallic/all.css b/usr/local/www/themes/metallic/all.css index e25489f..502beca 100644 --- a/usr/local/www/themes/metallic/all.css +++ b/usr/local/www/themes/metallic/all.css @@ -106,7 +106,8 @@ form input { padding-top: 5px; padding-left: 10px; padding-right: 10px; - padding-bottom: 20px + padding-bottom: 20px; + min-height: 400px; } #footer { @@ -114,7 +115,7 @@ form input { background: url('images/footer.gif') no-repeat; top: -18px; left: 5px; - width: 805px; + width: 800px; height: 75px; color: #ffffff; text-align: center;; |