Upgrade: Lisibilité du code

This commit is contained in:
Éric Li 2021-04-26 17:04:02 +02:00
parent 96d516fd13
commit 6cb79285b4

22
html/navigation.html Normal file
View File

@ -0,0 +1,22 @@
<nav class="level is-mobile">
<div class="level-left">
<div class="level-item">
<a class="button is-primary{% if not precedent %} is-static"{% else %} is-outlined" href="{{precedent}}"{% endif %}>
<span class="icon is-small">
<i class="fas fa-arrow-left"></i>
</span>
<span>Précédent</span>
</a>
</div>
</div>
<div class="level-right">
<div class="level-item">
<a class="button is-primary{% if not suivant %} is-static"{% else %} is-outlined" href="{{suivant}}"{% endif %}>
<span>Suivant</span>
<span class="icon is-small">
<i class="fas fa-arrow-right"></i>
</span>
</a>
</div>
</div>
</nav>