2024-06-10 18:22:44 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>{% block title %}Welcome!{% endblock %}</title>
|
2024-07-10 21:39:28 +00:00
|
|
|
<link rel="icon" type="image/svg+xml"
|
|
|
|
href="{{ favicon }}" />
|
2024-07-29 11:04:57 +00:00
|
|
|
{% set currentDate = "now"|date("d") %}
|
|
|
|
{% if currentDate % 3 == 0 %}
|
|
|
|
<link rel="stylesheet" href="/static/css/new.min.css">
|
|
|
|
{% elseif currentDate % 3 == 1 %}
|
|
|
|
<link rel="stylesheet" href="/static/css/simple.min.css">
|
|
|
|
{% else %}
|
|
|
|
<link rel="stylesheet" href="/static/css/water.min.css">
|
|
|
|
{% endif %}
|
2024-06-27 21:33:32 +00:00
|
|
|
<style>
|
|
|
|
label{
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
</style>
|
2024-06-14 15:41:00 +00:00
|
|
|
<script src="/static/js/htmx.min.js"></script>
|
2024-06-10 18:22:44 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-06-27 21:33:32 +00:00
|
|
|
<header>
|
|
|
|
<p>Hello {{ app.request.cookies.get('username', 'nobody') }} - <a href="{{ path('username') }}">change name</a></p>
|
|
|
|
<nav>
|
|
|
|
<a href="{{ path('app_food_order_index') }}">Orders</a> /
|
|
|
|
<a href="{{ path('app_food_vendor_index') }}">Vendors</a> /
|
|
|
|
<a
|
|
|
|
href="https://hannover.ccc.de/gitlab/lubiana/futtern/issues/new"
|
|
|
|
target="_blank"
|
|
|
|
>Create Issue</a>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
{% block body %}{% endblock %}
|
|
|
|
</main>
|
|
|
|
</body>
|
2024-06-10 18:22:44 +00:00
|
|
|
</html>
|
2024-06-14 15:41:00 +00:00
|
|
|
|