comparison src/login_sent.html.luan @ 2:78708fa556a0

add login
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 08 Jul 2025 15:55:34 -0600
parents
children
comparison
equal deleted inserted replaced
1:1c87f785eb42 2:78708fa556a0
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>
14 <html lang="en">
15 <head>
16 <% head() %>
17 </head>
18 <body>
19 <% header() %>
20 <div content>
21 <h1>Login / Register</h1>
22 <p>A link to login has been emailed to you.</p>
23 </div>
24 </body>
25 </html>
26 <%
27 end