Mercurial Hosting > linkmystyle
comparison src/register3.html.luan @ 0:8f4df159f06b
start public repo
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 11 Jul 2025 20:57:49 -0600 |
| parents | |
| children | f455bb813e2e |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:8f4df159f06b |
|---|---|
| 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 page_header = Shared.page_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[right_of_page] { | |
| 21 background-image: url(/images/picture.jpg); | |
| 22 } | |
| 23 </style> | |
| 24 <script> | |
| 25 if( hasCookies ) { | |
| 26 fbTrack( 'track', 'CompleteRegistration' ); | |
| 27 // fbTrack( 'track', 'Purchase', {value:1,currency:'USD'} ); | |
| 28 } | |
| 29 </script> | |
| 30 </head> | |
| 31 <body> | |
| 32 <div page> | |
| 33 <% page_header() %> | |
| 34 <div> | |
| 35 <h1>Thanks for signing up</h1> | |
| 36 <a button big href="/account.html">Continue to edit My Account</a> | |
| 37 </div> | |
| 38 <% footer() %> | |
| 39 </form> | |
| 40 <div right_of_page></div> | |
| 41 </body> | |
| 42 </html> | |
| 43 <% | |
| 44 end |
