diff options
author | Simon Rettberg | 2014-12-05 19:15:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-12-05 19:15:41 +0100 |
commit | 19ec20ab89bf938fe2dd1a99b62debc76e199425 (patch) | |
tree | fb084493aed19cc481b2276dff5063ac796c7a65 /templates | |
parent | Use different icons for client log entries (incomplete) (diff) | |
download | slx-admin-19ec20ab89bf938fe2dd1a99b62debc76e199425.tar.gz slx-admin-19ec20ab89bf938fe2dd1a99b62debc76e199425.tar.xz slx-admin-19ec20ab89bf938fe2dd1a99b62debc76e199425.zip |
Add option to hide or show password fields
Diffstat (limited to 'templates')
-rw-r--r-- | templates/webinterface/httpd-restart.html (renamed from templates/https/restart.html) | 0 | ||||
-rw-r--r-- | templates/webinterface/https.html (renamed from templates/https/_page.html) | 5 | ||||
-rw-r--r-- | templates/webinterface/passwords.html | 25 |
3 files changed, 27 insertions, 3 deletions
diff --git a/templates/https/restart.html b/templates/webinterface/httpd-restart.html index cc84aafb..cc84aafb 100644 --- a/templates/https/restart.html +++ b/templates/webinterface/httpd-restart.html diff --git a/templates/https/_page.html b/templates/webinterface/https.html index bf791526..ca2a9d04 100644 --- a/templates/https/_page.html +++ b/templates/webinterface/https.html @@ -1,7 +1,6 @@ -<h1>{{lang_httpsSettings}}</h1> - -<form action="?do=Https" method="post"> +<form action="?do=WebInterface" method="post"> <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="action" value="https"> <div class="panel panel-default"> <div class="panel-heading">{{lang_httpsSettings}}</div> <div class="panel-body"> diff --git a/templates/webinterface/passwords.html b/templates/webinterface/passwords.html new file mode 100644 index 00000000..f9fda016 --- /dev/null +++ b/templates/webinterface/passwords.html @@ -0,0 +1,25 @@ +<form action="?do=WebInterface" method="post"> + <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="action" value="password"> + <div class="panel panel-default"> + <div class="panel-heading">{{lang_passwordFields}}</div> + <div class="panel-body"> + <p>{{lang_description}}</p> + <div class="input-group" onclick="$('#pmshow').prop('checked', true)"> + <span class="input-group-addon"><input id="pmshow" type="radio" name="mode" value="show" {{selected_show}}></span> + <span class="form-control"> + {{lang_showPasswords}} + </span> + </div> + <div class="input-group" onclick="$('#pmhide').prop('checked', true)"> + <span class="input-group-addon"><input id="pmhide" type="radio" name="mode" value="hide" {{selected_hide}}></span> + <span class="form-control"> + {{lang_hidePasswords}} + </span> + </div> + <div class="pull-right"> + <button type="submit" class="btn btn-primary">{{lang_save}}</button> + </div> + </div> + </div> +</form> |