]>
Commit | Line | Data |
---|---|---|
a4565e88 | 1 | {% extends "layout.twig" %} |
8cbb2a88 | 2 | |
2b840e0c | 3 | {% block title %}{% trans "login to your poche" %}{% endblock %} |
a4565e88 NL |
4 | {% block content %} |
5 | <form method="post" action="?login" name="loginform"> | |
6 | <fieldset class="w500p center"> | |
7 | <h2 class="mbs txtcenter">{% trans "login to your poche" %}</h2> | |
a62788c6 | 8 | {% if constant('MODE_DEMO') == 1 %}<p>{% trans "you are in demo mode, some features may be disabled." %}</p>{% endif %} |
a4565e88 NL |
9 | <div class="row"> |
10 | <label class="col w150p" for="login">{% trans "Login" %}</label> | |
a62788c6 | 11 | <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} /> |
a4565e88 NL |
12 | </div> |
13 | ||
14 | <div class="row"> | |
15 | <label class="col w150p" for="password">{% trans "Password" %}</label> | |
a62788c6 | 16 | <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} /> |
a4565e88 NL |
17 | </div> |
18 | <div class="row"> | |
63c35580 | 19 | <label class="col w150p" for="longlastingsession">{% trans "Stay signed in" %}</label> |
a4565e88 | 20 | <div class="col"> |
63c35580 | 21 | <input type="checkbox" id="longlastingsession" name="longlastingsession" tabindex="3"> |
4f5b44bd | 22 | <small class="inbl">{% trans "(Do not check on public computers)" %}</small> |
a4565e88 NL |
23 | </div> |
24 | </div> | |
25 | <div class="row mts txtcenter"> | |
06cf8fb9 | 26 | <button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button> |
a4565e88 NL |
27 | </div> |
28 | </fieldset> | |
29 | <input type="hidden" name="returnurl" value="{{ referer }}"> | |
30 | <input type="hidden" name="token" value="{{ token }}"> | |
31 | </form> | |
32 | {% endblock %} |