forked from DGNum/gestioCOF
1499c0bced
K-Fêt - Wagtail - Page content becomes a StreamField. - GroupTeam snippet becomes a block for stream field. - Navigation menu moved becomes a "flatmenu", preventing possible future conflicts. - Page layout can be modified in wagtail admin. K-Fêt - Add shorthands for ukf account balance/article price. - Cleaning stylesheets and templates.
44 lines
947 B
HTML
44 lines
947 B
HTML
{% extends "kfet/base_col_2.html" %}
|
|
|
|
{% block title %}Inventaires{% endblock %}
|
|
{% block header-title %}Inventaires{% endblock %}
|
|
|
|
{% block fixed %}
|
|
|
|
<div class="buttons">
|
|
<a href="{% url 'kfet.inventory.create' %}" class="btn btn-primary">
|
|
<span class="glyphicon glyphicon-plus"></span>
|
|
<span>Nouveau</span>
|
|
</a>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
|
|
<div class="table-responsive">
|
|
<table class="table table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<td>Date</td>
|
|
<td>Par</td>
|
|
<td>Nb articles</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for inventory in inventories %}
|
|
<tr>
|
|
<td>
|
|
<a href="{% url 'kfet.inventory.read' inventory.pk %}">
|
|
<span>{{ inventory.at }}</span>
|
|
</a>
|
|
</td>
|
|
<td>{{ inventory.by }}</td>
|
|
<td>{{ inventory.nb_articles }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
{% endblock %}
|