diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-06-25 08:49:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-25 08:49:44 +0200 |
commit | 483c9d35b20b23842b0ab78b09adb59725dfed20 (patch) | |
tree | 38860f5003e60fb78c2791f5b881156b298fc77f /modules/luci-base/luasrc/view/cbi/nsection.htm | |
parent | a65d55ebcee57d174b557adbbb76df47b3747873 (diff) | |
parent | c7ee1ffcf114e11a81f2fdb707c705b5cb5064e3 (diff) |
Merge pull request #1895 from jow-/master
Responsive OpenWrt theme
Diffstat (limited to 'modules/luci-base/luasrc/view/cbi/nsection.htm')
-rw-r--r-- | modules/luci-base/luasrc/view/cbi/nsection.htm | 9 |
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 --> |