py app init + zitadel doku
This commit is contained in:
1 parent
5b649f96f2
commit
5a0260e4fd
23 files changed
+1071
-1
No files matched your search
@@ -0,0 +1,29 @@
|
||||
{#
|
||||
Datei: templates/base.html
|
||||
Autor: <Vorname Nachname>
|
||||
Datum: 2026-06-17
|
||||
Zweck: Basis-Layout für alle Seiten. Erwartet: session.user (optional).
|
||||
#}
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}OIDC Showcase{% endblock %}</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<span class="nav-brand">OIDC Showcase</span>
|
||||
{% if session.user %}
|
||||
<div class="nav-user">
|
||||
<span>{{ session.user.email }} · <em>{{ session.user.role }}</em></span>
|
||||
<a href="{{ url_for('main.logout') }}">Abmelden</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</nav>
|
||||
<main>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user