Admin-Panel: Schema-Designer, Dropzone mit Auto-Erkennung, Linkliste, Versionen
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
30
app/templates/admin/base.html
Normal file
30
app/templates/admin/base.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% block title %}QR-Tabellen{% endblock %} · Admin</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='admin.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<header class="topbar">
|
||||
<span class="brand">QR-Tabellen</span>
|
||||
<nav>
|
||||
<a href="{{ url_for('admin_index') }}">Übersicht</a>
|
||||
<a href="{{ url_for('admin_new') }}">Neue Tabelle</a>
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages %}
|
||||
<ul class="flash">
|
||||
{% for category, message in messages %}
|
||||
<li class="flash-{{ category }}">{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user