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 body_header = Shared.body_header or error()
|
|
8 local footer = Shared.footer or error()
|
|
9
|
|
10
|
|
11 return function()
|
|
12 Io.stdout = Http.response.text_writer()
|
|
13 %>
|
|
14 <!doctype html>
|
|
15 <html lang="en">
|
|
16 <head>
|
|
17 <% head() %>
|
|
18 <title>Link My Style</title>
|
|
19 <style>
|
|
20 div[body] {
|
|
21 max-width: 700px;
|
|
22 margin-left: auto;
|
|
23 margin-right: auto;
|
|
24 padding-left: 20px;
|
|
25 padding-right: 20px;
|
|
26 }
|
|
27 </style>
|
|
28 </head>
|
|
29 <body>
|
|
30 <div full>
|
|
31 <% body_header() %>
|
|
32 <div body>
|
1
|
33 <h1>Source Code</h1>
|
0
|
34
|
1
|
35 <p>Link My Style is written in <a href="https://www.luan.software/">Luan</a> and uses <a href="https://dad.reactionary.software/">Reactionary Drag and Drop</a>. Here is <a href="https://hg.reactionary.software/repo/linkmystyle/">the source code</a>.</p>
|
0
|
36
|
|
37 <p> </p>
|
|
38 </div>
|
|
39 <% footer() %>
|
|
40 </div>
|
|
41 </body>
|
|
42 </html>
|
|
43 <%
|
|
44 end
|