aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/courgette
diff options
context:
space:
mode:
Diffstat (limited to 'themes/courgette')
-rwxr-xr-xthemes/courgette/config.twig34
1 files changed, 34 insertions, 0 deletions
diff --git a/themes/courgette/config.twig b/themes/courgette/config.twig
index 6e1a9043..a022d733 100755
--- a/themes/courgette/config.twig
+++ b/themes/courgette/config.twig
@@ -80,5 +80,39 @@
80 80
81 <h2>{% trans "Export your wallabag data" %}</h2> 81 <h2>{% trans "Export your wallabag data" %}</h2>
82 <p><a href="./?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your wallabag data." %}</p> 82 <p><a href="./?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your wallabag data." %}</p>
83
84
85 <h2>{% trans 'Add user' %}</h2>
86 <p>{% trans 'Add a new user :' %}</p>
87 <form method="post" action="?newuser">
88 <fieldset class="w500p">
89 <div class="row">
90 <label class="col w150p" for="newusername">{% trans 'Login for new user' %}</label>
91 <input class="col" type="text" id="newusername" name="newusername" placeholder="{% trans 'Login' %}">
92 </div>
93 <div class="row">
94 <label class="col w150p" for="password4newuser">{% trans "Password for new user" %}</label>
95 <input class="col" type="password" id="password4newuser" name="password4newuser" placeholder="{% trans "Password" %}">
96 </div>
97 <div class="row mts txtcenter">
98 <button type="submit">{% trans "Send" %}</button>
99 </div>
100 </fieldset>
101 </form>
102
103 <h2>{% trans "Delete account" %}</h2>
104 {% if not only_user %}<form method="post" action="?deluser">
105 <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>
106 <fieldset class="w500p">
107 <div class="row">
108 <label class="col w150p" for="password4deletinguser">{% trans "Type here your password" %}</label>
109 <input class="col" type="password" id="password4deletinguser" name="password4deletinguser" placeholder="{% trans "Password" %}">
110 </div>
111 <div class="row mts txtcenter">
112 <button type="submit">{% trans "Send" %}</button>
113 </div>
114 </form>
115 {% else %}<p>{% trans "You are the only user, you cannot delete your own account." %}<br />
116 {% trans "To completely remove wallabag, delete the wallabag folder on your web server." %}</p>{% endif %}
83 </div> 117 </div>
84{% endblock %} 118{% endblock %}