Mercurial Hosting > freedit
view src/private/admin.html.luan @ 43:298c71e0c854
caching
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 09 Nov 2022 23:05:01 -0700 |
parents | 2f20b11affdd |
children |
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> <p><a href="tools/shell.html">luan shell</a></p> <p><a href="tools/run">luan batch</a></p> <p><a href="/tools/cookies.html">cookies</a></p> <p><a href="/tools/dimensions.html">dimensions</a></p> <p><a href="/tools/request.txt">request</a></p> </div> </body> </html> <% end