Files
librenms-librenms/html/pages/logon.inc.php
T

51 lines
1.6 KiB
PHP
Raw Normal View History

2010-06-15 21:12:51 +00:00
<div style="width: 470px; margin: auto; margin-top: 30px;">
2010-10-23 17:01:19 +00:00
<div style="margin: auto; width:650px; padding:5px;">
2010-01-09 21:47:08 +00:00
<table border="0" cellpadding="0" cellspacing="0">
2010-01-03 20:13:10 +00:00
<tr>
2010-10-23 17:01:19 +00:00
<td><img src="images/login-hamster.png" alt="Login required" /></td>
2010-01-03 20:13:10 +00:00
<td>
2011-04-22 21:01:39 +00:00
<form action="" method="post" name="logonform">
2010-01-03 20:13:10 +00:00
<h3>Please log in:</h3>
<div style="height: 0px;"></div>
<table border="0" align="left">
<tr>
<td>Username</td>
2010-01-09 21:47:08 +00:00
<td><input type="text" name="username" /></td>
2010-01-03 20:13:10 +00:00
</tr>
<tr>
<td>Password</td>
2010-01-09 21:47:08 +00:00
<td><input type="password" name="password" /></td>
2010-01-03 20:13:10 +00:00
</tr>
<tr>
2010-01-09 21:47:08 +00:00
<td colspan="2" align="right"><input type="checkbox" name="remember" />
<font size="2">Remember Me</font></td>
</tr>
2010-01-03 20:13:10 +00:00
<tr>
<td colspan="2" align="right"><input class="submit" name="submit" type="submit" value="Login" /></td>
2010-01-03 20:13:10 +00:00
</tr>
<?php
if (isset($auth_message))
{
2010-01-03 20:13:10 +00:00
echo('<tr><td colspan="2" style="font-weight: bold; color: #cc0000;">' . $auth_message . '</td></tr>');
}
?>
</table>
2010-01-09 21:47:08 +00:00
</form>
</td>
2010-01-03 20:13:10 +00:00
</tr>
</table>
<?php
if (isset($config['login_message']))
{
2010-06-15 21:12:51 +00:00
echo('<div style="margin-top: 10px;text-align: center; font-weight: bold; color: #cc0000; width: 470px;">'.$config['login_message'].'</div>');
2010-01-03 20:13:10 +00:00
}
?>
<script type="text/javascript">
<!--
document.logonform.username.focus();
// -->
</script>
2010-06-13 19:48:40 +00:00
2010-06-15 21:12:51 +00:00
</div>
2010-06-13 19:48:40 +00:00
</div>