0
|
1 local Luan = require "luan:Luan.luan"
|
|
2 local error = Luan.error
|
|
3 local Io = require "luan:Io.luan"
|
|
4 local Http = require "luan:http/Http.luan"
|
|
5 local Shared = require "site:/lib/Shared.luan"
|
|
6 local head = Shared.head or error()
|
|
7 local header = Shared.private_header or error()
|
|
8
|
|
9
|
|
10 return function()
|
|
11 Io.stdout = Http.response.text_writer()
|
|
12 %>
|
|
13 <!doctype html>
|
|
14 <html>
|
|
15 <head>
|
|
16 <% head() %>
|
|
17 <title>Mercurial Private Tools</title>
|
|
18 </head>
|
|
19 <body>
|
|
20 <% header() %>
|
|
21 <div content>
|
|
22 <h1>Private Tools</h1>
|
4
|
23 <p><a href="private_users.html">edit private users</a></p>
|
0
|
24 <p><a href="backup.html">edit backup</a></p>
|
4
|
25 <p><a href="all_users.html">all users</a></p>
|
0
|
26 <p><a href="links.txt">links.txt</a></p>
|
|
27 </div>
|
|
28 </body>
|
|
29 </html>
|
|
30 <%
|
|
31 end
|