annotate src/index.html.luan @ 11:bbafc54bbd26

fix ssl renew
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 28 Jul 2022 16:10:05 +0300
parents e3448053230a
children e65668ff8822
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 local Luan = require "luan:Luan.luan"
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2 local error = Luan.error
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 local Io = require "luan:Io.luan"
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
4 local Http = require "luan:http/Http.luan"
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5 local Shared = require "site:/lib/Shared.luan"
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
6 local head = Shared.head or error()
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
7 local header = Shared.header or error()
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
8
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
9
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
10 return function()
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
11 Io.stdout = Http.response.text_writer()
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
12 %>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
13 <!doctype html>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
14 <html>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
15 <head>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
16 <% head() %>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
17 <title>Mercurial Hosting</title>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
18 <style>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
19 h1 {
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
20 margin-bottom: 0;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
21 }
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
22 h3 {
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
23 margin-top: 8px;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
24 }
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
25 </style>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
26 </head>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
27 <body>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
28 <% header() %>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
29 <div content>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
30 <h1>Mercurial Hosting</h1>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
31
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
32 <h3>A free service by <a href="http://www.reactionary.software/">Reactionary Software</a></h3>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
33
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
34 <p>If you are already registered then view <a href="/admin/">your repositories</a>.</p>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
35
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
36 <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>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
37
3
e3448053230a fix source link
Franklin Schmidt <fschmidt@gmail.com>
parents: 0
diff changeset
38 <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>
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
39
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
40 <p>For support, ask in a <a href="http://www.reactionary.software/discussion.html">Reactionary Software discussion</a>.</p>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
41 </div>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
42 </body>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
43 </html>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
44 <%
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
45 end