libs/web: give cbi tabcontainers a CSS class
This commit is contained in:
parent
b4e6abe5bf
commit
7a7874d14e
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ $Id$
|
||||||
-%>
|
-%>
|
||||||
|
|
||||||
<% for tab, data in pairs(self.tabs) do %>
|
<% for tab, data in pairs(self.tabs) do %>
|
||||||
<div id="container.<%=self.config%>.<%=section%>.<%=tab%>"<% if tab ~= self.selected_tab then %> style="display:none"<% end %>>
|
<div class="cbi-tabcontainer" id="container.<%=self.config%>.<%=section%>.<%=tab%>"<% if tab ~= self.selected_tab then %> style="display:none"<% end %>>
|
||||||
<% if data.description then %><div class="cbi-tab-descr"><%=data.description%></div><% end %>
|
<% if data.description then %><div class="cbi-tab-descr"><%=data.description%></div><% end %>
|
||||||
<% self:render_tab(tab, section, scope or {}) %>
|
<% self:render_tab(tab, section, scope or {}) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue