Mercurial Hosting > hghosting
comparison src/private/tools/index.html.luan @ 0:dfc36e7ed22c
init
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Thu, 12 May 2022 13:51:59 +0400 |
parents | |
children | 028e74c8889d |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:dfc36e7ed22c |
---|---|
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> | |
23 <p><a href="users.html">edit private users</a></p> | |
24 <p><a href="backup.html">edit backup</a></p> | |
25 <p><a href="links.txt">links.txt</a></p> | |
26 </div> | |
27 </body> | |
28 </html> | |
29 <% | |
30 end |