build: remove some obsolete support scripts
[project/luci.git] / libs / uvldoc / luasrc / uvldoc / proto / xhtml / menu.xml
index 7a03002..c0ad3da 100644 (file)
@@ -1,20 +1,22 @@
-<h2>LuCI UVLDoc</h2>
-<ul>
+<div class="menu-title">LuCI UVLDoc</div>
+<ul class="menu-index">
 <li<%-if not scheme then%> class="menu-active"<%-end-%>>
        <a href="<%=self:_index_filename()%>">Index</a>
 </li>
 <li<%-if not scheme then%> class="menu-active"<%-end-%>>
        <a href="<%=self:_index_filename()%>">Index</a>
 </li>
+</ul>
+
+<div class="menu-title">Schemes</div>
+<ul class="menu-index">
 <% for k, v in luci.util.kspairs(self.schemes) do %>
 <li<%-if scheme == k then%> class="menu-active"<%-end-%>>
        <a href="<%=self:_scheme_filename(k)%>"><%=k%></a>
        <%-if scheme == k then-%>
        <ul>
 <% for k, v in luci.util.kspairs(self.schemes) do %>
 <li<%-if scheme == k then%> class="menu-active"<%-end-%>>
        <a href="<%=self:_scheme_filename(k)%>"><%=k%></a>
        <%-if scheme == k then-%>
        <ul>
-       <%-for k2, v2 in luci.util.kspairs(v.sections) do-%>
-               <li>
-                       <a href="<%=self:_section_filename(k, k2)%>"><%=k2%></a>
-               </li>
-       <%-end-%>
+               <%-for k2, v2 in luci.util.kspairs(v.sections) do%>
+               <li<%-if k2 == section then%> class="menu-active"<%-end-%>><a href="<%=self:_section_filename(k, k2)%>"><%=k2%></a></li>
+               <%end-%>
        </ul>
        </ul>
-       <%-end-%>
+       <%-end%>
 </li>
 </li>
-<% end %>
+<%-end%>
 </ul>
\ No newline at end of file
 </ul>
\ No newline at end of file