libs/web: assign extra css class to typed or named sections with tabs

This commit is contained in:
Jo-Philipp Wich 2011-09-30 14:14:04 +00:00
parent 7906112adf
commit 43df504278
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
</div> </div>
<%- end %> <%- end %>
<%+cbi/tabmenu%> <%+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%> <%+cbi/ucisection%>
</div> </div>
<br /> <br />

View file

@ -18,7 +18,7 @@
<%+cbi/tabmenu%> <%+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%> <%+cbi/ucisection%>
</fieldset> </fieldset>
<br /> <br />