From 84a48b97d8e389381d8c4c434bdd860f16650e03 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Tue, 13 Dec 2022 19:36:42 +0100 Subject: [PATCH] component demo: add callouts --- public_html/pages/component.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/public_html/pages/component.php b/public_html/pages/component.php index a7792da..c778d7c 100644 --- a/public_html/pages/component.php +++ b/public_html/pages/component.php @@ -108,6 +108,19 @@ $aComponents=[ ] ], // ------------------------------------------------------------ + 'callout'=>[ + 'label'=>'Callout', + 'description'=>'Kind of infobox', + 'method'=>'getCallout', + + 'params'=>[ + 'type' => ['select'=>$aPresets['type'], 'default'=>'danger'], + 'class' => ['default'=>''], + 'title' => ['default'=>'I am a callout'], + 'text' => ['default'=>'Here is some description to whatever.'], + ] + ], + // ------------------------------------------------------------ 'infobox'=>[ 'label'=>'Infobox', 'description'=>'', -- GitLab