<!DOCTYPE html>
<html lang="en"><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>Dashboard</title>
    <link rel="stylesheet" href="/static/css/main.css">
    <script src="/static/js/main.js"></script>
</head>
<body>
<div class="headerbar">
    <a class="a" href="/">CTAMail</a>
    <a class="a" href="/signup">Sign up</a>
    <a class="main a" href="/account">Account</a>
    <button class="a right" onclick="toggleDarkMode()">Toggle Theme</button>
</div>

<div class="content">
    <h1>Account management</h1>
    <p1 id="username">Loading...</p1>
    <br>
    <br>
    <a class="button" href="/account/changepass">Change password</a>
    <a class="button" href="/account/deleteacct">Delete account</a>
    <a class="button logout" href="/account/logout">Logout</a>
</div>
</body></html>
