2024-07-07 13:48:31 +02:00
|
|
|
|
{#
|
|
|
|
|
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>Name</th>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{% for item_class in item_classes -%}
|
|
|
|
|
<tr>
|
2024-07-08 20:42:56 +02:00
|
|
|
|
<td><a href="/item-class/{{ item_class.id }}">{{ item_class.name }}</a></td>
|
2024-07-07 13:48:31 +02:00
|
|
|
|
<td>{{ item_class.type }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endfor -%}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
{% endblock %}
|