diff options
author | Volpeon <git@volpeon.ink> | 2022-02-07 18:37:09 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-07 18:37:09 +0100 |
commit | 8f49d0cba610e4829e183e81e4126aba136dfccc (patch) | |
tree | 528b2260c3c8aa2f5d544691797d4f8e7e008625 /tpl/index.pug | |
parent | Update (diff) | |
download | iro-design-8f49d0cba610e4829e183e81e4126aba136dfccc.tar.gz iro-design-8f49d0cba610e4829e183e81e4126aba136dfccc.tar.bz2 iro-design-8f49d0cba610e4829e183e81e4126aba136dfccc.zip |
Added action-menu
Diffstat (limited to 'tpl/index.pug')
-rw-r--r-- | tpl/index.pug | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tpl/index.pug b/tpl/index.pug index 206e40b..a59526e 100644 --- a/tpl/index.pug +++ b/tpl/index.pug | |||
@@ -15,6 +15,7 @@ include objects/form.pug | |||
15 | include objects/action-button.pug | 15 | include objects/action-button.pug |
16 | include objects/status-indicator.pug | 16 | include objects/status-indicator.pug |
17 | include objects/avatar.pug | 17 | include objects/avatar.pug |
18 | include objects/action-menu.pug | ||
18 | 19 | ||
19 | mixin box | 20 | mixin box |
20 | +container(padX=true padY=true inPage=true theme="raised") | 21 | +container(padX=true padY=true inPage=true theme="raised") |
@@ -435,3 +436,17 @@ html | |||
435 | +avatar(circle=true size='xs' hue=225) | 436 | +avatar(circle=true size='xs' hue=225) |
436 | = 'o' | 437 | = 'o' |
437 | +avatar(circle=true size='xs' src='avatar.png') | 438 | +avatar(circle=true size='xs' src='avatar.png') |
439 | |||
440 | //----------------------------------------- | ||
441 | |||
442 | +h1-heading(level='xl')= 'Action menu' | ||
443 | +rule(level='medium') | ||
444 | |||
445 | +box | ||
446 | +action-menu | ||
447 | +action-menu-item(icon='trash')= 'Item 1' | ||
448 | +action-menu-item= 'Item 2' | ||
449 | +action-menu-item= 'Item 3' | ||
450 | +action-menu-separator | ||
451 | +action-menu-item= 'Item 4' | ||
452 | |||