2015-06-27 22:35:34 +02:00
|
|
|
## -*- coding: utf-8 -*-
|
2015-05-18 19:56:44 +02:00
|
|
|
<%inherit file="base.tmpl"/>
|
|
|
|
<%block name="core">
|
|
|
|
<div class="row clearfix" style="margin-top:30px">
|
|
|
|
<div class="col-md-4 column"></div>
|
|
|
|
<div class="col-md-4 column well">
|
2015-07-06 07:58:27 +02:00
|
|
|
<%
|
|
|
|
if url is None:
|
|
|
|
qs=''
|
|
|
|
else:
|
|
|
|
qs='?url=' + url
|
|
|
|
%>
|
|
|
|
<form method='POST' action='/login${qs}' role="form" class="form-signin">
|
2015-05-18 19:56:44 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<h2 class="form-signin-heading">Please sign in</h2>
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon glyphicon glyphicon-user"></span>
|
|
|
|
<input type="text" class="form-control" name="login" placeholder="Login" required autofocus>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon glyphicon glyphicon-lock"></span>
|
|
|
|
<input type="password" class="form-control" name="password" placeholder="Password" required>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="input-group">
|
2015-07-05 16:32:18 +02:00
|
|
|
<button class="btn btn-default blue" type="submit"><span class="glyphicon glyphicon-off"></span> Sign in</button>
|
2015-05-18 19:56:44 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 column"></div>
|
|
|
|
</div>
|
|
|
|
</%block>
|