Files
brewman/brewman/brewman/static/partial/login.html
T
Tanshu 71c30ca04c Auth worked into Angular services.
Removed the templates of the nav bar and integrated into the base page
Removed helper module
Fixed auth model for wrong username.
Updated to anuglar 1.0.2
Closing stock with resolve.
Login with controller
2012-10-25 15:41:33 +05:30

32 lines
1.1 KiB
HTML

<div class="row">
<h2>Login</h2>
<form action="/login" method="post" autocomplete="off" class="form-horizontal">
<!--${h.HiddenInput('came_from', value=came_from)}-->
<div class="control-group">
<label class="control-label" for="username">Username</label>
<div class="controls">
<input type="text" name="username" id="username" required placeholder="Username"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="password">Password</label>
<div class="controls">
<input type="password" name="password" id="password" required placeholder="Password"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="forgot"></label>
<div class="controls">
<span id="forgot">Forgot <a href="#">Username</a> / <a href="#">Password</a></span>
</div>
</div>
<div class="form-actions">
<button type="submit" id="log_in" class="btn btn-primary">Login</button>
</div>
</form>
</div>