diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-09-30 14:14:04 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-09-30 14:14:04 +0000 |
commit | 43df5042781a5b5fa7e839ad2b09b2b1232a56db (patch) | |
tree | e03d8a9f5c79f3038dbf083396c6330d0484df75 /libs/web | |
parent | 7906112adf2bd79b17bbf9f9c545641e542464b2 (diff) |
libs/web: assign extra css class to typed or named sections with tabs
Diffstat (limited to 'libs/web')
-rw-r--r-- | libs/web/luasrc/view/cbi/nsection.htm | 2 | ||||
-rw-r--r-- | libs/web/luasrc/view/cbi/tsection.htm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/web/luasrc/view/cbi/nsection.htm b/libs/web/luasrc/view/cbi/nsection.htm index e34e0f383..95e765882 100644 --- a/libs/web/luasrc/view/cbi/nsection.htm +++ b/libs/web/luasrc/view/cbi/nsection.htm @@ -12,7 +12,7 @@ </div> <%- end %> <%+cbi/tabmenu%> - <div class="cbi-section-node" id="cbi-<%=self.config%>-<%=section%>"> + <div class="cbi-section-node<% if self.tabs then %> cbi-section-node-tabbed<% end %>" id="cbi-<%=self.config%>-<%=section%>"> <%+cbi/ucisection%> </div> <br /> diff --git a/libs/web/luasrc/view/cbi/tsection.htm b/libs/web/luasrc/view/cbi/tsection.htm index 2aab1b56f..24f8e0400 100644 --- a/libs/web/luasrc/view/cbi/tsection.htm +++ b/libs/web/luasrc/view/cbi/tsection.htm @@ -18,7 +18,7 @@ <%+cbi/tabmenu%> - <fieldset class="cbi-section-node" id="cbi-<%=self.config%>-<%=section%>"> + <fieldset class="cbi-section-node<% if self.tabs then %> cbi-section-node-tabbed<% end %>" id="cbi-<%=self.config%>-<%=section%>"> <%+cbi/ucisection%> </fieldset> <br /> |