!20 add username to order and item
This commit is contained in:
parent
9d81464fd8
commit
511f12f10f
12 changed files with 147 additions and 24 deletions
|
@ -4,23 +4,29 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>{% block title %}Welcome!{% endblock %}</title>
|
||||
<link rel="icon" type="image/png" href="/static/img/slice-of-pizza.png" />
|
||||
<link rel="stylesheet" href="/static/css/simple.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.css">
|
||||
<style>
|
||||
label{
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
<script src="/static/js/htmx.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<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>
|
||||
<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>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue