summaryrefslogtreecommitdiffstats
path: root/tpl/views/action-menu.pug
blob: 3357caa9d62cd3a1c223868934be82e161ada4c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
mixin view-action-menu 
    +view('action-menu', 'Action menu')
        .c-box
            div(style={ display: 'flex', 'flex-direction': 'column', 'align-items': 'flex-start' })
                +action-button(quiet=true selected=true)= 'Menu'
                +action-menu
                    +action-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'
                    +action-menu-separator
                    +action-menu-item(icon='user')= 'View profile'
                    +action-menu-item(icon='red' iconIsStatus=true)= 'Mark as away'
                    +action-menu-separator
                    +action-menu-item(icon='trash' disabled=true)= 'Delete'
                    +action-menu-item(icon='bookmark')= 'Bookmark'
                    +action-menu-item(icon='tags')= 'Tags'
                    +action-menu-item(postIcon='chevron-right')= 'More'