remove yellow shade around logon window

git-svn-id: http://www.observium.org/svn/observer/trunk@635 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-01-09 12:46:20 +00:00
parent ab71b5d503
commit 1d0d355133
2 changed files with 6 additions and 19 deletions

View File

@@ -26,9 +26,9 @@ function generate_port_thumbnail($args) {
echo $output; echo $output;
} }
function print_optionbar_start ($height = 20) { function print_optionbar_start ($height = 20, $width = 0) {
echo(" echo("
<div style='margin:auto; text-align: center; margin-top: 0px; margin-bottom: 10px;'> <div style='margin:auto; text-align: center; margin-top: 0px; margin-bottom: 10px; " . ($width ? 'max-width: ' . $width . 'px; ' : '') . "'>
<b class='rounded'> <b class='rounded'>
<b class='rounded1'><b></b></b> <b class='rounded1'><b></b></b>
<b class='rounded2'><b></b></b> <b class='rounded2'><b></b></b>

View File

@@ -1,11 +1,4 @@
<div style="margin:auto; text-align: center; margin-top: 20px; max-width:420px"> <?php print_optionbar_start(175,420); ?>
<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-left:10px;">
<div style="margin: auto; width:350px; padding:5px;"> <div style="margin: auto; width:350px; padding:5px;">
<table border="0" cellpadding="0" cellspacing="0"> <table border="0" cellpadding="0" cellspacing="0">
<tr> <tr>
@@ -39,16 +32,10 @@ if($auth_message) {
</tr> </tr>
</table> </table>
</div> </div>
</div>
<b class='rounded'>
<b class='rounded5'></b>
<b class='unded4'></b>
<b class='rounded3'></b>
<b class='rounded2'></b>
<b class='rounded1'></b></b>
</div>
<?php <?php
print_optionbar_end();
if($config['login_message']) { if($config['login_message']) {
echo('<div style="margin: auto; margin-top: 10px;text-align: center; font-weight: bold; color: #cc0000; width: 470px;">'.$config['login_message'].'</div>'); echo('<div style="margin: auto; margin-top: 10px;text-align: center; font-weight: bold; color: #cc0000; width: 470px;">'.$config['login_message'].'</div>');
} }