SAuth/views/login.tpl

45 lines
1.0 KiB
Smarty

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<style>
div {
color: #777;
margin: auto;
width: 20em;
text-align: center;
}
div#hbox {width: 100%;}
div#hbox div.box {float: center; width: 33%;}
p.error {width:100%; background-color:#ffb3b3;}
input {
background: #f8f8f8;
border: 1px solid #777;
margin: auto;
}
input:hover { background: #fefefe}
</style>
</head>
<body>
<div id="hbox">
<div class="box">
<h2>Login</h2>
<p>Please insert your credentials:</p>
%if error:
<p class="error">Incorrect username/password.</p>
%end
<form action="login" method="post" name="login">
<p>Username : <input type="text" name="username" /></p>
<p>Password : <input type="password" name="password" /></p>
<br/><br/>
<button type="submit"> OK </button>
</form>
<br />
</div>
<br style="clear: left;" />
</div>
</body>
</html>