diff options
author | Volpeon <git@volpeon.ink> | 2022-02-07 21:17:53 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-07 21:17:53 +0100 |
commit | 7213f51c4d982a2eaf988574f109d13f55dbc285 (patch) | |
tree | ca795995a04a2845324804d87bd4409d6dadc6b5 /tpl | |
parent | Improved action menu example (diff) | |
download | iro-design-7213f51c4d982a2eaf988574f109d13f55dbc285.tar.gz iro-design-7213f51c4d982a2eaf988574f109d13f55dbc285.tar.bz2 iro-design-7213f51c4d982a2eaf988574f109d13f55dbc285.zip |
Update
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/index.pug | 2 | ||||
-rw-r--r-- | tpl/objects/action-menu.pug | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/index.pug b/tpl/index.pug index 5112f87..b878944 100644 --- a/tpl/index.pug +++ b/tpl/index.pug | |||
@@ -449,7 +449,7 @@ html | |||
449 | +action-menu-item(icon='user')= 'View profile' | 449 | +action-menu-item(icon='user')= 'View profile' |
450 | +action-menu-item(icon='red' iconIsStatus=true)= 'Mark as away' | 450 | +action-menu-item(icon='red' iconIsStatus=true)= 'Mark as away' |
451 | +action-menu-separator | 451 | +action-menu-separator |
452 | +action-menu-item(icon='trash')= 'Delete' | 452 | +action-menu-item(icon='trash' disabled=true)= 'Delete' |
453 | +action-menu-item(icon='bookmark')= 'Bookmark' | 453 | +action-menu-item(icon='bookmark')= 'Bookmark' |
454 | +action-menu-item(icon='tags')= 'Tags' | 454 | +action-menu-item(icon='tags')= 'Tags' |
455 | +action-menu-item(postIcon='chevron-right')= 'More' | 455 | +action-menu-item(postIcon='chevron-right')= 'More' |
diff --git a/tpl/objects/action-menu.pug b/tpl/objects/action-menu.pug index e236b7c..0f690ce 100644 --- a/tpl/objects/action-menu.pug +++ b/tpl/objects/action-menu.pug | |||
@@ -14,7 +14,7 @@ mixin action-menu | |||
14 | block | 14 | block |
15 | 15 | ||
16 | mixin action-menu-item | 16 | mixin action-menu-item |
17 | button.o-action-menu__item.o-action-menu__item--native | 17 | button.o-action-menu__item.o-action-menu__item--native(disabled=attributes.disabled) |
18 | .l-card.l-card--flush | 18 | .l-card.l-card--flush |
19 | .l-card__block.o-action-menu__icon-slot | 19 | .l-card__block.o-action-menu__icon-slot |
20 | if attributes.icon | 20 | if attributes.icon |