Mercurial Hosting > freedit
view 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 |
line wrap: on
line source
local Luan = require "luan:Luan.luan" local error = Luan.error local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" local Shared = require "site:/lib/Shared.luan" local head = Shared.head or error() local header = Shared.admin_header or error() return function() Io.stdout = Http.response.text_writer() %> <!doctype html> <html> <head> <% head() %> <title>Admin</title> </head> <body> <% header() %> <div content> <h1>Admin</h1> <p><a href="/">Home</a></p> <p><a href="admin/config.html">Configure Forum</a></p> <p><a href="admin/mail_config.html">Configure Mail</a></p> <h2>Tools</h2> <p><a href="tools/lucene.html">lucene</a></p> </div> </body> </html> <% end