Merge branch 'master' of git.darkou.fr:dbroqua/MyMusicLibrary

This commit is contained in:
Damien Broqua 2022-02-22 09:11:19 +01:00
commit 6e7ca62309
2 changed files with 7 additions and 0 deletions

View file

@ -53,4 +53,8 @@
border: 2px solid #4a4a4a; border: 2px solid #4a4a4a;
} }
} }
.total {
margin: 1rem 0;
}
} }

View file

@ -69,6 +69,9 @@
</div> </div>
</div> </div>
</div> </div>
<div class="total">
<strong>Nombre total d'éléments : </strong>{{total}}
</div>
<nav class="pagination" role="navigation" aria-label="pagination"> <nav class="pagination" role="navigation" aria-label="pagination">
<a class="pagination-previous" :class="{'is-disabled': page === 1}" @click="previous">Précédent</a> <a class="pagination-previous" :class="{'is-disabled': page === 1}" @click="previous">Précédent</a>
<a class="pagination-next" :class="{'is-disabled': !total || (page*limit) >= total}" @click="next">Suivant</a> <a class="pagination-next" :class="{'is-disabled': !total || (page*limit) >= total}" @click="next">Suivant</a>