From 8f49d0cba610e4829e183e81e4126aba136dfccc Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 7 Feb 2022 18:37:09 +0100 Subject: Added action-menu --- tpl/index.pug | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tpl/index.pug') 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 include objects/action-button.pug include objects/status-indicator.pug include objects/avatar.pug +include objects/action-menu.pug mixin box +container(padX=true padY=true inPage=true theme="raised") @@ -435,3 +436,17 @@ html +avatar(circle=true size='xs' hue=225) = 'o' +avatar(circle=true size='xs' src='avatar.png') + + //----------------------------------------- + + +h1-heading(level='xl')= 'Action menu' + +rule(level='medium') + + +box + +action-menu + +action-menu-item(icon='trash')= 'Item 1' + +action-menu-item= 'Item 2' + +action-menu-item= 'Item 3' + +action-menu-separator + +action-menu-item= 'Item 4' + -- cgit v1.2.3-70-g09d2