Completed first part of UVLDoc
[project/luci.git] / libs / uvldoc / luasrc / uvldoc / proto / xhtml / scheme.xml
index 985809e..91043bf 100644 (file)
@@ -1,2 +1,15 @@
 <%+header.xml%>
+<h1 class="section-title"><%=scheme-%>
+<%-if package.title then%>: <%=package.title%><%end%></h1>
+<div class="scheme-description"><%=package.description%></div>
+
+<h3 class="scheme-title">Sections:</h3>
+<table class="scheme-index">
+<% for k, v in luci.util.kspairs(package.sections) do %>
+<tr>
+       <td><a href="<%=self:_section_filename(scheme, k)%>"><%=k%></a></td>
+       <td><%=v.title%></td>
+</tr>
+<% end %>
+</table>
 <%+footer.xml%>
\ No newline at end of file