diff options
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> |