From fec28a1a9589fc4702be90cf0c24d8d6743d35a1 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Mon, 12 Dec 2022 16:35:25 +0100 Subject: [PATCH] upodate docs --- docs/50_Components/10_Grid.md | 23 +++++++++++++++++++++++ docs/50_Components/Card.md | 2 ++ 2 files changed, 25 insertions(+) diff --git a/docs/50_Components/10_Grid.md b/docs/50_Components/10_Grid.md index 7ad3498..e295426 100644 --- a/docs/50_Components/10_Grid.md +++ b/docs/50_Components/10_Grid.md @@ -20,12 +20,35 @@ $renderAdminLTE->addRow([HTML code]); ## Columns +The grid has a width of 12 columns. With giving a number 1..12 you can set the witdth of your output container in the current row. + +```txt + + | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | + ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ + 12 x 1 | : : : : : : : : : : : | + |____:____:____:____:____:____:____:____:____:____:____:____| + ___________________________________________________________ + full: | | + 1 x 12 |___________________________________________________________| + _____________________________ _____________________________ + half: | | | + 2 x 6 |_____________________________|_____________________________| + ______________ _____________________________ ______________ + 3-6-3 | | | | + |______________|_____________________________|______________| +``` + ### Syntax ```php $renderAdminLTE->addCol([HTML code], [Width]); ``` +### Return + +{string} html code + ### Parameters * [HTML code] - {string} Html code of the visible content diff --git a/docs/50_Components/Card.md b/docs/50_Components/Card.md index db5066a..99d0bd8 100644 --- a/docs/50_Components/Card.md +++ b/docs/50_Components/Card.md @@ -54,6 +54,8 @@ tools | html code for upper right corner $renderAdminLTE->getCard(array ( 'type' => 'primary', 'variant' => 'solid', + 'tb-remove' => 1, + 'tb-collapse' => 1, 'title' => 'I am a card', 'tools' => '123', 'text' => 'Hello everybody out there!', -- GitLab