Mercurial Hosting > hghosting
view src/index.html.luan @ 9:338ab58d91f2
quote repo
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Jul 2022 13:27:12 -0600 |
parents | e3448053230a |
children | e65668ff8822 |
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="http://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="http://www.reactionary.software/discussion.html">Reactionary Software discussion</a>.</p> </div> </body> </html> <% end