diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-03-03 22:06:39 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-03-03 22:06:39 +0100 |
commit | 4de35274cab2df740941149fe41c3c2bb8c12850 (patch) | |
tree | a568b5009d2f5a1abd0e0794c62fb1a6ef802bb4 /modules/luci-mod-freifunk/luasrc | |
parent | ddc893ccc254e79b0869c709ada07f5ae232a0e3 (diff) |
luci-base: view: make checkboxes and radio buttons styleable
Add an empty, normally invisible label after checkboxes and radio buttons
with cbi-input-{checkbox,radio} classes to allow CSS styling them as
suggested on http://www.paulund.co.uk/style-checkboxes-with-css
Signed-off-by: Nils Schneider <nils@nilsschneider.net>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'modules/luci-mod-freifunk/luasrc')
-rw-r--r-- | modules/luci-mod-freifunk/luasrc/view/freifunk/remote_update.htm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-mod-freifunk/luasrc/view/freifunk/remote_update.htm b/modules/luci-mod-freifunk/luasrc/view/freifunk/remote_update.htm index 83e1ee579..f087472d3 100644 --- a/modules/luci-mod-freifunk/luasrc/view/freifunk/remote_update.htm +++ b/modules/luci-mod-freifunk/luasrc/view/freifunk/remote_update.htm @@ -38,9 +38,11 @@ <input type="hidden" name="confirm" value="1" /> <input type="checkbox" class="cbi-input-checkbox" name="keepcfg" value="1" checked="checked" id="cb_keepcfg" /> + <label for="cb_keepcfg"></label> <label for="cb_keepcfg"><%:Keep configuration%></label><br /> <input type="checkbox" class="cbi-input-checkbox" name="verify" value="1" checked="checked" id="cb_verify" /> + <label for="cb_verify"></label> <label for="cb_verify"><%:Verify downloaded images%></label><br /><br /> <input type="submit" class="cbi-button cbi-button-apply" value="<%:Confirm Upgrade%>" /> |