| 
0
 | 
     1 local Luan = require "luan:Luan.luan"
 | 
| 
 | 
     2 local error = Luan.error
 | 
| 
 | 
     3 local Io = require "luan:Io.luan"
 | 
| 
 | 
     4 local Http = require "luan:http/Http.luan"
 | 
| 
 | 
     5 local Shared = require "site:/lib/Shared.luan"
 | 
| 
 | 
     6 local head = Shared.head or error()
 | 
| 
 | 
     7 local header = Shared.header or error()
 | 
| 
 | 
     8 
 | 
| 
 | 
     9 
 | 
| 
 | 
    10 return function()
 | 
| 
 | 
    11 	Io.stdout = Http.response.text_writer()
 | 
| 
 | 
    12 %>
 | 
| 
 | 
    13 <!doctype html>
 | 
| 
24
 | 
    14 <html lang="en">
 | 
| 
0
 | 
    15 	<head>
 | 
| 
 | 
    16 <%		head() %>
 | 
| 
 | 
    17 		<title>Mercurial Hosting</title>
 | 
| 
 | 
    18 		<style>
 | 
| 
 | 
    19 			h1 {
 | 
| 
 | 
    20 				margin-bottom: 0;
 | 
| 
 | 
    21 			}
 | 
| 
 | 
    22 			h3 {
 | 
| 
 | 
    23 				margin-top: 8px;
 | 
| 
 | 
    24 			}
 | 
| 
 | 
    25 		</style>
 | 
| 
 | 
    26 	</head>
 | 
| 
 | 
    27 	<body>
 | 
| 
 | 
    28 <%		header() %>
 | 
| 
 | 
    29 		<div content>
 | 
| 
 | 
    30 			<h1>Mercurial Hosting</h1>
 | 
| 
 | 
    31 
 | 
| 
22
 | 
    32 			<h3>A free service by <a href="https://www.reactionary.software/">Reactionary Software</a></h3>
 | 
| 
0
 | 
    33 
 | 
| 
 | 
    34 			<p>If you are already registered then view <a href="/admin/">your repositories</a>.</p>
 | 
| 
 | 
    35 
 | 
| 
 | 
    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>
 | 
| 
 | 
    37 
 | 
| 
3
 | 
    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
 | 
    39 
 | 
| 
22
 | 
    40 			<p>For support, ask in a <a href="https://www.reactionary.software/discussion.html">Reactionary Software discussion</a>.</p>
 | 
| 
0
 | 
    41 		</div>
 | 
| 
 | 
    42 	</body>
 | 
| 
 | 
    43 </html>
 | 
| 
 | 
    44 <%
 | 
| 
 | 
    45 end
 |