32 lines
758 B
HTML
32 lines
758 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 Class List{% endblock %} – {{ branding }}{% endblock %}
|
|||
|
{% block page_actions %}
|
|||
|
<a class="btn btn-primary" href="/item-classes/add">Add</a>
|
|||
|
{% endblock %}
|
|||
|
{% block main %}
|
|||
|
<table class="table">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>UUID</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Type</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
{% for item_class in item_classes -%}
|
|||
|
<tr>
|
|||
|
<td><a href="/item-class/{{ item_class.id }}">{{ item_class.id }}</a></td>
|
|||
|
<td>{{ item_class.name }}</td>
|
|||
|
<td>{{ item_class.type }}</td>
|
|||
|
</tr>
|
|||
|
{% endfor -%}
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
{% endblock %}
|