40 lines
1.6 KiB
HTML
40 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>{% block title %}Ausgaben{% 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&display=swap" rel="stylesheet" />
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" />
|
|
{% block head %}{% endblock %}
|
|
</head>
|
|
<body>
|
|
<header class="topbar">
|
|
<div class="brand">
|
|
<span class="brand-dot"></span>
|
|
<span class="brand-name">Ausgaben</span>
|
|
</div>
|
|
<nav class="nav">
|
|
{% if current_user.is_authenticated %}
|
|
{% if current_user.is_admin %}<span class="badge">Admin</span>{% endif %}
|
|
<a class="nav-link" href="{{ url_for('bp.dashboard') }}">Dashboard</a>
|
|
<a class="nav-link" href="{{ url_for('bp.profil') }}">Profil</a>
|
|
{% if current_user.is_admin %}
|
|
<a class="nav-link" href="{{ url_for('bp.admin_view') }}">Gruppen & Benutzer</a>
|
|
{% endif %}
|
|
<span class="nav-user">{{ current_user.username }}</span>
|
|
<a class="btn btn-ghost" href="{{ url_for('bp.logout') }}">Abmelden</a>
|
|
{% endif %}
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="container">
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.7/dist/chart.umd.min.js"></script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html> |