<!DOCTYPE html>
<html lang="de">

<head>
    <meta charset="UTF-8">
    <title>{% block title %}AutoKanban{% endblock %}</title>
    <link rel="stylesheet" href="/static/css/style.css">
</head>

<body>
    <header>
        <a href="/" class="logo-link">
            <img src="/static/images/logo.png" alt="Studio Einszwovier Logo" class="logo">
        </a>
        <nav>
            <a href="/">Startseite</a>
        </nav>
    </header>
    <main>
        {% block content %}{% endblock %}
    </main>
    <footer>
        <img src="/static/images/gvb-logo.png" alt="GVB Logo" class="footer-logo">
        &copy; studio einszwovier @ GvB Berlin
        <span style="float:right;">
            {% if admin %}
            <form method="post" action="/admin/logout" style="display:inline;">
                <button type="submit">Abmelden</button>
            </form>
            {% else %}
            <button onclick="document.getElementById('admin-login').style.display='block'" style="display:inline;">Admin
                Login</button>
            {% endif %}
        </span>
        {% block footer %}{% endblock %}
    </footer>
</body>

</html>