30 lines
921 B
HTML
30 lines
921 B
HTML
{% extends "shared/base.html" %}
|
|
{% load render_table from django_tables2 %}
|
|
{% load bootstrap3 %}
|
|
{% load i18n staticfiles %}
|
|
|
|
{% block title %}{% trans "Matériel" %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1 class="equipment">Inventaire</h1>
|
|
{% if subtitle %}
|
|
<h2 class="equipment">{{ subtitle }}</h2>
|
|
{% endif %}
|
|
{% render_table table %}
|
|
{% endblock %}
|
|
|
|
{% block aside %}
|
|
<div class="heading">
|
|
{{ nb_type }} <span class="sub">{% trans "référence" %}{{ nb_type|pluralize}}</span>
|
|
</div>
|
|
<div class="heading separator">
|
|
{{ stock }} <span class="sub">{% trans "item" %}{{ stock|pluralize}}</span>
|
|
</div>
|
|
{% if filter %}
|
|
<div class="text inverted">
|
|
<form id="filter_form" action="" method="get" class="form form-inline">
|
|
{% bootstrap_form filter.form layout='horizontal' size='lg' %}
|
|
</form>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|