blob: f68104c34cc6d8c7f30a6cd1e2d719d5b113d7d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{% macro status_dropdown(umb) -%}
{# A dropdown for umbrella status #}
<select name="status">
{% for status in ["available", "lent", "overdue"] %}
<option value="{{ status }}"
{% if umb.status == status %}
selected
{% endif %}>
{{ status }}
</option>
{% endfor %}
</select>
{%- endmacro %}
<!DOCTYPE html>
<html>
<head>
<title>Umbrellas - JI Umbrella</title>
<link rel="stylesheet" href="/static/jimbrella.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<h1>All Umbrellas</h1>
<div id="container">
{% include "admin/tabs.html" %}
{% if error %}
<div class="banner-container">
<div class="banner error">{{ error }}</div>
</div>
{% endif %}
{% block table %}{% endblock %}
</div>
</body>
</html>
|