view src/private/tools/index.html.luan @ 20:8b4481769cc6

fix move logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 05 Aug 2024 11:32:22 +0300
parents a6be8817c05b
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.private_header or error()


return function()
	Io.stdout = Http.response.text_writer()
%>
<!doctype html>
<html>
	<head>
<%		head() %>
		<title>Mercurial 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