libs/web: remove license comments from cbi templates, saves around 50% of their size
[project/luci.git] / libs / web / luasrc / view / cbi / tabcontainer.htm
1 <% for tab, data in pairs(self.tabs) do %>
2 <div class="cbi-tabcontainer" id="container.<%=self.config%>.<%=section%>.<%=tab%>"<% if tab ~= self.selected_tab then %> style="display:none"<% end %>>
3 <% if data.description then %><div class="cbi-tab-descr"><%=data.description%></div><% end %>
4 <% self:render_tab(tab, section, scope or {}) %>
5 </div>
6 <script type="text/javascript">cbi_t_add('<%=self.config%>.<%=section%>', '<%=tab%>')</script>
7 <% end %>