Moar icons

This commit is contained in:
Gabriel Augendre 2018-06-14 00:11:43 +02:00
parent efcee5b07f
commit 3c19affff1
2 changed files with 8 additions and 2 deletions

View file

@ -9,7 +9,10 @@
<h1>Bienvenue {{ teacher.full_name }}</h1> <h1>Bienvenue {{ teacher.full_name }}</h1>
<h2> <h2>
{% block title %}{{ verb }} {{ item }}{% endblock %} {% block title %}{{ verb }} {{ item }}{% endblock %}
<a href="{% url 'list_books' teacher.pk %}" class="btn btn-secondary">Retour à la liste des {{ item_plural }}</a> <a href="{% url 'list_books' teacher.pk %}" class="btn btn-secondary">
<i class="fas fa-arrow-circle-left"></i>
Retour à la liste des {{ item_plural }}
</a>
</h2> </h2>
{% if message_template %} {% if message_template %}
{% include message_template %} {% include message_template %}

View file

@ -22,7 +22,10 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent"> <div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto"> <ul class="navbar-nav ml-auto">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{% url 'admin:index' %}">Administration</a> <a class="nav-link" href="{% url 'admin:index' %}">
<i class="fas fa-door-open"></i>
Administration
</a>
</li> </li>
</ul> </ul>
</div> </div>