30 lines
651 B
HTML
30 lines
651 B
HTML
|
{#
|
|||
|
SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
|
|||
|
|
|||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|||
|
#}
|
|||
|
|
|||
|
{% extends "base.html" %}
|
|||
|
{% block title %}{% block page_title %}Item List{% endblock %} – {{ branding }}{% endblock %}
|
|||
|
{% block page_actions %}
|
|||
|
<a class="btn btn-primary" href="/items/add">Add</a>
|
|||
|
{% endblock %}
|
|||
|
{% block main %}
|
|||
|
<table class="table">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>UUID</th>
|
|||
|
<th>Name</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
{% for item in items -%}
|
|||
|
<tr>
|
|||
|
<td><a href="/item/{{ item.id }}">{{ item.id }}</a></td>
|
|||
|
<td>{{ item.name }}</td>
|
|||
|
</tr>
|
|||
|
{% endfor -%}
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
{% endblock %}
|