Moved style to a css file
[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}';
11         document.loginform.pass.value=hex_md5(hex_md5(document.loginform.pass.value)+salt);
12 {rdelim}
13 </script>
14 <body align="center" style="min-width:400px;min-height:300px;" class=loginbody>
15 <div class="wrapper">
16 <div class="container">
17
18         <div class="loginheader">&nbsp;</div>
19
20         <div class="login">
21         <form name="loginform" onSubmit="hasher();" method="post">
22                 <div class="username">--username--<br/><input name="user" type=text value=""/></div>
23                 <div class="password">--password--<br/><input name="pass" type=password value=""/></div>
24                 <div class="fsubmit"><button class="submit" type=submit>login</button></a></div>
25         </form>
26         </div>
27
28         <div class="loginfooter">&nbsp;</div>
29
30 </div>
31 </div>
32 {if $debug}{debug}{/if}
33 </body>
34 </html>