diff options
Diffstat (limited to 'tpl/views/dialog.pug')
-rw-r--r-- | tpl/views/dialog.pug | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/tpl/views/dialog.pug b/tpl/views/dialog.pug index 6aaead5..0b6f8e7 100644 --- a/tpl/views/dialog.pug +++ b/tpl/views/dialog.pug | |||
@@ -18,10 +18,40 @@ mixin view-dialog | |||
18 | 18 | ||
19 | .c-box | 19 | .c-box |
20 | +backdrop | 20 | +backdrop |
21 | +dialog('Lorem ipsum')(noRule=true) | 21 | +dialog('Tags') |
22 | +slot('sidebar-header') | ||
23 | +div-heading('sm')(class='o-dialog__label')= '#channel' | ||
24 | +slot('sidebar') | ||
25 | +menu(style={ 'min-width': '10em' }) | ||
26 | +menu-item(icon='bookmark')= 'Bookmark' | ||
27 | +menu-item(icon='tags', selected=true)= 'Tags' | ||
28 | +menu-item(icon='hash')= 'achannel' | ||
29 | +slot('body') | ||
30 | p.u-mt-0= loremIpsum | ||
31 | |||
32 | .c-box | ||
33 | +backdrop | ||
34 | +dialog('#channel') | ||
35 | +slot('sidebar') | ||
36 | +menu(style={ 'min-width': '10em' }) | ||
37 | +menu-item(icon='bookmark')= 'Bookmark' | ||
38 | +menu-item(icon='tags', selected=true)= 'Tags' | ||
39 | +menu-item(icon='hash')= 'achannel' | ||
40 | +slot('body') | ||
41 | p.u-mt-0= loremIpsum | ||
42 | |||
43 | .c-box | ||
44 | +backdrop | ||
45 | +dialog | ||
46 | +slot('header') | ||
47 | .l-card.l-card--flush | ||
48 | .l-card__block.l-flex | ||
49 | +action-button(quiet=true icon='chevron-left') | ||
50 | +action-button(quiet=true icon='chevron-right') | ||
51 | .l-card__block.l-card__block--main | ||
52 | +div-heading('sm')= 'Tags' | ||
22 | +slot('sidebar') | 53 | +slot('sidebar') |
23 | +menu(style={ 'min-width': '10em' }) | 54 | +menu(style={ 'min-width': '10em' }) |
24 | +menu-header= '#channel' | ||
25 | +menu-item(icon='bookmark')= 'Bookmark' | 55 | +menu-item(icon='bookmark')= 'Bookmark' |
26 | +menu-item(icon='tags', selected=true)= 'Tags' | 56 | +menu-item(icon='tags', selected=true)= 'Tags' |
27 | +menu-item(icon='hash')= 'achannel' | 57 | +menu-item(icon='hash')= 'achannel' |