2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-07 04:12:11 +00:00

Changed some category views to use boostrap list-group

- Looks much fancier!
This commit is contained in:
Oliver
2018-04-14 23:05:36 +10:00
parent 0e2c5e6af5
commit 204874dcb4
6 changed files with 220 additions and 24 deletions

View File

@@ -5,17 +5,16 @@
{% include "stock/loc_link.html" with location=location %}
{% if children|length > 0 %}
<table>
<tr><th>Sublocations</th></tr>
Storage locations:
<ul class="list-group">
{% for child in children %}
<tr>
<td><a href="/stock/list/?location={{ child.id }}">{{ child.name }}</a></td>
</tr>
<li class="list-group-item"><a href="/stock/list/?location={{ child.id }}">{{ child.name }}</a></li>
{% endfor %}
</table>
</ul>
{% endif %}
{% if items|length > 0 %}
Stock items:
<table>
<tr>
<th>Item</th>