Back the login to html if no javascript

This commit is contained in:
Las Zenow 2013-09-03 14:02:54 +02:00
parent 7410ae7942
commit 7f1b99364c
5 changed files with 47 additions and 17 deletions

16
templates/login.html Normal file
View file

@ -0,0 +1,16 @@
{{template "header.html" .S}}
<h3>Log In</h3>
<form id="login" method="POST" action="/login/" enctype="application/x-www-form-urlencoded">
<div class="input-prepend">
<div class="add-on"><i class="icon-user"></i></div>
<input type="text" placeholder="Username" size="16" name="user" autofocus="autofocus">
</div>
<div class="input-prepend">
<div class="add-on"><i class="icon-lock"></i></div>
<input type="password" placeholder="Password" size="16" name="pass">
</div>
<input class="btn btn-primary" type="submit" name="submit" value="Log In"/>
</form>
{{template "footer.html"}}