From 1ae122fd45f1508287b8a0ea49b07ffc5d3abf85 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 26 Jun 2024 21:53:25 +0200 Subject: Update --- tpl/views/menu.pug | 68 ++++++++++++++---------------------------------------- 1 file changed, 17 insertions(+), 51 deletions(-) (limited to 'tpl/views/menu.pug') diff --git a/tpl/views/menu.pug b/tpl/views/menu.pug index c61cb92..34a15ce 100644 --- a/tpl/views/menu.pug +++ b/tpl/views/menu.pug @@ -1,54 +1,20 @@ mixin view-menu +view('menu', 'Menu') .c-box - div(style={ display: 'flex', gap: '3rem' }) - +menu - +menu-header= 'Category 1' - +menu-item= 'Mark as away' - +menu-item= 'Delete' - - +menu-header= 'Category 2' - +menu-item(icon='bookmark')= 'Bookmark' - +menu-item(icon='tags')= 'Tags' - - +menu - +menu-item(header=true) - = 'Bouncer' - - +menu-separator - - +menu-item(header=true) - = 'Libera' - +menu-item(icon='hash') - = 'achannel ' - +badge('primary')(size='sm')= '12 ' - +menu-item(icon='hash') - = 'kitsuneirc ' - +badge(size='sm')= '31 ' - +menu-item(icon='green' iconIsStatus=true) - = 'volpeon' - +menu-item(icon='red' iconIsStatus=true) - = 'someone' - - +menu-separator - - +menu-item(header=true) - = 'Ergo Testnet' - - +menu-separator - - +menu-item(header=true) - = 'NixNet' - - +menu - +menu-header= 'Operators' - +menu-item - +user-card('volpeon', 0) - +menu-item - +user-card('curiousfox', 90) - - +menu-header= 'Moderators' - +menu-item - +user-card('user3567', 135) - +menu-item - +user-card('johndoe', 270) + div(style={ display: 'flex', 'flex-direction': 'column', 'align-items': 'flex-start' }) + +action-button(quiet=true selected=true)= 'Menu' + +popover + +menu + +menu-slot(class='l-media l-media--flush') + +avatar(block=true circle=true size='100' src='avatar.png' class='l-media__block') + .l-media__block.l-media__block--main + strong.u-d-block= 'Volpeon' + small.u-d-block= '@volpeon@mk.vulpes.one' + +menu-separator + +menu-item(icon='user')= 'View profile' + +menu-item(icon='red' iconIsStatus=true)= 'Mark as away' + +menu-separator + +menu-item(icon='trash' disabled=true)= 'Delete' + +menu-item(icon='bookmark')= 'Bookmark' + +menu-item(icon='tags')= 'Tags' + +menu-item(postIcon='chevron-right')= 'More' -- cgit v1.2.3-70-g09d2