#issue-13 (#15)

#issue-13

Co-authored-by: dbroqua <contact@darkou.fr>
Reviewed-on: dbroqua/MyMusicLibrary#15
Co-authored-by: Damien Broqua <dbroqua@noreply.localhost>
Co-committed-by: Damien Broqua <dbroqua@noreply.localhost>
This commit is contained in:
Damien Broqua 2022-02-22 08:43:52 +01:00
parent 6f47666205
commit 248c6da30d
2 changed files with 7 additions and 0 deletions

View file

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

View file

@ -69,6 +69,9 @@
</div>
</div>
</div>
<div class="total">
<strong>Nombre total d'éléments : </strong>{{total}}
</div>
<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-next" :class="{'is-disabled': !total || (page*limit) >= total}" @click="next">Suivant</a>