Mercurial Hosting > hghosting
annotate src/private/tools/index.html.luan @ 26:d3b72a8bfbe9 default tip
Add rate limiting, change moveLogs.sh to only operate on non-empty files
| author | Violet7 | 
|---|---|
| date | Sat, 01 Nov 2025 22:12:56 -0700 | 
| parents | f9a4e674de75 | 
| children | 
| rev | line source | 
|---|---|
| 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> | |
| 24 | 14 <html lang="en"> | 
| 0 | 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> | 
| 
6
 
a6be8817c05b
move mail_info to config
 
Franklin Schmidt <fschmidt@gmail.com> 
parents: 
4 
diff
changeset
 | 
26 <p><a href="configure_mail.html">configure mail</a></p> | 
| 0 | 27 <p><a href="links.txt">links.txt</a></p> | 
| 28 </div> | |
| 29 </body> | |
| 30 </html> | |
| 31 <% | |
| 32 end | 
