diff options
author | Jay Sitter <jsitter@gmail.com> | 2014-11-03 09:11:25 -0500 |
---|---|---|
committer | Jay Sitter <jsitter@gmail.com> | 2014-11-03 09:11:25 -0500 |
commit | ac8b064f478376d75d0f23266c39aa237269b374 (patch) | |
tree | 106040015956a5909050fc335dfec0d305dc845a | |
parent | cc1f78a83d731fe0e325fbe4079aebec64f5f043 (diff) | |
download | wallabag-ac8b064f478376d75d0f23266c39aa237269b374.tar.gz wallabag-ac8b064f478376d75d0f23266c39aa237269b374.tar.zst wallabag-ac8b064f478376d75d0f23266c39aa237269b374.zip |
Restoring change password section in config
-rwxr-xr-x | themes/baggy/config.twig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig index 3dd38270..2fd5ce28 100755 --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig | |||
@@ -113,6 +113,27 @@ | |||
113 | <p><a href="?empty-cache">{% trans "Delete Cache" %}</a><br> | 113 | <p><a href="?empty-cache">{% trans "Delete Cache" %}</a><br> |
114 | <span class="more-info">Deleting the cache may help with display or other problems.</span></p> | 114 | <span class="more-info">Deleting the cache may help with display or other problems.</span></p> |
115 | 115 | ||
116 | {% if http_auth == 0 %} | ||
117 | <h2>{% trans "Change your password" %}</h2> | ||
118 | <form method="post" action="?config" name="loginform"> | ||
119 | <fieldset class="w500p"> | ||
120 | <div class="row"> | ||
121 | <label class="col w150p" for="password">{% trans "New password:" %}</label> | ||
122 | <input class="col" type="password" id="password" name="password" placeholder="{% trans "Password" %}" tabindex="2"> | ||
123 | </div> | ||
124 | <div class="row"> | ||
125 | <label class="col w150p" for="password_repeat">{% trans "Repeat your new password:" %}</label> | ||
126 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="{% trans "Password" %}" tabindex="3"> | ||
127 | </div> | ||
128 | <div class="row mts txtcenter"> | ||
129 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | ||
130 | </div> | ||
131 | </fieldset> | ||
132 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
133 | <input type="hidden" name="token" value="{{ token }}"> | ||
134 | </form> | ||
135 | {% endif %} | ||
136 | |||
116 | <h2>{% trans 'Add user' %}</h2> | 137 | <h2>{% trans 'Add user' %}</h2> |
117 | <form method="post" action="?newuser"> | 138 | <form method="post" action="?newuser"> |
118 | <fieldset class="w500p"> | 139 | <fieldset class="w500p"> |