diff options
Diffstat (limited to 'tpl/views/dialog.pug')
-rw-r--r-- | tpl/views/dialog.pug | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tpl/views/dialog.pug b/tpl/views/dialog.pug new file mode 100644 index 0000000..6aaead5 --- /dev/null +++ b/tpl/views/dialog.pug | |||
@@ -0,0 +1,29 @@ | |||
1 | mixin view-dialog | ||
2 | +view('dialog', 'Dialog') | ||
3 | .c-box | ||
4 | +backdrop | ||
5 | +dialog('Lorem ipsum') | ||
6 | +slot('body') | ||
7 | = loremIpsum | ||
8 | |||
9 | .c-box | ||
10 | +backdrop | ||
11 | +dialog('Lorem ipsum')(bodyClass='l-overflow') | ||
12 | +slot('body') | ||
13 | p.u-mt-0= loremIpsum | ||
14 | p= loremIpsum | ||
15 | p= loremIpsum | ||
16 | p= loremIpsum | ||
17 | p= loremIpsum | ||
18 | |||
19 | .c-box | ||
20 | +backdrop | ||
21 | +dialog('Lorem ipsum')(noRule=true) | ||
22 | +slot('sidebar') | ||
23 | +menu(style={ 'min-width': '10em' }) | ||
24 | +menu-header= '#channel' | ||
25 | +menu-item(icon='bookmark')= 'Bookmark' | ||
26 | +menu-item(icon='tags', selected=true)= 'Tags' | ||
27 | +menu-item(icon='hash')= 'achannel' | ||
28 | +slot('body') | ||
29 | p.u-mt-0= loremIpsum | ||