<!DOCTYPE html>
|
<html lang="de">
|
<head>
|
<meta charset="UTF-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<title>{% block title %}Server-Bibliothek{% endblock %}</title>
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
</head>
|
<body>
|
<div class="layout">
|
<aside class="sidebar">
|
<div class="brand">
|
<div class="brand-mark">SB</div>
|
<div class="brand-text">Server-Bibliothek<small>Software & Doku-Ablage</small></div>
|
</div>
|
<nav class="nav">
|
<a href="{{ url_for('dashboard') }}" class="{{ 'active' if request.endpoint == 'dashboard' }}">
|
<span class="nav-dot"></span> Software-Katalog
|
</a>
|
<a href="{{ url_for('protokolle') }}" class="{{ 'active' if request.endpoint in ['protokolle', 'protokoll_detail', 'zuweisung_neu'] }}">
|
<span class="nav-dot"></span> Protokolle
|
</a>
|
<a href="{{ url_for('einrichten') }}" class="{{ 'active' if request.endpoint == 'einrichten' }}">
|
<span class="nav-dot"></span> Rechner einrichten
|
</a>
|
</nav>
|
<div class="sidebar-foot">Version: {{ app_version }}</div>
|
</aside>
|
<main class="main">
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
{% if messages %}
|
{% for category, message in messages %}
|
<div class="flash flash-{{ category }}">{{ message }}</div>
|
{% endfor %}
|
{% endif %}
|
{% endwith %}
|
{% block content %}{% endblock %}
|
</main>
|
</div>
|
</body>
|
</html>
|