diff options
Diffstat (limited to 'themes/courgette/config.twig')
-rwxr-xr-x | themes/courgette/config.twig | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/themes/courgette/config.twig b/themes/courgette/config.twig index 6e1a9043..9ab58461 100755 --- a/themes/courgette/config.twig +++ b/themes/courgette/config.twig | |||
@@ -80,5 +80,42 @@ | |||
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 | <h2>{% trans "Fancy an E-Book ?" %}</h2> | ||
85 | <p>{% trans "Click on <a href=\"./?epub&method=all\" title=\"Generate ePub\">this link</a> to get all your articles in one ebook (ePub 3 format)." %} | ||
86 | <br>{% trans "This can <b>take a while</b> and can <b>even fail</b> if you have too many articles, depending on your server configuration." %}</p> | ||
87 | |||
88 | <h2>{% trans 'Add user' %}</h2> | ||
89 | <p>{% trans 'Add a new user :' %}</p> | ||
90 | <form method="post" action="?newuser"> | ||
91 | <fieldset class="w500p"> | ||
92 | <div class="row"> | ||
93 | <label class="col w150p" for="newusername">{% trans 'Login for new user' %}</label> | ||
94 | <input class="col" type="text" id="newusername" name="newusername" placeholder="{% trans 'Login' %}"> | ||
95 | </div> | ||
96 | <div class="row"> | ||
97 | <label class="col w150p" for="password4newuser">{% trans "Password for new user" %}</label> | ||
98 | <input class="col" type="password" id="password4newuser" name="password4newuser" placeholder="{% trans "Password" %}"> | ||
99 | </div> | ||
100 | <div class="row mts txtcenter"> | ||
101 | <button type="submit">{% trans "Send" %}</button> | ||
102 | </div> | ||
103 | </fieldset> | ||
104 | </form> | ||
105 | |||
106 | <h2>{% trans "Delete account" %}</h2> | ||
107 | {% if not only_user %}<form method="post" action="?deluser"> | ||
108 | <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> | ||
109 | <fieldset class="w500p"> | ||
110 | <div class="row"> | ||
111 | <label class="col w150p" for="password4deletinguser">{% trans "Type here your password" %}</label> | ||
112 | <input class="col" type="password" id="password4deletinguser" name="password4deletinguser" placeholder="{% trans "Password" %}"> | ||
113 | </div> | ||
114 | <div class="row mts txtcenter"> | ||
115 | <button type="submit">{% trans "Send" %}</button> | ||
116 | </div> | ||
117 | </form> | ||
118 | {% else %}<p>{% trans "You are the only user, you cannot delete your own account." %}<br /> | ||
119 | {% trans "To completely remove wallabag, delete the wallabag folder on your web server." %}</p>{% endif %} | ||
83 | </div> | 120 | </div> |
84 | {% endblock %} | 121 | {% endblock %} |