layout updates

git-svn-id: http://www.observium.org/svn/observer/trunk@2417 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-09-05 01:32:16 +00:00
parent 0915ea5219
commit 66678a4600
4 changed files with 117 additions and 41 deletions

View File

@@ -1,8 +1,14 @@
<div id="top" style="background: <?php echo($config['header_color']); ?>;">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left"></td>
<td align="right">
<div id="gumax-header">
<div id="gumax-p-logo">
<div id="p-logo">
<a style="background-image: url('images/observium-logo.png');" accesskey="z"></a>
</div>
<script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
</div>
<!-- end of gumax-p-logo -->
<!-- Login Tools -->
<div id="gumax-p-login">
<?php
if($_SESSION['widescreen'] === 1){
@@ -23,27 +29,21 @@ if ($_SESSION['authenticated'])
if (Net_IPv6::checkIPv6($_SERVER['REMOTE_ADDR'])) { echo(" via <b>IPv6</b>"); } else { echo(" via <b>IPv4</b>"); }
?>
</td>
</tr>
</table>
</div>
<div id="header" style="border: 1px none #ccf;">
<table width="100%" style="padding: 0px; margin:0px;">
<tr>
<td style="padding: 0px; margin:0px; border: none;">
<div id="logo" style="padding: 10px"><a href="index.php"><img src="<?php echo($config['title_image']); ?>" alt="Logo" border="0" /></a></div>
</td>
<td align="right" style="margin-right: 10px;">
<div id="topnav" style="float: right;">
</div>
<div style="float: right;">
<?php
if (isset($_SESSION['authenticated']) && $_SESSION['authenticated'])
{
include("includes/topnav.inc.php");
}
?>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
<!-- ///// end of gumax-header ///// -->

View File

@@ -46,10 +46,10 @@ if ($services['down']) { $services['bgcolour'] = "#ffcccc"; } else { $services['
?>
<table cellpadding="2" cellspacing="0" border="0">
<table cellpadding="1" cellspacing="0" border="0" width=400>
<tr style="background-color: <?php echo($devices[bgcolour]); ?>">
<td width="5"></td>
<td>Devices : </td>
<td><strong>Devices</strong></td>
<td><?php echo($devices['count']) ?></td>
<td> ( </td>
<td style="text-align: right"><span class="green"> <?php echo($devices['up']) ?> up</span></td>
@@ -60,7 +60,8 @@ if ($services['down']) { $services['bgcolour'] = "#ffcccc"; } else { $services['
<td width="5"></td>
</tr>
<tr style="background-color: <?php echo($ports['bgcolour']) ?>">
<td width="5"></td><td>Ports : </td>
<td width="5"></td>
<td><strong>Ports</strong></td>
<td><?php echo($ports['count']) ?></td>
<td> ( </td>
<td style="text-align: right"><span class="green"> <?php echo($ports['up']) ?> up </span></td>
@@ -73,7 +74,7 @@ if ($services['down']) { $services['bgcolour'] = "#ffcccc"; } else { $services['
<?php if ($config['show_services']) { ?>
<tr style="background-color: <?php echo($services['bgcolour']) ?>">
<td width="5"></td>
<td>Services : </td>
<td><strong>Services</strong></td>
<td><?php echo($services['count']) ?></td>
<td> ( </td>
<td style="text-align: right"><span class="green"><?php echo($services['up']) ?> up</span></td>