diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-02-14 12:35:22 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-02-14 12:35:22 +0100 |
commit | 698eda739e705f5605711af927eb5e3720c7c97c (patch) | |
tree | 0c28505888ed9d65b304692b7b81946c4ed3b059 /themes/baggy | |
parent | f2321633b9dcc806b3c036a742bde1e4c9bcbef9 (diff) | |
download | wallabag-698eda739e705f5605711af927eb5e3720c7c97c.tar.gz wallabag-698eda739e705f5605711af927eb5e3720c7c97c.tar.zst wallabag-698eda739e705f5605711af927eb5e3720c7c97c.zip |
mainly css improvements
Diffstat (limited to 'themes/baggy')
-rw-r--r-- | themes/baggy/login.twig | 10 | ||||
-rw-r--r-- | themes/baggy/register.twig | 41 |
2 files changed, 27 insertions, 24 deletions
diff --git a/themes/baggy/login.twig b/themes/baggy/login.twig index 7906cc20..d941ca93 100644 --- a/themes/baggy/login.twig +++ b/themes/baggy/login.twig | |||
@@ -26,14 +26,14 @@ | |||
26 | <div class="row mts txtcenter"> | 26 | <div class="row mts txtcenter"> |
27 | <button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button> | 27 | <button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button> |
28 | </div> | 28 | </div> |
29 | {% if constant('ALLOW_REGISTER') == 1 %} | ||
30 | <div class="register"> | ||
31 | <a href="?registerform">{% trans "Register" %}</a> | ||
32 | </div> | ||
33 | {% endif %} | ||
29 | </fieldset> | 34 | </fieldset> |
30 | <input type="hidden" name="returnurl" value="{{ referer }}"> | 35 | <input type="hidden" name="returnurl" value="{{ referer }}"> |
31 | <input type="hidden" name="token" value="{{ token }}"> | 36 | <input type="hidden" name="token" value="{{ token }}"> |
32 | </form> | 37 | </form> |
33 | {% endif %} | 38 | {% endif %} |
34 | {% if constant('ALLOW_REGISTER') == 1 %} | ||
35 | <div class="register"> | ||
36 | <a href="?registerform">{% trans "Register" %}</a> | ||
37 | </div> | ||
38 | {% endif %} | ||
39 | {% endblock %} | 39 | {% endblock %} |
diff --git a/themes/baggy/register.twig b/themes/baggy/register.twig index 5744a481..e2c56c73 100644 --- a/themes/baggy/register.twig +++ b/themes/baggy/register.twig | |||
@@ -1,25 +1,28 @@ | |||
1 | {% extends "layout-login.twig" %} | 1 | {% extends "layout-login.twig" %} |
2 | {% block content %} | 2 | {% block content %} |
3 | 3 | ||
4 | <form method="post" action="?register"> | ||
4 | <h2>{% trans 'Add user' %}</h2> | 5 | <h2>{% trans 'Add user' %}</h2> |
5 | <form method="post" action="?register"> | 6 | <fieldset class="w500p"> |
6 | <fieldset class="w500p"> | 7 | <div class="row"> |
7 | <div class="row"> | 8 | <label class="col w150p" for="newusername">{% trans 'Login' %}</label> |
8 | <label class="col w150p" for="newusername">{% trans 'Login' %}</label> | 9 | <input class="col" type="text" id="newusername" name="newusername" placeholder="{% trans 'Login' %}" required> |
9 | <input class="col" type="text" id="newusername" name="newusername" placeholder="{% trans 'Login' %}" required> | 10 | </div> |
10 | </div> | 11 | <div class="row"> |
11 | <div class="row"> | 12 | <label class="col w150p" for="password4newuser">{% trans "Password" %}</label> |
12 | <label class="col w150p" for="password4newuser">{% trans "Password" %}</label> | 13 | <input class="col" type="password" id="password4newuser" name="password4newuser" placeholder="{% trans 'Password' %}" required> |
13 | <input class="col" type="password" id="password4newuser" name="password4newuser" placeholder="{% trans 'Password' %}" required> | 14 | </div> |
14 | </div> | 15 | <div class="row"> |
15 | <div class="row"> | 16 | <label class="col w150p" for="newuseremail">{% trans 'Email (not required)' %}</label> |
16 | <label class="col w150p" for="newuseremail">{% trans 'Email' %}</label> | 17 | <input class="col" type="email" id="newuseremail" name="newuseremail" placeholder="{% trans 'Email' %}"> |
17 | <input class="col" type="email" id="newuseremail" name="newuseremail" placeholder="{% trans 'Email' %}"> | 18 | </div> |
18 | </div> | 19 | <div class="row mts txtcenter"> |
19 | <div class="row mts txtcenter"> | 20 | <button type="submit">{% trans "Register" %}</button> |
20 | <button type="submit">{% trans "Register" %}</button> | 21 | </div> |
21 | </div> | 22 | <div class="register"> |
22 | </fieldset> | 23 | <a href="?">{% trans "Back" %}</a> |
23 | </form> | 24 | </div> |
25 | </fieldset> | ||
26 | </form> | ||
24 | 27 | ||
25 | {% endblock %} \ No newline at end of file | 28 | {% endblock %} \ No newline at end of file |