html cleanups

git-svn-id: http://www.observium.org/svn/observer/trunk@626 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-01-09 00:17:02 +00:00
parent 7a24176508
commit 74faf8932c
21 changed files with 108 additions and 113 deletions
+4 -4
View File
@@ -2,8 +2,8 @@
echo("<div style='margin:auto; text-align: center; margin-top: 20px; max-width:420px'>
<b class='rounded'>
<b class='rounded1'><b></b></b>
<b class='rounded2'><b></b></b>
<b class='rounded1'></b>
<b class='rounded2'></b>
<b class='rounded3'></b>
<b class='rounded4'></b>
<b class='rounded5'></b></b>
@@ -25,8 +25,8 @@ echo("<div style='margin:auto; text-align: center; margin-top: 20px; max-width:4
<b class='rounded5'></b>
<b class='unded4'></b>
<b class='rounded3'></b>
<b class='rounded2'><b></b></b>
<b class='rounded1'><b></b></b></b>
<b class='rounded2'></b>
<b class='rounded1'></b></b>
</div>");
?>
+25 -30
View File
@@ -49,39 +49,34 @@ if($services['down']) { $services['bgcolour'] = "#ffcccc"; } else { $services['b
?>
<table cellpadding=2 cellspacing=0 border=0>
<?php
echo("<tr bgcolor=$devices[bgcolour]><td width=5></td>
<table cellpadding="2" cellspacing="0" border="0">
<tr bgcolor="<?php echo $devices[bgcolour] ?>"><td width="5"></td>
<td>Devices :
</td><td>$devices[count]
</td><td> ( <span class=green>$devices[up] up</span>
</td><td><span class=red> $devices[down] down</span>
</td><td><span class=black> $devices[ignored] ignored</span>
</td><td><span class=grey> $devices[disabled] disabled</span> )
</td><td><?php echo $devices['count'] ?>
</td><td> ( <span class=green> <?php echo $devices['up'] ?> up</span>
</td><td><span class="red"> <?php echo $devices['down'] ?> down</span>
</td><td><span class="black"> <?php echo $devices['ignored'] ?> ignored</span>
</td><td><span class="grey"> <?php echo $devices['disabled'] ?> disabled</span> )
</td><td width=5></td>");
echo("</tr><tr bgcolor=$interfaces[bgcolour]>");
echo("<td width=5></td><td>Interfaces :
</td><td>$interfaces[count]
</td><td> ( <span class=green> $interfaces[up] up </span>
</td><td><span class=red> $interfaces[down] down </span>
</td><td><span class=black> $interfaces[ignored] ignored </span>
</td><td><span class=grey> $interfaces[shutdown] shutdown</span> )
</td><td width=5></td>");
echo("</tr><tr bgcolor=$services[bgcolour]>");
echo("<td width=5></td><td>Services :
</td><td>$services[count]
</td><td> ( <span class=green>$services[up] up</span>
</td><td><span class=red> $services[down] down</span>
</td><td><span class=black> $services[ignored] ignored</span>
</td><td><span class=grey> $services[disabled] disabled</span> )
</td><td width=5></td>");
echo("</tr>");
?>
</td><td width=5></td>
</tr><tr bgcolor="<?php echo $interfaces['bgcolour'] ?>">
<td width="5"></td><td>Interfaces :
</td><td><?php echo $interfaces['count'] ?>
</td><td> ( <span class=green> <?php echo $interfaces['up'] ?> up </span>
</td><td><span class="red"> <?php echo $interfaces['down'] ?> down </span>
</td><td><span class="black"> <?php echo $interfaces['ignored'] ?> ignored </span>
</td><td><span class="grey"> <?php echo $interfaces['shutdown'] ?> shutdown</span> )
</td><td width=5></td>
</tr><tr bgcolor="<?php echo $services['bgcolour'] ?>">
<td width="5"></td><td>Services :
</td><td><?php echo $services['count'] ?>
</td><td> ( <span class=green><?php echo $services['up'] ?> up</span>
</td><td><span class="red"> <?php echo $services['down'] ?> down</span>
</td><td><span class="black"> <?php echo $services['ignored'] ?> ignored</span>
</td><td><span class="grey"> <?php echo $services['disabled'] ?> disabled</span> )
</td><td width="5"></td>
</tr>
</td>
</tr>
<tr>
<td align=left>
</td>
</tr>
</table>