Move inventory to new repo

This commit is contained in:
2023-06-16 13:52:49 +03:00
commit 2b8820d4d7
25 changed files with 1903 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
{% extends 'base.html' %}
{% block content %}
<div class="container">
<h6>Please log in to see more details</h6>
{% include "inventory_filter.html" %}
<table>
<thead>
<tr>
<th>Slug</th>
<th>Name</th>
<th>Type</th>
<th>In use</th>
</tr>
</thead>
<tbody>
{% for item in items %}
<tr>
<td>
{% if item.shortener %}
<a href="http://k6.ee/{{ item.shortener.slug }}">{{ item.shortener.slug }}</a>
{% endif %}
</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>
</div>
{% endblock %}