diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-02-13 19:49:25 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-02-13 19:49:25 +0100 |
commit | 5e98c2183ae824ab6a1dd2dc22f8619a0d718977 (patch) | |
tree | 24ab567d403c967a8b33de8750053abeeca0125a /themes/baggy/login.twig | |
parent | 38dafee05d52948fba4a06066d7b0343c8e3de9d (diff) | |
parent | 9f3148fec787a51f837549907130e8ec980a0547 (diff) | |
download | wallabag-5e98c2183ae824ab6a1dd2dc22f8619a0d718977.tar.gz wallabag-5e98c2183ae824ab6a1dd2dc22f8619a0d718977.tar.zst wallabag-5e98c2183ae824ab6a1dd2dc22f8619a0d718977.zip |
Merge pull request #450 from wallabag/dev1.5.0
1.5.0
Diffstat (limited to 'themes/baggy/login.twig')
-rw-r--r-- | themes/baggy/login.twig | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/themes/baggy/login.twig b/themes/baggy/login.twig new file mode 100644 index 00000000..e4751a41 --- /dev/null +++ b/themes/baggy/login.twig | |||
@@ -0,0 +1,34 @@ | |||
1 | {% extends "layout-login.twig" %} | ||
2 | |||
3 | {% block title %}{% trans "login to your wallabag" %}{% endblock %} | ||
4 | {% block content %} | ||
5 | {% if http_auth == 0 %} | ||
6 | <form method="post" action="?login" name="loginform"> | ||
7 | <fieldset class="w500p center"> | ||
8 | <h2 class="mbs txtcenter">{% trans "Login to wallabag" %}</h2> | ||
9 | {% if constant('MODE_DEMO') == 1 %}<p>{% trans "you are in demo mode, some features may be disabled." %}</p>{% endif %} | ||
10 | <div class="row"> | ||
11 | <label class="col w150p" for="login">{% trans "Username" %}</label> | ||
12 | <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} /> | ||
13 | </div> | ||
14 | |||
15 | <div class="row"> | ||
16 | <label class="col w150p" for="password">{% trans "Password" %}</label> | ||
17 | <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} /> | ||
18 | </div> | ||
19 | <div class="row"> | ||
20 | <label class="col w150p" for="longlastingsession">{% trans "Stay signed in" %}</label> | ||
21 | <div class="col"> | ||
22 | <input type="checkbox" id="longlastingsession" name="longlastingsession" tabindex="3"> | ||
23 | <small class="inbl">{% trans "(Do not check on public computers)" %}</small> | ||
24 | </div> | ||
25 | </div> | ||
26 | <div class="row mts txtcenter"> | ||
27 | <button class="bouton" type="submit" tabindex="4">{% trans "Login" %}</button> | ||
28 | </div> | ||
29 | </fieldset> | ||
30 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
31 | <input type="hidden" name="token" value="{{ token }}"> | ||
32 | </form> | ||
33 | {% endif %} | ||
34 | {% endblock %} | ||