<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>WarpBox Admin</title>
        <link rel="icon" type="image/png" href="/static/WarpBoxLogo.png">
        <link rel="stylesheet" href="/static/css/app.css">
        <link rel="stylesheet" href="/static/css/window.css">
        <link rel="stylesheet" href="/static/css/admin.css">
    </head>
    <body>
        <main>
            <section class="win98-window admin-window" aria-labelledby="admin-title">
                <header class="win98-titlebar">
                    <div class="win98-titlebar-label">
                        <img class="win98-titlebar-icon" src="/static/WarpBoxLogo.png" alt="" aria-hidden="true">
                        <h1 id="admin-title">WarpBox Admin</h1>
                    </div>
                </header>
                <div class="win98-panel admin-panel">
                    <nav class="admin-nav">
						<span>Signed in as {{ .CurrentUser }}</span>
						<span class="admin-spacer"></span>
						<form action="/admin/logout" method="post">
							<input type="hidden" name="csrf_token" value="{{ .CSRFToken }}">
							<button class="win98-button" type="submit">Logout</button>
						</form>
					</nav>
                    <div class="admin-grid">
                        <a class="win98-panel admin-link" href="/admin/boxes"><strong>Boxes</strong></a>
                        <a class="win98-panel admin-link" href="/admin/users"><strong>Users</strong></a>
                        <a class="win98-panel admin-link" href="/admin/tags"><strong>Tags</strong></a>
                        <a class="win98-panel admin-link" href="/admin/settings"><strong>Settings</strong></a>
                    </div>
                </div>
            </section>
        </main>
    </body>
</html>
