Skip to content
Snippets Groups Projects
Commit c632728c authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'fix-missing-files' into 'main'

update docs: add screenshots

See merge request !4
parents bb90d82d 4abcea10
No related branches found
No related tags found
1 merge request!4update docs: add screenshots
......@@ -2,6 +2,8 @@
An alert is a colored box with title and text.
![Alert](../images/examples_alert.png)
### Syntax
```php
......@@ -43,5 +45,5 @@ $renderAdminLTE->getAlert(array (
'title' => 'I need your attention',
'dismissible' => 1,
'text' => 'Please check it. Maybe there is something wrong here.',
))
));
```
......@@ -2,6 +2,8 @@
A badge is a small counter or info next to a text info,
![Badge](../images/examples_badge.png)
### Syntax
```php
......@@ -44,5 +46,5 @@ $renderAdminLTE->getBadge([
'type'=>'danger',
'title'=>'Errors: 5',
'text'=>'5',
])
]);;
```
......@@ -3,7 +3,9 @@
An html button tag with formatting.
You can use any other key that are not named here. Those keys will be rendered as additional html attributes without modification.
button
![Button](../images/examples_button.png)
### Syntax
......@@ -40,5 +42,5 @@ $renderAdminLTE->getButton([
'class'=>'primary',
'text'=>'Click me',
'onclick'=>'alert(\'Hello!\');'
])
]);
```
......@@ -2,6 +2,8 @@
A box with colored left border. It has type, title + text.
![Callout](../images/examples_callout.png)
### Syntax
```php
......@@ -37,5 +39,5 @@ $renderAdminLTE->getCallout(array (
'type' => 'success',
'title' => 'I am a success callout',
'text' => 'This is a gren callout.',
))
));
```
......@@ -4,6 +4,8 @@ A div to display boxed content.
It has header, main text and a footer.
![Card](../images/examples_card.png)
### Syntax
```php
......@@ -60,5 +62,5 @@ $renderAdminLTE->getCard(array (
'tools' => '123',
'text' => 'Hello everybody out there!',
'footer' => '© Axel',
))
));
```
......@@ -2,10 +2,12 @@
A div box - kind of a tile - to show an icon, text, value; optional with a progress bar.
![Infobox](../images/examples_infobox.png)
### Syntax
```php
$renderAdminLTE->getCard($aOptions);
$renderAdminLTE->getInfobox($aOptions);
```
### Return
......@@ -46,5 +48,5 @@ $renderAdminLTE->getInfobox(array (
'number' => '41,410',
'progressvalue' => 70,
'progresstext' => '70% Increase in 30 Days',
))
));
```
......@@ -2,6 +2,8 @@
Solid colored box to highlight a single value; optional with a link
![Smallbox](../images/examples_smallbox.png)
### Syntax
```php
......@@ -43,5 +45,5 @@ $renderAdminLTE->getSmallbox(array (
'number' => '150',
'url' => '#',
'linktext' => 'More info',
))
));
```
docs/images/examples_alert.png

68.9 KiB

docs/images/examples_badge.png

59.5 KiB

docs/images/examples_button.png

31.2 KiB

docs/images/examples_callout.png

55.2 KiB

docs/images/examples_card.png

62.1 KiB

docs/images/examples_infobox.png

60.7 KiB

docs/images/examples_smallbox.png

82.2 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment