* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
20 lines
573 B
HTML
20 lines
573 B
HTML
</div>
|
|
<div id="cbip-<%=self.config.."-"..section.."-"..self.option%>"></div>
|
|
</td>
|
|
|
|
<% if #self.deps > 0 then -%>
|
|
<script type="text/javascript">
|
|
<% for j, d in ipairs(self.deps) do -%>
|
|
cbi_d_add("cbi-<%=self.config.."-"..section.."-"..self.option..d.add%>", {
|
|
<%-
|
|
for k,v in pairs(d.deps) do
|
|
-%>
|
|
<%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%>
|
|
<%-if next(d.deps, k) then-%>,<%-end-%>
|
|
<%-
|
|
end
|
|
-%>
|
|
}, "cbip-<%=self.config.."-"..section.."-"..self.option%>");
|
|
<%- end %>
|
|
</script>
|
|
<%- end %>
|