diff options
author | Volpeon <git@volpeon.ink> | 2023-10-15 16:34:45 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-10-15 16:34:45 +0200 |
commit | 587cd130869ed17240f0447036c2b68f8a256a30 (patch) | |
tree | 942b8c2af564a35f61a9eed65f619843889c6284 /tpl | |
parent | Update (diff) | |
download | iro-design-587cd130869ed17240f0447036c2b68f8a256a30.tar.gz iro-design-587cd130869ed17240f0447036c2b68f8a256a30.tar.bz2 iro-design-587cd130869ed17240f0447036c2b68f8a256a30.zip |
Update
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/objects/menu.pug | 9 | ||||
-rw-r--r-- | tpl/views/menu.pug | 16 |
2 files changed, 13 insertions, 12 deletions
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 | |||
17 | mixin menu-item | 17 | mixin menu-item |
18 | - | 18 | - |
19 | let classes = { | 19 | let classes = { |
20 | 'o-menu__item': true, | 20 | 'o-menu__item': true, |
21 | 'l-media': true, | 21 | 'l-media': true, |
22 | 'l-media--75': true, | 22 | 'l-media--75': true, |
23 | 'is-selected': attributes.selected, | 23 | 'o-menu__header': attributes.header, |
24 | 'is-selected': attributes.selected, | ||
24 | } | 25 | } |
25 | if (attributes.class) { | 26 | if (attributes.class) { |
26 | classes[attributes.class] = true; | 27 | 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 | |||
12 | +menu-item(icon='tags')= 'Tags' | 12 | +menu-item(icon='tags')= 'Tags' |
13 | 13 | ||
14 | +menu | 14 | +menu |
15 | +menu-item | 15 | +menu-item(header=true) |
16 | strong= 'Bouncer' | 16 | = 'Bouncer' |
17 | 17 | ||
18 | +menu-separator | 18 | +menu-separator |
19 | 19 | ||
20 | +menu-item | 20 | +menu-item(header=true) |
21 | strong= 'Libera' | 21 | = 'Libera' |
22 | +menu-item(icon='hash')= 'achannel' | 22 | +menu-item(icon='hash')= 'achannel' |
23 | +menu-item(icon='hash')= 'kitsuneirc' | 23 | +menu-item(icon='hash')= 'kitsuneirc' |
24 | +menu-item(icon='green' iconIsStatus=true)= 'volpeon' | 24 | +menu-item(icon='green' iconIsStatus=true)= 'volpeon' |
@@ -26,13 +26,13 @@ mixin view-menu | |||
26 | 26 | ||
27 | +menu-separator | 27 | +menu-separator |
28 | 28 | ||
29 | +menu-item | 29 | +menu-item(header=true) |
30 | strong= 'Ergo Testnet' | 30 | = 'Ergo Testnet' |
31 | 31 | ||
32 | +menu-separator | 32 | +menu-separator |
33 | 33 | ||
34 | +menu-item | 34 | +menu-item(header=true) |
35 | strong= 'NixNet' | 35 | = 'NixNet' |
36 | 36 | ||
37 | +menu | 37 | +menu |
38 | +menu-header= 'Operators' | 38 | +menu-header= 'Operators' |