missing avatar styling
This commit is contained in:
parent
54411ad3c9
commit
11b8929b8b
7
public/css/custom.css
vendored
7
public/css/custom.css
vendored
@ -275,6 +275,13 @@ tbody .row {
|
|||||||
}
|
}
|
||||||
/*--------Item Column Image Finish--------*/
|
/*--------Item Column Image Finish--------*/
|
||||||
|
|
||||||
|
/*--------User Column Image--------*/
|
||||||
|
.user-img {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
|
/*--------User Column Image Finish--------*/
|
||||||
|
|
||||||
/*--------Border--------*/
|
/*--------Border--------*/
|
||||||
.border-1 {
|
.border-1 {
|
||||||
border: 1px solid #e5e5e5 !important;
|
border: 1px solid #e5e5e5 !important;
|
||||||
|
@ -54,11 +54,11 @@
|
|||||||
<td class="col-xs-4 col-sm-3 col-md-2 col-lg-3">
|
<td class="col-xs-4 col-sm-3 col-md-2 col-lg-3">
|
||||||
<a class="col-aka" href="{{ route('users.edit', $item->id) }}">
|
<a class="col-aka" href="{{ route('users.edit', $item->id) }}">
|
||||||
@if (setting('default.use_gravatar', '0') == '1')
|
@if (setting('default.use_gravatar', '0') == '1')
|
||||||
<img src="{{ $item->picture }}" alt="{{ $item->name }}" title="{{ $item->name }}">
|
<img src="{{ $item->picture }}" alt="{{ $item->name }}" class="rounded-circle user-img p-1 mr-3 hidden-md" title="{{ $item->name }}">
|
||||||
|
@elseif ($item->picture)
|
||||||
|
<img src="{{ Storage::url($item->picture->id) }}" class="rounded-circle user-img p-1 mr-3 hidden-md" alt="{{ $item->name }}" title="{{ $item->name }}">
|
||||||
@else
|
@else
|
||||||
@if ($item->picture)
|
<img src="{{ asset('public/img/user.svg') }}" class="user-img p-1 mr-3 hidden-md" alt="{{ $item->name }}"/>
|
||||||
<img src="{{ Storage::url($item->picture->id) }}" alt="{{ $item->name }}" title="{{ $item->name }}">
|
|
||||||
@endif
|
|
||||||
@endif
|
@endif
|
||||||
{{ $item->name }}
|
{{ $item->name }}
|
||||||
</a>
|
</a>
|
||||||
|
@ -211,7 +211,11 @@
|
|||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link pr-0" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
<a class="nav-link pr-0" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||||
<div class="media align-items-center">
|
<div class="media align-items-center">
|
||||||
<img src="{{ asset('public/img/user.svg') }}" height="36" width="36" alt="User"/>
|
@if ($user->picture)
|
||||||
|
<img src="{{ Storage::url($user->picture->id) }}" class="rounded-circle image-style user-img" alt="{{ $user->name }}"/>
|
||||||
|
@else
|
||||||
|
<img src="{{ asset('public/img/user.svg') }}" class="user-img" alt="{{ $user->name }}"/>
|
||||||
|
@endif
|
||||||
<div class="media-body ml-2 d-none d-lg-block">
|
<div class="media-body ml-2 d-none d-lg-block">
|
||||||
<span class="mb-0 text-sm font-weight-bold">
|
<span class="mb-0 text-sm font-weight-bold">
|
||||||
@if (!empty($user->name))
|
@if (!empty($user->name))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user