diff --git a/docs/10_Description.md b/docs/10_Description.md index e3a0755dd1f91574d93c77bb593cfc3aaa4ec5eb..be529ef4ff1d992e7e8eed471a0442b768e7f55f 100644 --- a/docs/10_Description.md +++ b/docs/10_Description.md @@ -2,17 +2,18 @@ AdminLTE is a Bootstrap based framework to create admin like webinterfaces. -Two entry points for AdminLTE are: +To get an inpression: 2 entry points for AdminLTE are: * source: <https://adminlte.io/themes/v3/starter.html> * docs: <https://adminlte.io/docs/3.2/index.html> -The AdminLTE renderer class offers several methods to render +The AdminLTE renderer class offers several methods to render * the page * layout elements * components you can use on the page * navigation + * grid * boxes * buttons * ... diff --git a/docs/30_Page_layout.md b/docs/30_Page_layout.md index b1e58fad1d1c92af7e1c6c8429795d094c5c11da..2677ff708dbde98e16cb31cb5a3876e4c7e68db6 100644 --- a/docs/30_Page_layout.md +++ b/docs/30_Page_layout.md @@ -4,10 +4,10 @@ See file public_html/config/**00_page.tpl.php** - this is a basic page created f ### Helper variables -Variable | Description | Example ---- |--- |--- -{{DIR_ADMINLTE}} | base path to find AdminLTE resources | `/vendor/admin-lte/3.2.0` -{{DIR_ADMINLTEPLUGINS}} | base path for bootstrp, jquery, fontawesome | `/vendor/admin-lte-plugins` +Variable | Description | Example +--- |--- |--- +{{DIR_ADMINLTE}} | base path to find AdminLTE resources | `/vendor/admin-lte/3.2.0` +{{DIR_ADMINLTEPLUGINS}} | base path for bootstrap, jquery, fontawesome | `/vendor/admin-lte-plugins` ### Layout diff --git a/docs/50_Components/10_Grid.md b/docs/50_Components/10_Grid.md index 04e6da5e55af1eb1f016ec24793a1487fbace7ae..7ad34989300d8dd2f2c0565f063d4ebf4dec515b 100644 --- a/docs/50_Components/10_Grid.md +++ b/docs/50_Components/10_Grid.md @@ -10,6 +10,10 @@ You can use muliple rows ... and divide each row in multiple columns. The grid c $renderAdminLTE->addRow([HTML code]); ``` +### Return + +{string} html code + ### Parameters * [HTML code] - {string} Html code of the visible content diff --git a/docs/50_Components/Alert.md b/docs/50_Components/Alert.md index d4c1315d2d3a033989e812377e8e7c24c0a7bda3..822bf1bc0c7c6662b59b6c4c8eadc977c47a267a 100644 --- a/docs/50_Components/Alert.md +++ b/docs/50_Components/Alert.md @@ -8,6 +8,10 @@ An alert is a colored box with title and text. $renderAdminLTE->getAlert($aOptions); ``` +### Return + +{string} html code + ### Parameters * $aOptions - {array} options to describe the element diff --git a/docs/50_Components/Badge.md b/docs/50_Components/Badge.md index 2c91d00be0ef36c85f48e9d707f671dd801ae87f..8269e6dd919a440442116098976ef82e76a6e5eb 100644 --- a/docs/50_Components/Badge.md +++ b/docs/50_Components/Badge.md @@ -8,6 +8,10 @@ A badge is a small counter or info next to a text info, $renderAdminLTE->getBadge($aOptions); ``` +### Return + +{string} html code + ### Parameters * $aOptions - {array} options to describe the element diff --git a/docs/50_Components/Button.md b/docs/50_Components/Button.md index ddd0afb392b3fb7168f5ab25ec97882b9e37b8bf..006e776f76dccbad14cac02794b8b6f3b0a7ee3e 100644 --- a/docs/50_Components/Button.md +++ b/docs/50_Components/Button.md @@ -11,6 +11,10 @@ You can use any other key that are not named here. Those keys will be rendered a $renderAdminLTE->getButton($aOptions); ``` +### Return + +{string} html code + ### Parameters * $aOptions - {array} options to describe the element diff --git a/docs/50_Components/Callout.md b/docs/50_Components/Callout.md index f12fac6950e239199c119d571b6bc73e192810e7..2d23a33920c79fbde44dc94afb7af3a0c416e01c 100644 --- a/docs/50_Components/Callout.md +++ b/docs/50_Components/Callout.md @@ -8,6 +8,10 @@ A box with colored left border. It has type, title + text. $renderAdminLTE->getCallout($aOptions); ``` +### Return + +{string} html code + ### Parameters * $aOptions - {array} options to describe the element diff --git a/docs/50_Components/Card.md b/docs/50_Components/Card.md index 79a5fb2a4db847f27c2334b41a89c1aa931e4b4d..db5066abb3698ab4f68b99125111e32ce88bfb8e 100644 --- a/docs/50_Components/Card.md +++ b/docs/50_Components/Card.md @@ -10,6 +10,10 @@ It has header, main text and a footer. $renderAdminLTE->getCard($aOptions); ``` +### Return + +{string} html code + ### Parameters * $aOptions - {array} options to describe the element @@ -21,6 +25,19 @@ Key | Description class | optional: additional css classes type | one of [none]\|danger\|dark\|info\|primary\|secondary\|success\|warning variant | kind of coloring: one of<br>- "default" - titlebar is colored<br>- "outline" - a small stripe on top border is colored<br>- "solid" - whole card is colored<br>- "gradient" - whole card is colored with a gradient +state | window state. one of [none]\|collapsed\|maximized + +Toolbar icons: + +Set to true to show it; default: none of it is visible + +Key | Description +--- | --- +tb-collaps | +tb-expand | it is added automatically if you set 'state'=>'collapsed' +tb-maximize | +tb-minimize | it is added automatically if you set 'state'=>'maximized' +tb-remove | Content: diff --git a/docs/50_Components/Infobox.md b/docs/50_Components/Infobox.md index e411d55adcb25e403c35618a10538fe204e51805..6a1770466c34b356a852e1309bf36adeb7064b89 100644 --- a/docs/50_Components/Infobox.md +++ b/docs/50_Components/Infobox.md @@ -8,6 +8,10 @@ A div box - kind of a tile - to show an icon, text, value; optional with a progr $renderAdminLTE->getCard($aOptions); ``` +### Return + +{string} html code + ### Parameters * $aOptions - {array} options to describe the element diff --git a/docs/_index.md b/docs/_index.md index 86419955d34654cf6a22d114498816d3673740d2..028f95b47d18aaf4bbd889a08fc683a6b3ddffdf 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -2,7 +2,7 @@ <div class="hero"> <h2>AdminLTE 3 :: Renderer</h2> - PHP class to render elements of AdminLTE template + PHP class to render elements of the AdminLTE template </div> </html> diff --git a/docs/config.json b/docs/config.json index d06d672c0ca49c7b75477a7fec1986e24f29861f..d01624f1d8b93c68d03fd6a449897bcb39fb1dc8 100644 --- a/docs/config.json +++ b/docs/config.json @@ -1,7 +1,7 @@ { "title": "AdminLTE renderer", "author": "Axel Hahn", - "tagline": "PHP class to render elements of AdminLTE template", + "tagline": "PHP class to render elements of the AdminLTE template", "ignore": { "files": ["_skeleton.md"], "folders": ["99_Not_Ready"]