diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-04-23 18:35:03 -0300 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-04-30 15:41:02 +0200 |
commit | 6b3bba36d1381d0cd72e77f096b7f6892fd3314f (patch) | |
tree | 81cfdd3ee4ebba26c55a558cdf9c8a8142a324c9 /applications/luci-app-https-dns-proxy/luasrc/view | |
parent | fbd3a40c3e364c91a9effc1193456c8b3303b880 (diff) |
luci-app-https-dns-proxy: remove redundant cbi-value-field div
The redundant "cbi-value-field" div introduces uneeded margin, remove this
element to fix the view layout.
Suggested-by: Santiago Kozak <arbolitoloco1@protonmail.com>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-https-dns-proxy/luasrc/view')
-rw-r--r-- | applications/luci-app-https-dns-proxy/luasrc/view/https-dns-proxy/buttons.htm | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/applications/luci-app-https-dns-proxy/luasrc/view/https-dns-proxy/buttons.htm b/applications/luci-app-https-dns-proxy/luasrc/view/https-dns-proxy/buttons.htm index 6a01206094..6fd7ebd355 100644 --- a/applications/luci-app-https-dns-proxy/luasrc/view/https-dns-proxy/buttons.htm +++ b/applications/luci-app-https-dns-proxy/luasrc/view/https-dns-proxy/buttons.htm @@ -37,27 +37,25 @@ -%> <%+cbi/valueheader%> - <div class="cbi-value-field"> - <input type="button" class="btn cbi-button cbi-button-apply" id="btn_start" name="start" value="<%:Start%>" - onclick="button_action(this)" /> - <span id="btn_start_spinner" class="btn_spinner"></span> - <input type="button" class="btn cbi-button cbi-button-apply" id="btn_action" name="action" value="<%:Reload%>" - onclick="button_action(this)" /> - <span id="btn_action_spinner" class="btn_spinner"></span> - <input type="button" class="btn cbi-button cbi-button-reset" id="btn_stop" name="stop" value="<%:Stop%>" - onclick="button_action(this)" /> - <span id="btn_stop_spinner" class="btn_spinner"></span> -   -   -   -   - <input type="button" class="btn cbi-button cbi-button-apply" id="btn_enable" name="enable" value="<%:Enable%>" - onclick="button_action(this)" /> - <span id="btn_enable_spinner" class="btn_spinner"></span> - <input type="button" class="btn cbi-button cbi-button-reset" id="btn_disable" name="disable" value="<%:Disable%>" - onclick="button_action(this)" /> - <span id="btn_disable_spinner" class="btn_spinner"></span> - </div> + <input type="button" class="btn cbi-button cbi-button-apply" id="btn_start" name="start" value="<%:Start%>" + onclick="button_action(this)" /> + <span id="btn_start_spinner" class="btn_spinner"></span> + <input type="button" class="btn cbi-button cbi-button-apply" id="btn_action" name="action" value="<%:Reload%>" + onclick="button_action(this)" /> + <span id="btn_action_spinner" class="btn_spinner"></span> + <input type="button" class="btn cbi-button cbi-button-reset" id="btn_stop" name="stop" value="<%:Stop%>" + onclick="button_action(this)" /> + <span id="btn_stop_spinner" class="btn_spinner"></span> +   +   +   +   + <input type="button" class="btn cbi-button cbi-button-apply" id="btn_enable" name="enable" value="<%:Enable%>" + onclick="button_action(this)" /> + <span id="btn_enable_spinner" class="btn_spinner"></span> + <input type="button" class="btn cbi-button cbi-button-reset" id="btn_disable" name="disable" value="<%:Disable%>" + onclick="button_action(this)" /> + <span id="btn_disable_spinner" class="btn_spinner"></span> <%+cbi/valuefooter%> <%-if not btn_start_status then%> |