Mercurial Hosting > linkmystyle
comparison src/change_email2.html.luan @ 0:8f4df159f06b
start public repo
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 11 Jul 2025 20:57:49 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8f4df159f06b |
---|---|
1 local Luan = require "luan:Luan.luan" | |
2 local error = Luan.error | |
3 local Html = require "luan:Html.luan" | |
4 local html_encode = Html.encode or error() | |
5 local Io = require "luan:Io.luan" | |
6 local Http = require "luan:http/Http.luan" | |
7 local Shared = require "site:/lib/Shared.luan" | |
8 local head = Shared.head or error() | |
9 local page_header = Shared.page_header or error() | |
10 local footer = Shared.footer or error() | |
11 local User = require "site:/lib/User.luan" | |
12 | |
13 | |
14 return function() | |
15 local user = User.current_required() | |
16 if user==nil then return end | |
17 Io.stdout = Http.response.text_writer() | |
18 %> | |
19 <!doctype html> | |
20 <html lang="en"> | |
21 <head> | |
22 <% head() %> | |
23 <title>Link My Style</title> | |
24 </head> | |
25 <body> | |
26 <div page> | |
27 <% page_header() %> | |
28 <div> | |
29 <h1>Your email has been changed</h1> | |
30 <a button big href="/">Continue to Link My Style</a> | |
31 </div> | |
32 <% footer() %> | |
33 </form> | |
34 </body> | |
35 </html> | |
36 <% | |
37 end |