* luci: add modified luadoc source to contrib
[project/luci.git] / contrib / luadoc / lua / luadoc / doclet / html / index.lp
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5     <title>Reference</title>
6     <link rel="stylesheet" href="<%=luadoc.doclet.html.link("luadoc.css")%>" type="text/css" />
7         <!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
8 </head>
9
10 <body>
11 <div id="container">
12
13 <div id="product">
14         <div id="product_logo"></div>
15         <div id="product_name"><big><b></b></big></div>
16         <div id="product_description"></div>
17 </div> <!-- id="product" -->
18
19 <div id="main">
20
21 <div id="navigation">
22 <%=luadoc.doclet.html.include("menu.lp", { doc=doc })%>
23
24 </div> <!-- id="navigation" -->
25
26 <div id="content">
27
28
29 <%if not options.nomodules and #doc.modules > 0 then%>
30 <h2>Modules</h2>
31 <table class="module_list">
32 <!--<tr><td colspan="2">Modules</td></tr>-->
33 <%for _, modulename in ipairs(doc.modules) do%>
34         <tr>
35                 <td class="name"><a href="<%=luadoc.doclet.html.module_link(modulename, doc)%>"><%=modulename%></a></td>
36                 <td class="summary"><%=doc.modules[modulename].summary%></td>
37         </tr>
38 <%end%>
39 </table>
40 <%end%>
41
42
43
44 <%if not options.nofiles and #doc.files > 0 then%>
45 <h2>Files</h2>
46 <table class="file_list">
47 <!--<tr><td colspan="2">Files</td></tr>-->
48 <%for _, filepath in ipairs(doc.files) do%>
49         <tr>
50                 <td class="name"><a href="<%=luadoc.doclet.html.file_link(filepath)%>"><%=filepath%></a></td>
51                 <td class="summary"></td>
52         </tr>
53 <%end%>
54 </table>
55 <%end%>
56
57 </div> <!-- id="content" -->
58
59 </div> <!-- id="main" -->
60
61 <div id="about">
62         <p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
63 </div> <!-- id="about" -->
64
65 </div> <!-- id="container" -->  
66 </body>
67 </html>