summaryrefslogtreecommitdiffstats
path: root/tpl/views/menu.pug
blob: 5d0ec7c6373bd1f25593d24a1959ba64731ce64d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
                        strong= 'Bouncer'

                    +menu-separator

                    +menu-item
                        strong= 'Libera'
                    +menu-item(icon='hash')= 'achannel'
                    +menu-item(icon='hash')= 'kitsuneirc'
                    +menu-item(icon='green' iconIsStatus=true)= 'volpeon'
                    +menu-item(icon='red' iconIsStatus=true)= 'someone'

                    +menu-separator

                    +menu-item
                        strong= 'Ergo Testnet'

                    +menu-separator

                    +menu-item
                        strong= '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)