Frontend: Add user panel

This commit is contained in:
2023-09-10 14:30:40 +02:00
parent eaea93fb9e
commit 920376995e
3 changed files with 106 additions and 0 deletions

20
templates/panel.html Normal file
View File

@@ -0,0 +1,20 @@
<!DOCTYPE HTML>
<html>
<head>
<title>{{username}}'s panel</title>
</head>
<body>
<h1>User panel</h1>
<a href="/">Back</a>
<h3>Change password</h3>
<form action="change_password_action" method="POST">
<input name="currentPassword" type="password" placeholder="Current password" /><br />
<input name="newPassword" type="password" placeholder="New password"><br />
<input type="submit" value="Change" />
</form>
{{manageChannelAccess}}
{{manageServers}}
{{manageChannels}}
{{addUser}}
</body>
</html>