From 587cd130869ed17240f0447036c2b68f8a256a30 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 15 Oct 2023 16:34:45 +0200 Subject: Update --- tpl/objects/menu.pug | 9 +++++---- tpl/views/menu.pug | 16 ++++++++-------- 2 files changed, 13 insertions(+), 12 deletions(-) (limited to 'tpl') diff --git a/tpl/objects/menu.pug b/tpl/objects/menu.pug index 52cbe5e..1dd38ef 100644 --- a/tpl/objects/menu.pug +++ b/tpl/objects/menu.pug @@ -17,10 +17,11 @@ mixin menu mixin menu-item - let classes = { - 'o-menu__item': true, - 'l-media': true, - 'l-media--75': true, - 'is-selected': attributes.selected, + 'o-menu__item': true, + 'l-media': true, + 'l-media--75': true, + 'o-menu__header': attributes.header, + 'is-selected': attributes.selected, } if (attributes.class) { classes[attributes.class] = true; diff --git a/tpl/views/menu.pug b/tpl/views/menu.pug index 5d0ec7c..6d2cf10 100644 --- a/tpl/views/menu.pug +++ b/tpl/views/menu.pug @@ -12,13 +12,13 @@ mixin view-menu +menu-item(icon='tags')= 'Tags' +menu - +menu-item - strong= 'Bouncer' + +menu-item(header=true) + = 'Bouncer' +menu-separator - +menu-item - strong= 'Libera' + +menu-item(header=true) + = 'Libera' +menu-item(icon='hash')= 'achannel' +menu-item(icon='hash')= 'kitsuneirc' +menu-item(icon='green' iconIsStatus=true)= 'volpeon' @@ -26,13 +26,13 @@ mixin view-menu +menu-separator - +menu-item - strong= 'Ergo Testnet' + +menu-item(header=true) + = 'Ergo Testnet' +menu-separator - +menu-item - strong= 'NixNet' + +menu-item(header=true) + = 'NixNet' +menu +menu-header= 'Operators' -- cgit v1.2.3-70-g09d2