diff options
author | Udo Walter | 2017-09-25 17:16:25 +0200 |
---|---|---|
committer | Udo Walter | 2017-09-25 17:16:25 +0200 |
commit | b9386525a9e3b6be5f16e515432bf0af2579eef7 (patch) | |
tree | 97648a3bf24da7d949b2fe63b47a23ded14fc9ca /modules-available/webinterface/templates | |
parent | [vmstore] fixed inconsistencies (diff) | |
download | slx-admin-b9386525a9e3b6be5f16e515432bf0af2579eef7.tar.gz slx-admin-b9386525a9e3b6be5f16e515432bf0af2579eef7.tar.xz slx-admin-b9386525a9e3b6be5f16e515432bf0af2579eef7.zip |
[webinterface] fixed inconsistencies
Diffstat (limited to 'modules-available/webinterface/templates')
4 files changed, 46 insertions, 10 deletions
diff --git a/modules-available/webinterface/templates/customization.html b/modules-available/webinterface/templates/customization.html index 7949f95b..c949c1f2 100644 --- a/modules-available/webinterface/templates/customization.html +++ b/modules-available/webinterface/templates/customization.html @@ -23,7 +23,7 @@ </label> </div> <div class="pull-right"> - <button type="submit" class="btn btn-primary">{{lang_save}}</button> + <button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button> </div> </div> </div> diff --git a/modules-available/webinterface/templates/heading.html b/modules-available/webinterface/templates/heading.html new file mode 100644 index 00000000..d68360f1 --- /dev/null +++ b/modules-available/webinterface/templates/heading.html @@ -0,0 +1 @@ +<h1>{{lang_moduleHeading}}</h1>
\ No newline at end of file diff --git a/modules-available/webinterface/templates/https.html b/modules-available/webinterface/templates/https.html index ecfe5f5d..365e2fee 100644 --- a/modules-available/webinterface/templates/https.html +++ b/modules-available/webinterface/templates/https.html @@ -28,7 +28,12 @@ {{#httpsEnabled}} <div class="input-group" onclick="$('#moff').prop('checked', true); $('#wcustom').hide()"> - <span class="input-group-addon"><input id="moff" type="radio" name="mode" value="off"></span> + <span class="input-group-addon"> + <div class="radio" style="margin: 0; line-height: normal; text-align: left"> + <input id="moff" type="radio" name="mode" value="off"> + <label style="padding: 0"></label> + </div> + </span> <span class="form-control"> {{lang_noHttps}} </span> @@ -36,14 +41,24 @@ {{/httpsEnabled}} <div class="input-group" onclick="$('#mrandom').prop('checked', true); $('#wcustom').hide()"> - <span class="input-group-addon"><input id="mrandom" type="radio" name="mode" value="random"></span> + <span class="input-group-addon"> + <div class="radio" style="margin: 0; line-height: normal; text-align: left"> + <input id="mrandom" type="radio" name="mode" value="random"> + <label style="padding: 0"></label> + </div> + </span> <span class="form-control"> {{lang_randomCert}} </span> </div> <div class="input-group" onclick="$('#mcustom').prop('checked', true); $('#wcustom').show()"> - <span class="input-group-addon"><input id="mcustom" type="radio" name="mode" value="custom"></span> + <span class="input-group-addon"> + <div class="radio" style="margin: 0; line-height: normal; text-align: left"> + <input id="mcustom" type="radio" name="mode" value="custom"> + <label style="padding: 0"></label> + </div> + </span> <span class="form-control"> {{lang_customCert}} </span> @@ -73,13 +88,23 @@ MIIFfTCCA... <br> <div class="input-group"> - <span class="input-group-addon"><input id="httpsredirect" type="checkbox" name="httpsredirect" value="on" {{redirect_checked}}></span> + <span class="input-group-addon"> + <div class="checkbox" style="margin: 0; line-height: normal; text-align: left"> + <input id="httpsredirect" type="checkbox" name="httpsredirect" value="on" {{redirect_checked}}> + <label style="padding: 0"></label> + </div> + </span> <span class="form-control" onclick="$('#httpsredirect').prop('checked', !$('#httpsredirect').prop('checked'))"> {{lang_httpsRedirect}} </span> </div> <div class="input-group"> - <span class="input-group-addon"><input id="usehsts" type="checkbox" name="usehsts" value="on" {{hsts_checked}}></span> + <span class="input-group-addon"> + <div class="checkbox" style="margin: 0; line-height: normal; text-align: left"> + <input id="usehsts" type="checkbox" name="usehsts" value="on" {{hsts_checked}}> + <label style="padding: 0"></label> + </div> + </span> <span class="form-control" onclick="$('#usehsts').prop('checked', !$('#usehsts').prop('checked'))"> {{lang_useHsts}} </span> @@ -87,7 +112,7 @@ MIIFfTCCA... <br> <div class="pull-right"> - <button type="submit" class="btn btn-primary">{{lang_save}}</button> + <button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button> </div> </div> </div> diff --git a/modules-available/webinterface/templates/passwords.html b/modules-available/webinterface/templates/passwords.html index 8481d884..b9ff5550 100644 --- a/modules-available/webinterface/templates/passwords.html +++ b/modules-available/webinterface/templates/passwords.html @@ -6,20 +6,30 @@ <div class="panel-body"> <p>{{lang_passwordsDescription}}</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="input-group-addon"> + <div class="radio" style="margin: 0; line-height: normal; text-align: left"> + <input id="pmshow" type="radio" name="mode" value="show" {{selected_show}}> + <label style="padding: 0"></label> + </div> + </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="input-group-addon"> + <div class="radio" style="margin: 0; line-height: normal; text-align: left"> + <input id="pmhide" type="radio" name="mode" value="hide" {{selected_hide}}> + <label style="padding: 0"></label> + </div> + </span> <span class="form-control"> {{lang_hidePasswords}} </span> </div> <br> <div class="pull-right"> - <button type="submit" class="btn btn-primary">{{lang_save}}</button> + <button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button> </div> </div> </div> |