Mercurial Hosting > hghosting
view src/index.html.luan @ 23:7c9a45368af2 default tip
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 04 Oct 2024 12:06:16 -0600 |
parents | e65668ff8822 |
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.header or error() return function() Io.stdout = Http.response.text_writer() %> <!doctype html> <html> <head> <% head() %> <title>Mercurial Hosting</title> <style> h1 { margin-bottom: 0; } h3 { margin-top: 8px; } </style> </head> <body> <% header() %> <div content> <h1>Mercurial Hosting</h1> <h3>A free service by <a href="https://www.reactionary.software/">Reactionary Software</a></h3> <p>If you are already registered then view <a href="/admin/">your repositories</a>.</p> <p>This site uses authentication for access. To use it, you must <a href="get_password.html">register</a>. If you have forgotten your password, you can get it on <a href="get_password.html">the same page</a>.</p> <p>To see an example of a hosted repository, see <a href="https://hg.reactionary.software/repo/hghosting">the source for this service</a>.</p> <p>For support, ask in a <a href="https://www.reactionary.software/discussion.html">Reactionary Software discussion</a>.</p> </div> </body> </html> <% end