2013-08-02 16:40:51 -04:00
|
|
|
{% extends "layout.twig" %}
|
2013-08-03 02:25:11 -04:00
|
|
|
|
2013-08-03 02:57:35 -04:00
|
|
|
{% block title %}{% trans "login to your poche" %}{% endblock %}
|
2013-08-02 16:40:51 -04:00
|
|
|
{% block content %}
|
|
|
|
<form method="post" action="?login" name="loginform">
|
|
|
|
<fieldset class="w500p center">
|
|
|
|
<h2 class="mbs txtcenter">{% trans "login to your poche" %}</h2>
|
2013-08-05 03:43:33 -04:00
|
|
|
{% if constant('MODE_DEMO') == 1 %}<p>{% trans "you are in demo mode, some features may be disabled." %}</p>{% endif %}
|
2013-08-02 16:40:51 -04:00
|
|
|
<div class="row">
|
|
|
|
<label class="col w150p" for="login">{% trans "Login" %}</label>
|
2013-08-05 03:43:33 -04:00
|
|
|
<input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} />
|
2013-08-02 16:40:51 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<label class="col w150p" for="password">{% trans "Password" %}</label>
|
2013-08-05 03:43:33 -04:00
|
|
|
<input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} />
|
2013-08-02 16:40:51 -04:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2013-08-04 16:35:08 -04:00
|
|
|
<label class="col w150p" for="longlastingsession">{% trans "Stay signed in" %}</label>
|
2013-08-02 16:40:51 -04:00
|
|
|
<div class="col">
|
2013-08-04 16:35:08 -04:00
|
|
|
<input type="checkbox" id="longlastingsession" name="longlastingsession" tabindex="3">
|
2013-08-03 13:26:54 -04:00
|
|
|
<small class="inbl">{% trans "(Do not check on public computers)" %}</small>
|
2013-08-02 16:40:51 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mts txtcenter">
|
2013-08-24 04:27:33 -04:00
|
|
|
<button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button>
|
2013-08-02 16:40:51 -04:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<input type="hidden" name="returnurl" value="{{ referer }}">
|
|
|
|
<input type="hidden" name="token" value="{{ token }}">
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|