burgercat/templates/settings.html

41 lines
1.4 KiB
HTML
Raw Normal View History

2023-07-08 17:00:32 +01:00
<!DOCTYPE html>
<html>
<head>
<title>burgercat</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
</head>
<body>
<div class="navbar">
<h1>burgercat</h1>
<a href="/">home</a>
2023-07-11 21:29:47 +01:00
<a href="/chat">chat</a>
2023-07-08 17:00:32 +01:00
<a href="/post">post</a>
{% if userdata %}
<a href="/settings/logout" class="right r">log out</a>
<a href="/settings" class="right selected">{{ userdata.username }}</a>
{% else %}
<a href="/signup" class="right r">sign up</a>
<a href="/login" class="right">log in</a>
{% endif %}
</div>
2023-07-08 18:48:23 +01:00
<div class="postDiv">
2023-07-12 04:54:20 +01:00
<div class="post">
2024-04-29 21:36:42 +01:00
<h2>Your account</h2>
<a href="/@{{ userdata.username }}">View my public profile</a><br>
<h3>Information</h3>
<p>Account Type: {% if userdata.administrator == 1 %}Administrator{% else %}Regular{% endif %}<br>
2023-07-12 04:54:20 +01:00
Username: {{ userdata.username }}<br>
User ID: {{ userdata.id }}<br>
Created on: {{ createddate }}</p>
2024-04-29 21:36:42 +01:00
<h3>Actions</h3>
2023-07-12 04:54:20 +01:00
<a href="/settings/logout">Log out</a>
</div>
2023-07-08 18:48:23 +01:00
</div>
2023-07-08 17:00:32 +01:00
</body>
2023-06-29 19:21:18 +01:00
</html>