public: quick refactor

This commit is contained in:
2025-05-31 02:37:10 +03:00
parent 491e80f7dd
commit d6efdb607a
2 changed files with 18 additions and 27 deletions

View File

@@ -2,15 +2,15 @@
{% block content %}
<div class="container">
<h6>Please <a href="/login">log in</a> to see more details</h6>
{% include "inventory_filter.html" %}
<p><a class="waves-effect waves-light btn" href="/login?redirect_url={{ redirect_url }}">Log in</a> to see more items</p>
<table>
<thead>
<tr>
<th>Slug</th>
<th>Name</th>
<th>Type</th>
<th>In use</th>
</tr>
</thead>
<tbody>
@@ -24,10 +24,11 @@
</td>
<td><a href="/m/inventory/{{ item._id }}/view">{{ item | format_name }} {{ item.comment }}</a></td>
<td>{{ item.type }}</td>
<td>{% if item.inventory.user %}<i class="material-icons">check_circle</i>{% endif %}</td>
</tr>
{% endfor %}
</tbody>
</table>
<p><a class="waves-effect waves-light btn" href="/login?redirect_url={{ redirect_url }}">Log in</a> to see more items</p>
</div>
{% endblock %}