summaryrefslogtreecommitdiff
path: root/jimbrella/templates/admin/umbrellas.html
blob: 09b329a0fd871662901999803581ce72dd161dc2 (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
{% 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>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" %}
            {% block table %}{% endblock %}
        </div>
    </body>
</html>