diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-13 21:07:27 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-13 21:07:27 +0200 |
commit | b004a236ba0cc96bf530801a55cdddf9ec809d13 (patch) | |
tree | 9cd57b48d5a4c5ec7952ba02736c8209f1c95c69 /src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig | |
parent | 4d5fd9be812825c480589cdcfcec281ffb5aa66a (diff) | |
parent | 1a5f7e2d88284419654057fda71e2b0be9b5439a (diff) | |
download | wallabag-b004a236ba0cc96bf530801a55cdddf9ec809d13.tar.gz wallabag-b004a236ba0cc96bf530801a55cdddf9ec809d13.tar.zst wallabag-b004a236ba0cc96bf530801a55cdddf9ec809d13.zip |
Merge pull request #1401 from wallabag/v2-baggy-themes
Cleanup baggy
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig new file mode 100644 index 00000000..5437d20c --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig | |||
@@ -0,0 +1,39 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | ||
2 | |||
3 | {% block title %}{% trans %}login to your wallabag{% endtrans %}{% endblock %} | ||
4 | |||
5 | {% block body_class %}login{% endblock %} | ||
6 | |||
7 | {% block menu %}{% endblock %} | ||
8 | {% block messages %}{% endblock %} | ||
9 | |||
10 | {% block content %} | ||
11 | <form action="{{ path('login_check') }}" method="post" name="loginform"> | ||
12 | <fieldset class="w500p center"> | ||
13 | <h2 class="mbs txtcenter">{% trans %}Login to wallabag{% endtrans %}</h2> | ||
14 | {% if error %} | ||
15 | <div>{{ error.message }}</div> | ||
16 | {% endif %} | ||
17 | |||
18 | {% for flashMessage in app.session.flashbag.get('notice') %} | ||
19 | <p>{{ flashMessage }}</p> | ||
20 | {% endfor %} | ||
21 | |||
22 | <div class="row"> | ||
23 | <label class="col w150p" for="username">{% trans %}Username{% endtrans %}</label> | ||
24 | <input type="text" id="username" name="_username" value="{{ last_username }}" /> | ||
25 | </div> | ||
26 | |||
27 | <div class="row"> | ||
28 | <label class="col w150p" for="password">{% trans %}Password{% endtrans %}</label> | ||
29 | <input type="password" id="password" name="_password" /> | ||
30 | </div> | ||
31 | |||
32 | <div class="row mts txtcenter"> | ||
33 | <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" /> | ||
34 | <button type="submit">Login</button> | ||
35 | <a href="{{ path('forgot_password') }}" class="small">Forgot your password?</a> | ||
36 | </div> | ||
37 | </fieldset> | ||
38 | </form> | ||
39 | {% endblock %} | ||