2021-03-16 16:46:39 +01:00
|
|
|
{% extends 'admin/layout.html.twig' %}
|
2021-03-16 22:30:44 +01:00
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="bg-light pl-5 pr-4 pt-5 pb-5">
|
|
|
|
<div class="d-flex">
|
|
|
|
<div class="mr-auto">
|
|
|
|
<h1 class="display-8">Catégories</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="ml-auto">
|
|
|
|
<button type="button" class="btn btn-primary">Nouveau</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class="table" data-table-fixed>
|
|
|
|
<thead class="thead-light">
|
|
|
|
<tr>
|
|
|
|
<th class="col-6">Titre</th>
|
|
|
|
<th class="col-4">Articles</th>
|
|
|
|
<th class="col-2 text-right">Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for item in range(1, 4) %}
|
|
|
|
<tr>
|
|
|
|
<td class="col-6">
|
|
|
|
<span class="font-weight-bold">Titre de la catégories</span> <br>
|
|
|
|
</td>
|
|
|
|
<td class="col-4">
|
|
|
|
<a href="" class="btn btn-sm btn-light">
|
|
|
|
<span class="font-weight-bold">5</span> articles
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td class="col-2 text-right">
|
|
|
|
<button type="button" class="btn btn-sm btn-primary mr-1">
|
|
|
|
<span class="fa fa-edit"></span>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-sm btn-danger">
|
|
|
|
<span class="fa fa-trash"></span>
|
|
|
|
</button>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|