Make table responsive.
This commit is contained in:
parent
0d89adddcd
commit
975775b05f
1 changed files with 65 additions and 59 deletions
|
@ -27,6 +27,7 @@
|
|||
Liste des livres demandés
|
||||
<a href="{% url 'add_book' pk=teacher.pk %}" class="btn btn-primary">Ajouter un livre</a>
|
||||
</h2>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -48,7 +49,8 @@
|
|||
<tr>
|
||||
<th scope="row">
|
||||
<a title="Modifier"
|
||||
href="{% url 'edit_book' teacher_pk=book.teacher.pk pk=book.pk %}"><i class="fas fa-edit"></i></a>
|
||||
href="{% url 'edit_book' teacher_pk=book.teacher.pk pk=book.pk %}"><i
|
||||
class="fas fa-edit"></i></a>
|
||||
</th>
|
||||
<td>{{ book.level }}</td>
|
||||
<td>{{ book.field }}</td>
|
||||
|
@ -69,12 +71,14 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h2>
|
||||
Liste des fournitures demandées
|
||||
<a href="{% url 'add_supplies' pk=teacher.pk %}" class="btn btn-primary">Ajouter des fournitures</a>
|
||||
</h2>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -89,7 +93,8 @@
|
|||
<tr>
|
||||
<th scope="row">
|
||||
<a title="Modifier"
|
||||
href="{% url 'edit_supplies' teacher_pk=supply.teacher.pk pk=supply.pk %}"><i class="fas fa-edit"></i></a>
|
||||
href="{% url 'edit_supplies' teacher_pk=supply.teacher.pk pk=supply.pk %}"><i
|
||||
class="fas fa-edit"></i></a>
|
||||
</th>
|
||||
<td>{{ supply.level }}</td>
|
||||
<td>{{ supply.fields }}</td>
|
||||
|
@ -100,4 +105,5 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in a new issue