2 require(
"ffluci.model.uci")
3 local allsections = ffluci.model.uci.show(map)
5 for k, v in pairs(allsections) do
6 if v[
".type"] == sectiontype then
11 <div class=
"cbi-tsection" id=
"cbi-<%=map%>-<%=sectiontype%>">
13 <div class=
"cbi-tsection-descr"><%=description%
></div>
14 <% for k, v in pairs(sections) do %
>
15 <div class=
"cbi-tsection-node" id=
"cbi-<%=map%>-<%=k%>">
16 <% for k, node in ipairs(children) do