Tom Laermans 74faf8932c html cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@626 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-09 00:17:02 +00:00

60 lines
2.0 KiB
PHP

<div style="margin:auto; text-align: center; margin-top: 20px; max-width:420px">
<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;">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width=128><img src="images/password.png"></td>
<td>
<form action="<?php echo $_SERVER['REQUEST_URI'] ?>" method="post" name="logonform">
<h3>Please log in:</h3>
<div style="height: 0px;"></div>
<table border="0" align="left">
<tr>
<td>Username</td>
<td><input type="text" name="username"></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password"></td>
</tr>
<tr>
<td colspan="2" align="right"><input type="checkbox" name="remember">
<font size="2">Remember Me</td>
<tr>
<td colspan=2 align="right"><input name="submit" type="submit" value="Login"></td>
</tr>
<?php
if($auth_message) {
echo('<tr><td colspan="2" style="font-weight: bold; color: #cc0000;">' . $auth_message . '</td></tr>');
}
?>
</table>
</form></td>
</tr>
</table>
</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
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>');
}
?>
<script type="text/javascript">
<!--
document.logonform.username.focus();
// -->
</script>