prettyifying some things, fixing yellow border on vrf page boxes

git-svn-id: http://www.observium.org/svn/observer/trunk@772 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-02-06 00:51:49 +00:00
parent 615ca1d5f6
commit f442cf97f6
6 changed files with 26 additions and 38 deletions

View File

@@ -1,3 +1,23 @@
.submit {
background-image:url('/images/submitbg.png');
background-position:0 100%;
}
input,select {
padding:2px 5px;
background:#FFFFFF url('/images/textbg.png') repeat-x scroll 0 0;
font-size:1em;
wwidth:92%;
border:1px solid #B2B2B2
bbackground-color:cornsilk;
border:1px solid #B2B2B2;
bborder-color:#B2B2B2 #000000 #000000 #B2B2B2;
border-style:solid;
border-width:1px;
font-family:'Trebuchet MS','Lucida Grande',Verdana,Arial,sans-serif;
margin:1px;
padding:1px;
}
.rounded{display:block}
.rounded *{
display:block;

BIN
html/images/submitbg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 B

BIN
html/images/textbg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -1,30 +1,15 @@
<?php
print_optionbar_start();
echo("
<div style='margin:auto; text-align: center; margin-top: 0px; margin-bottom: 10px;'>
<b class='rounded'>
<b class='rounded1'></b>
<b class='rounded2'></b>
<b class='rounded3'></b>
<b class='rounded4'></b>
<b class='rounded5'></b></b>
<div class='roundedfg' style='padding: 0px 5px;'>
<div style='margin: auto; text-align: left; padding: 2px 5px; padding-left: 11px; clear: both; display:block; height:20px;'>
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vrfs/'>Basic</a> | Graphs :
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vrfs/bits/'>Bits</a> |
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vrfs/pkts/'>Packets</a> |
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vrfs/nupkts/'>NU Packets</a> |
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/vrfs/errors/'>Errors</a>
</div>
</div>
<b class='rounded'>
<b class='rounded5'></b>
<b class='rounded4'></b>
<b class='rounded3'></b>
<b class='rounded2'></b>
<b class='rounded1'></b></b>
</div>
");
print_optionbar_end();
echo("<div style='margin: 5px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>");

View File

@@ -88,7 +88,7 @@
}
?>
</select>
<input type=submit value=Search>
<input class=submit type=submit value=Search>
</td>
<td width=10>
</td>

View File

@@ -1,32 +1,15 @@
<?php
if($_SESSION['userlevel'] >= '5') {
print_optionbar_start();
echo("
<div style='margin:auto; text-align: center; margin-top: 0px; margin-bottom: 10px;'>
<b class='rounded'>
<b class='rounded1'></b>
<b class='rounded2'></b>
<b class='rounded3'></b>
<b class='rounded4'></b>
<b class='rounded5'></b></b>
<div class='roundedfg' style='padding: 0px 5px;'>
<div style='margin: auto; text-align: left; padding: 2px 5px; padding-left: 11px; clear: both; display:block; height:20px;'>
<a href='".$config['base_url']. "/vrfs/'>Basic</a> | Graphs :
<a href='".$config['base_url']. "/vrfs/bits/'>Bits</a> |
<a href='".$config['base_url']. "/vrfs/pkts/'>Packets</a> |
<a href='".$config['base_url']. "/vrfs/nupkts/'>NU Packets</a> |
<a href='".$config['base_url']. "/vrfs/errors/'>Errors</a>
</div>
</div>
<b class='rounded'>
<b class='rounded5'></b>
<b class='rounded4'></b>
<b class='rounded3'></b>
<b class='rounded2'></b>
<b class='rounded1'></b></b>
</div>
");
print_optionbar_end();
echo("<div style='margin: 5px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>");