projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libs/cbi: implement tabbing to split large sections and group options in tabs
[project/luci.git]
/
libs
/
cbi
/
luasrc
/
view
/
cbi
/
tsection.htm
diff --git
a/libs/cbi/luasrc/view/cbi/tsection.htm
b/libs/cbi/luasrc/view/cbi/tsection.htm
index
db723f9
..
7fdd7f4
100644
(file)
--- a/
libs/cbi/luasrc/view/cbi/tsection.htm
+++ b/
libs/cbi/luasrc/view/cbi/tsection.htm
@@
-24,12
+24,15
@@
$Id$
<input type="submit" name="cbi.rts.<%=self.config%>.<%=k%>" value="<%:cbi_del%>" />
</div>
<%- end %>
<input type="submit" name="cbi.rts.<%=self.config%>.<%=k%>" value="<%:cbi_del%>" />
</div>
<%- end %>
- <% section = k; isempty = false %>
+
+ <%- section = k; isempty = false -%>
<% if not self.anonymous then -%>
<% if not self.anonymous then -%>
- <h3><%=
k
:upper()%></h3>
+ <h3><%=
section
:upper()%></h3>
<%- end %>
<%- end %>
+ <%+cbi/tabmenu%>
+
<fieldset class="cbi-section-node" id="cbi-<%=self.config%>-<%=section%>">
<%+cbi/ucisection%>
</fieldset>
<fieldset class="cbi-section-node" id="cbi-<%=self.config%>-<%=section%>">
<%+cbi/ucisection%>
</fieldset>