Mercurial Hosting > chat
comparison src/private/tools/index.html.luan @ 0:fddd11ae516c
start
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 23 Oct 2024 13:13:07 -0600 |
parents | |
children | b116b6ef07bf |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:fddd11ae516c |
---|---|
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>Chat Private Tools</title> | |
18 </head> | |
19 <body> | |
20 <% header() %> | |
21 <div content> | |
22 <h1>Private Tools</h1> | |
23 <p><a href="private_users.html">edit private users</a></p> | |
24 <p><a href="backup.html">edit backup</a></p> | |
25 <p><a href="all_users.html">all users</a></p> | |
26 <p><a href="configure_mail.html">configure mail</a></p> | |
27 <p><a href="links.txt">links.txt</a></p> | |
28 </div> | |
29 </body> | |
30 </html> | |
31 <% | |
32 end |