From 4d3512a5d444890ea875b1ad235022963037baca Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Tue, 19 Sep 2023 17:15:52 +0200 Subject: [PATCH] update code --- public_html/example.php | 10 +++++----- public_html/index.php | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public_html/example.php b/public_html/example.php index 9dbd0b6..67c7dfe 100755 --- a/public_html/example.php +++ b/public_html/example.php @@ -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'], ] ] ]) diff --git a/public_html/index.php b/public_html/index.php index b41b0d0..add88f5 100755 --- a/public_html/index.php +++ b/public_html/index.php @@ -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' ]; } -- GitLab