diff options
author | Simon Rettberg | 2017-12-01 14:34:51 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-12-01 14:34:51 +0100 |
commit | 097825da74ed866be5e3f85606ac5e5de6ab4a08 (patch) | |
tree | 514e72a6cae4d4d7bd6b782df699846059b19216 /modules-available/webinterface/templates | |
parent | [style.css] Try to reduce copy&paste (diff) | |
download | slx-admin-097825da74ed866be5e3f85606ac5e5de6ab4a08.tar.gz slx-admin-097825da74ed866be5e3f85606ac5e5de6ab4a08.tar.xz slx-admin-097825da74ed866be5e3f85606ac5e5de6ab4a08.zip |
[style] Fix checkbox/radio in input-group-addon, add missing label<->input refs
Diffstat (limited to 'modules-available/webinterface/templates')
-rw-r--r-- | modules-available/webinterface/templates/https.html | 20 | ||||
-rw-r--r-- | modules-available/webinterface/templates/passwords.html | 8 |
2 files changed, 14 insertions, 14 deletions
diff --git a/modules-available/webinterface/templates/https.html b/modules-available/webinterface/templates/https.html index 365e2fee..f0accb57 100644 --- a/modules-available/webinterface/templates/https.html +++ b/modules-available/webinterface/templates/https.html @@ -29,9 +29,9 @@ <div class="input-group" onclick="$('#moff').prop('checked', true); $('#wcustom').hide()"> <span class="input-group-addon"> - <div class="radio" style="margin: 0; line-height: normal; text-align: left"> + <div class="radio"> <input id="moff" type="radio" name="mode" value="off"> - <label style="padding: 0"></label> + <label></label> </div> </span> <span class="form-control"> @@ -42,9 +42,9 @@ <div class="input-group" onclick="$('#mrandom').prop('checked', true); $('#wcustom').hide()"> <span class="input-group-addon"> - <div class="radio" style="margin: 0; line-height: normal; text-align: left"> + <div class="radio"> <input id="mrandom" type="radio" name="mode" value="random"> - <label style="padding: 0"></label> + <label></label> </div> </span> <span class="form-control"> @@ -54,9 +54,9 @@ <div class="input-group" onclick="$('#mcustom').prop('checked', true); $('#wcustom').show()"> <span class="input-group-addon"> - <div class="radio" style="margin: 0; line-height: normal; text-align: left"> + <div class="radio"> <input id="mcustom" type="radio" name="mode" value="custom"> - <label style="padding: 0"></label> + <label></label> </div> </span> <span class="form-control"> @@ -89,9 +89,9 @@ MIIFfTCCA... <br> <div class="input-group"> <span class="input-group-addon"> - <div class="checkbox" style="margin: 0; line-height: normal; text-align: left"> + <div class="checkbox"> <input id="httpsredirect" type="checkbox" name="httpsredirect" value="on" {{redirect_checked}}> - <label style="padding: 0"></label> + <label></label> </div> </span> <span class="form-control" onclick="$('#httpsredirect').prop('checked', !$('#httpsredirect').prop('checked'))"> @@ -100,9 +100,9 @@ MIIFfTCCA... </div> <div class="input-group"> <span class="input-group-addon"> - <div class="checkbox" style="margin: 0; line-height: normal; text-align: left"> + <div class="checkbox"> <input id="usehsts" type="checkbox" name="usehsts" value="on" {{hsts_checked}}> - <label style="padding: 0"></label> + <label></label> </div> </span> <span class="form-control" onclick="$('#usehsts').prop('checked', !$('#usehsts').prop('checked'))"> diff --git a/modules-available/webinterface/templates/passwords.html b/modules-available/webinterface/templates/passwords.html index b9ff5550..e190bb72 100644 --- a/modules-available/webinterface/templates/passwords.html +++ b/modules-available/webinterface/templates/passwords.html @@ -7,9 +7,9 @@ <p>{{lang_passwordsDescription}}</p> <div class="input-group" onclick="$('#pmshow').prop('checked', true)"> <span class="input-group-addon"> - <div class="radio" style="margin: 0; line-height: normal; text-align: left"> + <div class="radio"> <input id="pmshow" type="radio" name="mode" value="show" {{selected_show}}> - <label style="padding: 0"></label> + <label></label> </div> </span> <span class="form-control"> @@ -18,9 +18,9 @@ </div> <div class="input-group" onclick="$('#pmhide').prop('checked', true)"> <span class="input-group-addon"> - <div class="radio" style="margin: 0; line-height: normal; text-align: left"> + <div class="radio"> <input id="pmhide" type="radio" name="mode" value="hide" {{selected_hide}}> - <label style="padding: 0"></label> + <label></label> </div> </span> <span class="form-control"> |