summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/cbi/nsection.htm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-06-19 17:10:38 +0200
committerJo-Philipp Wich <jo@mein.io>2018-06-23 17:13:22 +0200
commitd0b91bcca266a6d386f9ebeef695e1cef34ad9cf (patch)
tree0d1024db758c38ff0b3260c00f5db40e6356991f /modules/luci-base/luasrc/view/cbi/nsection.htm
parentc4bd6fb7b9915cdf32bf08c93e64bd091c793bd5 (diff)
luci-base: globally cleanup markup
- add responsive attributes to partial cbi templates - unify and fix button style classes - fix styling of sysauth dialog - rework firewall_zoneforwards widget Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc/view/cbi/nsection.htm')
-rw-r--r--modules/luci-base/luasrc/view/cbi/nsection.htm9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/nsection.htm b/modules/luci-base/luasrc/view/cbi/nsection.htm
index abf67596f0..63abc57734 100644
--- a/modules/luci-base/luasrc/view/cbi/nsection.htm
+++ b/modules/luci-base/luasrc/view/cbi/nsection.htm
@@ -1,5 +1,5 @@
<% if self:cfgvalue(self.section) then section = self.section %>
- <fieldset class="cbi-section">
+ <div class="cbi-section">
<% if self.title and #self.title > 0 then -%>
<legend><%=self.title%></legend>
<%- end %>
@@ -15,17 +15,16 @@
<div class="cbi-section-node<% if self.tabs then %> cbi-section-node-tabbed<% end %>" id="cbi-<%=self.config%>-<%=section%>">
<%+cbi/ucisection%>
</div>
- <br />
- </fieldset>
+ </div>
<% elseif self.addremove then %>
<% if self.template_addremove then include(self.template_addremove) else -%>
- <fieldset class="cbi-section" id="cbi-<%=self.config%>-<%=self.section%>">
+ <div class="cbi-section" id="cbi-<%=self.config%>-<%=self.section%>">
<% if self.title and #self.title > 0 then -%>
<legend><%=self.title%></legend>
<%- end %>
<div class="cbi-section-descr"><%=self.description%></div>
<input type="submit" class="cbi-button cbi-button-add" name="cbi.cns.<%=self.config%>.<%=self.section%>" value="<%:Add%>" />
- </fieldset>
+ </div>
<%- end %>
<% end %>
<!-- /nsection -->