libs/web: remove license comments from cbi templates, saves around 50% of their size
[project/luci.git] / libs / web / luasrc / view / cbi / cell_valuefooter.htm
1 </div>
2 <div id="cbip-<%=self.config.."-"..section.."-"..self.option%>"></div>
3 </td>
4
5 <% if #self.deps > 0 then -%>
6 <script type="text/javascript">
7 <% for j, d in ipairs(self.deps) do -%>
8 cbi_d_add("cbi-<%=self.config.."-"..section.."-"..self.option..d.add%>", {
9 <%-
10 for k,v in pairs(d.deps) do
11 -%>
12 <%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%>
13 <%-if next(d.deps, k) then-%>,<%-end-%>
14 <%-
15 end
16 -%>
17 }, "cbip-<%=self.config.."-"..section.."-"..self.option%>");
18 <%- end %>
19 </script>
20 <%- end %>