libs/web: remove license comments from cbi templates, saves around 50% of their size
[project/luci.git] / libs / web / luasrc / view / cbi / map.htm
1 <%- if firstmap and messages then local msg; for _, msg in ipairs(messages) do -%>
2 <div class="errorbox"><%=pcdata(msg)%></div>
3 <%- end end -%>
4
5 <%-+cbi/apply_xhr-%>
6
7 <div class="cbi-map" id="cbi-<%=self.config%>">
8 <% if self.title and #self.title > 0 then %><h2><a id="content" name="content"><%=self.title%></a></h2><% end %>
9 <% if self.description and #self.description > 0 then %><div class="cbi-map-descr"><%=self.description%></div><% end %>
10 <%- if firstmap and applymap then cbi_apply_xhr(self.config, parsechain, redirect) end -%>
11 <%- self:render_children() %>
12 <br />
13 </div>