Mercurial Hosting > freedit
view src/private/admin.html.luan @ 60:8b5b1bce7d6b
bcode menus
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 30 Nov 2022 23:50:52 -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