aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/login.twig
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/login.twig')
-rw-r--r--tpl/login.twig31
1 files changed, 31 insertions, 0 deletions
diff --git a/tpl/login.twig b/tpl/login.twig
new file mode 100644
index 00000000..390718b6
--- /dev/null
+++ b/tpl/login.twig
@@ -0,0 +1,31 @@
1{% extends "layout.twig" %}
2{% block title %}Login{% endblock %}
3{% block content %}
4 <form method="post" action="?login" name="loginform">
5 <fieldset class="w500p center">
6 <h2 class="mbs txtcenter">{% trans "login to your poche" %}</h2>
7 {% if demo == 1 %}<p>{% trans "you are in demo mode, some features may be disabled." %}</p>{% endif %}
8 <div class="row">
9 <label class="col w150p" for="login">{% trans "Login" %}</label>
10 <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus {% if demo == 1 %}value="poche"{% endif %} />
11 </div>
12
13 <div class="row">
14 <label class="col w150p" for="password">{% trans "Password" %}</label>
15 <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {% if demo == 1 %}value="poche"{% endif %} />
16 </div>
17 <div class="row">
18 <label class="col w150p">{% trans "Stay signed in" %}</label>
19 <div class="col">
20 <input type="checkbox" name="longlastingsession" tabindex="3">
21 <small class="inbl">(Do not check on public computers)</small>
22 </div>
23 </div>
24 <div class="row mts txtcenter">
25 <button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button>
26 </div>
27 </fieldset>
28 <input type="hidden" name="returnurl" value="{{ referer }}">
29 <input type="hidden" name="token" value="{{ token }}">
30 </form>
31{% endblock %} \ No newline at end of file