Server changes

This commit is contained in:
teras
2018-01-31 16:44:00 +02:00
parent 4316c33533
commit 02157c7582
13 changed files with 269 additions and 74 deletions

View File

@@ -11,14 +11,8 @@
{% for item in inventory %}
{% if not item.hidden %}
<div class="col s12 m3">
<div class="card" style="height:350px;">
<div class="card">
<div class="card-content">
<div class="row" style="height:210px;">
<div class="col s12 m12">
<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 class="card-image">
{% if item.photo %}
<img src='/media/{{ item.photo }}'>
@@ -26,9 +20,11 @@
<img src='/media/missing_photo.png'>
{% endif %}
</div>
</div>
</div>
</br>
<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>