Mercurial Hosting > freedit
comparison src/private/admin.html.luan @ 4:a17e400ddaa1
add email
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 21 Jun 2022 11:58:27 -0600 |
parents | |
children | 2f20b11affdd |
comparison
equal
deleted
inserted
replaced
3:fc3ee39d7764 | 4:a17e400ddaa1 |
---|---|
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.admin_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>Admin</title> | |
18 </head> | |
19 <body> | |
20 <% header() %> | |
21 <div content> | |
22 <h1>Admin</h1> | |
23 <p><a href="/">Home</a></p> | |
24 <p><a href="admin/config.html">Configure Forum</a></p> | |
25 <p><a href="admin/mail_config.html">Configure Mail</a></p> | |
26 | |
27 <h2>Tools</h2> | |
28 <p><a href="tools/lucene.html">lucene</a></p> | |
29 </div> | |
30 </body> | |
31 </html> | |
32 <% | |
33 end |