feature+ui(members): issue #90 HTML - Use pagination

Add paginate into sib-display.
Add styles to buttons and span inside the new <nav> generated.
This commit is contained in:
Gaëlle Morin
2019-02-18 17:16:33 +01:00
parent 38fd951ac1
commit 6d9c958f34
6 changed files with 54 additions and 6 deletions

View File

@ -4,6 +4,10 @@ document.addEventListener('DOMContentLoaded', function (event) {
const menuWrappers = Array.from(document.querySelectorAll('.menu-wrapper'));
const btnRightMenu = document.querySelector('#jsOffsiteToggle');
const rightMenu = document.querySelector('#jsRightMenu');
const display = document.querySelector('sib-display#profiles-list');
const nav = display.querySelector("nav");
console.log(nav);
if (!navBar || !btnToggle) return;