This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
homepage-2017/templates/inventory.html

35 lines
1.1 KiB
HTML
Raw Normal View History

{% extends 'base.html' %}
{% block content %}
<div class="row container">
<div class="section slogan">
<h2 class="center-align" style="font-weight:bold">Inventory<br></h2>
</div>
</div>
<div class="row container challenges">
<div class="row">
{% for item in inventory %}
{% if not item.hidden %}
<div class="col s12 m3">
2018-01-31 14:44:00 +00:00
<div class="card">
<div class="card-content">
2018-01-31 15:52:23 +00:00
<div class="card-image">
{% if item.photo %}
<img src='/media/{{ item.photo }}'>
{% else %}
<img src='/media/missing_photo.png'>
{% endif %}
</div>
<div class="card-title"><b>{{ item.item_name }}</b></div>
<p>Serial: {{ item.serial_nr }}</p>
<p style="text-align: justify; max-height: 120px; overflow: auto;">{{ item.description }}</p>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endblock %}