Files
inventory-app/inventory-app/templates/inventory_public.html
rasmus 7a773d3eca k6 links: https
Previously only http:// worked.
QR-code is kept http://, as the stickers were generated such.
2025-06-10 23:35:30 +03:00

35 lines
1008 B
HTML

{% extends 'base.html' %}
{% block content %}
<div class="container">
{% include "inventory_filter.html" %}
<p>Only listing items with 'Featured' visibility. <a class="waves-effect waves-light btn" href="/login?redirect_url={{ redirect_url }}">Log in</a></p>
<table>
<thead>
<tr>
<th>Slug</th>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody>
{% for item in items %}
<tr>
<td>
{% if item.shortener %}
<a href="https://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>
</tr>
{% endfor %}
</tbody>
</table>
<p>Only listing items with 'Featured' visibility. <a class="waves-effect waves-light btn" href="/login?redirect_url={{ redirect_url }}">Log in</a></p>
</div>
{% endblock %}