Miglioramento icona utente generico
This commit is contained in:
parent
75eeee03ec
commit
b53704f00f
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
|
@ -469,15 +469,10 @@ if (Auth::check()) {
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">';
|
<div class="image">';
|
||||||
|
|
||||||
$user_photo = $user->photo;
|
$user_photo = $user->photo ?: $rootdir.'/assets/dist/img/user.png';
|
||||||
if ($user_photo) {
|
|
||||||
echo '
|
|
||||||
<img src="'.$user_photo.'" class="img-circle elevation-2" alt="'.$user['username'].'" />';
|
|
||||||
} else {
|
|
||||||
echo '
|
|
||||||
<i class="fa fa-user-circle-o fa-2x" alt="'.tr('Utente').'"></i>';
|
|
||||||
}
|
|
||||||
echo '
|
echo '
|
||||||
|
<img src="'.$user_photo.'" class="img-circle elevation-2" alt="'.$user['username'].'" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
|
|
@ -44,23 +44,16 @@ $module = Module::where('name', 'Utenti e permessi')->first();
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
<div class="card card-widget widget-user">
|
<div class="card card-widget widget-user">
|
||||||
<div class="widget-user-header bg-'.(($theme != 'default') ? $theme : 'primary').'">
|
<div class="widget-user-header bg-orange">
|
||||||
<h3 class="widget-user-username">'.$user['username'].'</h3>
|
<h3 class="widget-user-username">'.$user['username'].'</h3>
|
||||||
<h5 class="widget-user-desc">'.$user['gruppo'].'</h5>
|
<h5 class="widget-user-desc">'.$user['gruppo'].'</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="widget-user-image">';
|
<div class="widget-user-image">';
|
||||||
|
|
||||||
$user_photo = $user->photo;
|
$user_photo = $user->photo ?: $rootdir.'/assets/dist/img/user.png';
|
||||||
if ($user_photo) {
|
|
||||||
echo '
|
|
||||||
<img src="'.$user_photo.'" class="img-circle" alt="'.$user['username'].'" />';
|
|
||||||
} else {
|
|
||||||
echo '
|
|
||||||
<i style="color:white;margin-left:5px;" class="fa fa-user-circle-o fa-5x" alt="'.tr('OpenSTAManager').'"></i>';
|
|
||||||
}
|
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
|
<img src="'.$user_photo.'" class="img-circle" alt="'.$user['username'].'" />
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
Loading…
Reference in New Issue