U17: Zurück-Link zur Hauptseite (https://isa2.edumake.de) in Flask-Topbar

This commit is contained in:
David Kertzscher 2026-07-01 12:23:43 +00:00
parent b33d465c35
commit b6b8142707

14
app.py
View file

@ -63,6 +63,19 @@ def seite(inhalt):
}
.topbar nav a:hover { border-color: #ccc; background: #f5f5f5; }
.topbar nav a.aktiv { color: #cc181e; border-color: #cc181e; }
.topbar-back {
margin-left: auto;
font-size: 13px;
color: #167ac6;
text-decoration: none;
padding: 6px 14px;
border: 1px solid #167ac6;
border-radius: 2px;
font-weight: bold;
white-space: nowrap;
transition: background 0.15s, color 0.15s;
}
.topbar-back:hover { background: #167ac6; color: #fff; }
.container {
max-width: 900px;
margin: 30px auto;
@ -76,6 +89,7 @@ def seite(inhalt):
<nav>
<a href="/app/pinnwand" class="aktiv">Kommentare</a>
</nav>
<a href="https://isa2.edumake.de" class="topbar-back">&#8592; Zurück zur Website</a>
</div>
<div class="container">""" + inhalt + """
</div>