Mercurial Hosting > chat
comparison src/account.html.luan @ 34:62d04ca486dd
UI
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Nov 2024 16:08:24 -0700 |
parents | 5a56297713a3 |
children | 7ea33179592a |
comparison
equal
deleted
inserted
replaced
33:e2b7f6393dab | 34:62d04ca486dd |
---|---|
31 function doDeleteUser(el) { | 31 function doDeleteUser(el) { |
32 closeModal(el); | 32 closeModal(el); |
33 ajax('delete_user.js'); | 33 ajax('delete_user.js'); |
34 } | 34 } |
35 </script> | 35 </script> |
36 <style> | |
37 div[content] { | |
38 margin-left: auto; | |
39 margin-right: auto; | |
40 width: fit-content; | |
41 } | |
42 h1 { | |
43 text-align: center; | |
44 } | |
45 </style> | |
36 </head> | 46 </head> |
37 <body> | 47 <body> |
38 <% header() %> | 48 <% header() %> |
39 <div content> | 49 <div content> |
40 <h1>Your Account</h1> | 50 <h1>Your Account</h1> |
41 <p><a href="about.html">About Web Chat</a></p> | 51 <p><a href="about.html">About Web Chat</a></p> |
42 <p>Your URL: <%= base_url() %>/?with=<%=user.email%></p> | 52 <p>Your URL: <%= base_url() %>/?with=<%=user.email%></p> |
53 <p><a href="javascript:logout()">Logout</a></p> | |
43 <p><a href="javascript:deleteUser()">Delete account</a></p> | 54 <p><a href="javascript:deleteUser()">Delete account</a></p> |
44 <p><a href="javascript:logout()">Logout</a></p> | |
45 </div> | 55 </div> |
46 <dialog delete_user> | 56 <dialog delete_user> |
47 <h2>Delete Account</h2> | 57 <h2>Delete Account</h2> |
48 <p>Are you sure that you want to delete your account?</p> | 58 <p>Are you sure that you want to delete your account?</p> |
49 <div buttons> | 59 <div buttons> |