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

update code

parent 83ac1ce3
No related branches found
No related tags found
1 merge request!8Upgrade fontawesome v5 to v6
......@@ -18,12 +18,12 @@ $aReplace['{{NAVI_LEFT}}']=''
. $renderAdminLTE->addWrapper(
'nav', ['class'=>'mt-2'],
$renderAdminLTE->getSidebarNavigation([
['href'=>'#', 'label'=>'Menu A', 'icon'=>'fas fa-home' ],
['href'=>'#', 'label'=>'Menu B', 'icon'=>'fas fa-tv'],
['href'=>'#', 'label'=>'Menu C', 'icon'=>'fas fa-truck-pickup', 'class'=>'active',
['href'=>'#', 'label'=>'Menu A', 'icon'=>'fa-solid fa-home' ],
['href'=>'#', 'label'=>'Menu B', 'icon'=>'fa-solid fa-tv'],
['href'=>'#', 'label'=>'Menu C', 'icon'=>'fa-solid fa-truck-pickup', 'class'=>'active',
'children'=>[
['href'=>'#', 'label'=>'Subitem 1', 'icon'=>'fas fa-truck-monster'],
['href'=>'#', 'label'=>'Subitem 2', 'icon'=>'fas fa-truck-moving'],
['href'=>'#', 'label'=>'Subitem 1', 'icon'=>'fa-solid fa-truck-monster'],
['href'=>'#', 'label'=>'Subitem 2', 'icon'=>'fa-solid fa-truck-moving'],
]
]
])
......
......@@ -45,13 +45,13 @@ $aSidebarNav=include("./config/navi_left.php");
$aSidebarNav[1]['children'][]=[
'href'=>'/component?',
'label'=>'Overview',
'icon'=>'fas fa-th-large'
'icon'=>'fa-solid fa-th-large'
];
foreach($renderAdminLTE->getComponents(1) as $sId=>$aComponent){
$aSidebarNav[1]['children'][]=[
'href'=>'/component?id='.$sId,
'label'=>$aComponent['label'],
'icon'=>'fas fa-square-full'
'icon'=>'fa-solid fa-square-full'
];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment