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

update docs

parent 81920add
No related branches found
No related tags found
1 merge request!8Upgrade fontawesome v5 to v6
...@@ -6,12 +6,12 @@ For the top navigation and left the basic array looks like this: ...@@ -6,12 +6,12 @@ For the top navigation and left the basic array looks like this:
```php ```php
return [ return [
['href'=>'#', 'label'=>'Menu A', 'icon'=>'fas fa-home' ], ['href'=>'#', 'label'=>'Menu A', 'icon'=>'fa-solid fa-home' ],
['href'=>'#', 'label'=>'Menu B', 'icon'=>'fas fa-tv'], ['href'=>'#', 'label'=>'Menu B', 'icon'=>'fa-solid fa-tv'],
['href'=>'#', 'label'=>'Menu C', 'icon'=>'fas fa-truck-pickup', 'class'=>'active', ['href'=>'#', 'label'=>'Menu C', 'icon'=>'fa-solid fa-truck-pickup', 'class'=>'active',
'children'=>[ 'children'=>[
['href'=>'#', 'label'=>'FAQ' , 'icon'=>'fas fa-truck-monster'], ['href'=>'#', 'label'=>'FAQ' , 'icon'=>'fa-solid fa-truck-monster'],
['href'=>'#', 'label'=>'Support' , 'icon'=>'fas fa-truck-moving'], ['href'=>'#', 'label'=>'Support' , 'icon'=>'fa-solid fa-truck-moving'],
] ]
] ]
]; ];
......
...@@ -32,7 +32,7 @@ Content: ...@@ -32,7 +32,7 @@ Content:
Key | Description Key | Description
--- | --- --- | ---
icon | icon css class; eg. fontawesome "far fa-thumbs-up" icon | icon css class; eg. fontawesome "fa-regular fa-thumbs-up"
text | visible text text | visible text
number | Value as string, eg. to format large integers number | Value as string, eg. to format large integers
progressvalue | optional: integer: progress bar; range: 0..100 progressvalue | optional: integer: progress bar; range: 0..100
...@@ -45,7 +45,7 @@ $renderAdminLTE->getInfobox(array ( ...@@ -45,7 +45,7 @@ $renderAdminLTE->getInfobox(array (
'type' => 'success', 'type' => 'success',
'bgcolor' => '', 'bgcolor' => '',
'shadow' => '', 'shadow' => '',
'icon' => 'far fa-thumbs-up', 'icon' => 'fa-regular fa-thumbs-up',
'text' => 'Likes', 'text' => 'Likes',
'number' => '41,410', 'number' => '41,410',
'progressvalue' => 70, 'progressvalue' => 70,
......
...@@ -29,7 +29,7 @@ Content: ...@@ -29,7 +29,7 @@ Content:
Key | Description Key | Description
--- | --- --- | ---
icon | icon css class; eg. fontawesome "far fa-thumbs-up" icon | icon css class; eg. fontawesome "fa-regular fa-thumbs-up"
text | visible text text | visible text
number | Value as string, eg. to format large integers number | Value as string, eg. to format large integers
url | optional: url to set a link on the bottom url | optional: url to set a link on the bottom
...@@ -40,7 +40,7 @@ linktext | used if a url was given: linked text ...@@ -40,7 +40,7 @@ linktext | used if a url was given: linked text
```php ```php
$renderAdminLTE->getSmallbox(array ( $renderAdminLTE->getSmallbox(array (
'type' => 'info', 'type' => 'info',
'icon' => 'fas fa-shopping-cart', 'icon' => 'fa-solid fa-shopping-cart',
'text' => 'New orders', 'text' => 'New orders',
'number' => '150', 'number' => '150',
'url' => '#', 'url' => '#',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment