Login box style refresh
[squasher.git] / templates / login.tpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5 <link rel=stylesheet href="css/squasher.css">
6 <title>Squasher</title>
7 <script type="text/javascript" src="js/md5.js"></script>
8 <script language="javascript">
9 function hasher(){ldelim}
10         var salt = '{$salt|escape:'quotes'}';
11         document.loginform.pass.value=hex_md5(hex_md5(document.loginform.pass.value)+salt);
12 {rdelim}
13 </script>
14 <body>
15 <div class="wrappercontainer" style="text-align:center;">
16
17         <div class="banner">&nbsp;</div>
18
19         <div class="content login">
20         <form name="loginform" onSubmit="hasher();" method="post">
21                 <table align=center>
22                 <tr>
23                         <td>Username :
24                         <td><input name="user" type=text value="">
25                 <tr>
26                         <td>Password :
27                         <td><input name="pass" type=password value="">
28                 </table>
29                 <button class="submit" type=submit>Sign in</button>
30         </form>
31         </div>
32
33         <div class="footer">&nbsp;</div>
34
35 </div>
36 {if $debug}{debug}{/if}
37 </body>
38 </html>