diff options
Diffstat (limited to 'themes')
-rwxr-xr-x | themes/baggy/config.twig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig index d441de7c..29d9e048 100755 --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig | |||
@@ -128,4 +128,36 @@ | |||
128 | <h2>{% trans "Cache" %}</h2> | 128 | <h2>{% trans "Cache" %}</h2> |
129 | <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p> | 129 | <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p> |
130 | 130 | ||
131 | <h2>{% trans 'Add user' %}</h2> | ||
132 | <p>{% trans 'Add a new user :' %}</p> | ||
133 | <form method="post" action="?newuser"> | ||
134 | <fieldset class="w500p"> | ||
135 | <div class="row"> | ||
136 | <label class="col w150p" for="newusername">{% trans 'Login for new user' %}</label> | ||
137 | <input class="col" type="text" id="newusername" name="newusername" placeholder="{% trans 'Login' %}"> | ||
138 | </div> | ||
139 | <div class="row"> | ||
140 | <label class="col w150p" for="password4newuser">{% trans "Password for new user" %}</label> | ||
141 | <input class="col" type="password" id="password4newuser" name="password4newuser" placeholder="{% trans "Password" %}"> | ||
142 | </div> | ||
143 | <div class="row mts txtcenter"> | ||
144 | <button type="submit">{% trans "Send" %}</button> | ||
145 | </div> | ||
146 | </fieldset> | ||
147 | </form> | ||
148 | |||
149 | <h2>{% trans "Delete account" %}</h2> | ||
150 | {% if not only_user %}<form method="post" action="?deluser"> | ||
151 | <p>{% trans "You can delete your account by entering your password and validating." %}<br /><b>{% trans "Be careful, data will be erased forever (that is a very long time)." %}</b></p> | ||
152 | <fieldset class="w500p"> | ||
153 | <div class="row"> | ||
154 | <label class="col w150p" for="password4deletinguser">{% trans "Type here your password" %}</label> | ||
155 | <input class="col" type="password" id="password4deletinguser" name="password4deletinguser" placeholder="{% trans "Password" %}"> | ||
156 | </div> | ||
157 | <div class="row mts txtcenter"> | ||
158 | <button type="submit">{% trans "Send" %}</button> | ||
159 | </div> | ||
160 | </form> | ||
161 | {% else %}<p>{% trans "You are the only user, you cannot delete your own account." %}<br /> | ||
162 | {% trans "To completely remove wallabag, delete the wallabag folder on your web server." %}</p>{% endif %} | ||
131 | {% endblock %} | 163 | {% endblock %} |