Mercurial Hosting > chat
diff src/private/tools/index.html.luan @ 0:fddd11ae516c
start
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 23 Oct 2024 13:13:07 -0600 |
parents | |
children | b116b6ef07bf |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/private/tools/index.html.luan Wed Oct 23 13:13:07 2024 -0600 @@ -0,0 +1,32 @@ +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.private_header or error() + + +return function() + Io.stdout = Http.response.text_writer() +%> +<!doctype html> +<html> + <head> +<% head() %> + <title>Chat Private Tools</title> + </head> + <body> +<% header() %> + <div content> + <h1>Private Tools</h1> + <p><a href="private_users.html">edit private users</a></p> + <p><a href="backup.html">edit backup</a></p> + <p><a href="all_users.html">all users</a></p> + <p><a href="configure_mail.html">configure mail</a></p> + <p><a href="links.txt">links.txt</a></p> + </div> + </body> +</html> +<% +end