librenms/html/pages/logon.inc
Adam Amstrong 04060b965d updates
git-svn-id: http://www.observium.org/svn/observer/trunk@443 61d68cd4-352d-0410-923a-c4978735b2b8
2009-08-07 11:53:10 +00:00

60 lines
1.8 KiB
PHP

<?php
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='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='". $_SERVER['REQUEST_URI'] ."' method=post>
<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>");
if($auth_message) {
echo("<tr><td colspan=2><span style='font-weight: bold; color: #cc0000;'>$auth_message</span></td></tr>");
}
echo(" </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></b>
<b class='rounded1'><b></b></b></b>
</div>");
if($config['login_message']) {
echo("<div style='margin: auto; text-align: center; font-weight: bold; color: #cc0000; width: 470px;'>".$config['login_message']."</div>");
}
?>