diff --git a/public_html/pages/components/badges.php b/public_html/pages/components/badges.php index cb74a8f381c9cda1cb5caf9e8c9439b9cc710185..38f6ac40d551125a0b18b68febf1dc287a0aaab0 100644 --- a/public_html/pages/components/badges.php +++ b/public_html/pages/components/badges.php @@ -4,7 +4,9 @@ echo $renderAdminLTE->addRow( '<h2>Badges</h2>' ) -.print_r($renderAdminLTE->showKeyHelp("color"), 1) + +// .print_r($renderAdminLTE->showKeyHelp("color"), 1) + .$renderAdminLTE->addRow( '<h3>Syntax</h3> <pre> diff --git a/public_html/pages/components/cards.php b/public_html/pages/components/cards.php index 34c64a3fa4d31198f0251efa01ecb61f47771f43..d183ee384c1f0e2dd31b14d252bb8b2f98738188 100644 --- a/public_html/pages/components/cards.php +++ b/public_html/pages/components/cards.php @@ -13,7 +13,6 @@ $aCard=[ echo $renderAdminLTE->addRow( '<h2>Cards</h2>' ) -.print_r($renderAdminLTE->showKeyHelp("color"), 1) .$renderAdminLTE->addRow( '<h3>Syntax</h3> <pre> @@ -21,6 +20,12 @@ echo $renderAdminLTE->addRow( </pre> ' ) + +// .showExample('"hello"') +// .showExample('"'.var_export($aCard, 1).'"') + +.showExample('$renderAdminLTE->getCard('.var_export($aCard, 1).')') + /* .$renderAdminLTE->addRow( '<h3>Keys</h3> @@ -66,7 +71,6 @@ echo $renderAdminLTE->addRow( </pre> ' ) -*/ .$renderAdminLTE->addRow( '<h3>Test</h3> @@ -80,4 +84,6 @@ echo $renderAdminLTE->addRow( </p> ' ) +*/ + ; \ No newline at end of file diff --git a/public_html/pages/index.php b/public_html/pages/index.php index f42a6ae86c35c64b51a8a4a953aad90eaecf48f5..91f69739ae5026ee3d56d9d364f12eaaabe7fe6d 100644 --- a/public_html/pages/index.php +++ b/public_html/pages/index.php @@ -1 +1,13 @@ -<h1>Welome!</h1> \ No newline at end of file +<?php +echo $renderAdminLTE->addRow( + '<h2>Welcome</h2>' +) +.$renderAdminLTE->addRow( + $renderAdminLTE->getCard([ + 'title'=>'Examples', + 'text'=>' + Here are a few examples. + ', + ]) +) +; \ No newline at end of file