diff 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
line wrap: on
line diff
--- a/src/account.html.luan	Sun Nov 10 19:57:14 2024 -0700
+++ b/src/account.html.luan	Tue Nov 12 16:08:24 2024 -0700
@@ -33,6 +33,16 @@
 				ajax('delete_user.js');
 			}
 		</script>
+		<style>
+			div[content] {
+				margin-left: auto;
+				margin-right: auto;
+				width: fit-content;
+			}
+			h1 {
+				text-align: center;
+			}
+		</style>
 	</head>
 	<body>
 <%		header() %>
@@ -40,8 +50,8 @@
 			<h1>Your Account</h1>
 			<p><a href="about.html">About Web Chat</a></p>
 			<p>Your URL: <%= base_url() %>/?with=<%=user.email%></p>
+			<p><a href="javascript:logout()">Logout</a></p>
 			<p><a href="javascript:deleteUser()">Delete account</a></p>
-			<p><a href="javascript:logout()">Logout</a></p>
 		</div>
 		<dialog delete_user>
 			<h2>Delete Account</h2>