initial commit
This commit is contained in:
15 files changed
+2095
No files matched your search
@@ -0,0 +1,49 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% block title %}Poker Portal{% endblock %}</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="site-shell">
|
||||
<header class="topbar">
|
||||
<div>
|
||||
<a class="brand" href="{{ url_for('leaderboard') }}">Poker Portal</a>
|
||||
<p class="brand-subtitle">Low-stakes hold'em ledger and session tracker</p>
|
||||
</div>
|
||||
<nav class="nav-links">
|
||||
<a href="{{ url_for('leaderboard') }}">Leaderboard</a>
|
||||
<a href="{{ url_for('sessions') }}">Sessions</a>
|
||||
{% if is_admin %}
|
||||
<a href="{{ url_for('admin_dashboard') }}">Admin</a>
|
||||
<form method="post" action="{{ url_for('admin_logout') }}">
|
||||
<button class="ghost-button" type="submit">Logout</button>
|
||||
</form>
|
||||
{% else %}
|
||||
<a href="{{ url_for('admin_login') }}">Admin Login</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages %}
|
||||
<section class="flash-stack">
|
||||
{% for category, message in messages %}
|
||||
<div class="flash {{ category }}">{{ message }}</div>
|
||||
{% endfor %}
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
<main class="page-content">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user