User login updates
This commit is contained in:
parent
6d84613158
commit
c406c35ff7
@ -14,7 +14,7 @@
|
||||
<li class="breadcrumb-item"><a href="{{url($url)}}">{{ $item }}</a></li>
|
||||
@endforeach
|
||||
@endisset
|
||||
<li class="breadcrumb-item active">@yield('contentheader_title', 'Content Title')</li>
|
||||
<li class="breadcrumb-item active">@yield('page_title','Page Title')</li>
|
||||
</ol>
|
||||
</div><!-- /.col -->
|
||||
</div><!-- /.row -->
|
||||
|
@ -46,6 +46,8 @@
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@else
|
||||
<a href="{{ url('login') }}" class="text-muted pr-2"><i class="fa fa-lock"></i></a>
|
||||
@endif
|
||||
|
||||
<!-- Control Side Bar -->
|
||||
|
@ -11,10 +11,10 @@
|
||||
<!-- Sidebar user panel (optional) -->
|
||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||
<div class="image">
|
||||
<img src="{{ Gravatar::get($user->exists ? $user->email : 'nobody@example.com') }}" class="img-circle elevation-2" alt="User">
|
||||
<img src="{{ Gravatar::get(($user->exists AND $user->email) ? $user->email : 'nobody@example.com') }}" class="img-circle elevation-2" alt="User">
|
||||
</div>
|
||||
<div class="info">
|
||||
<a class="d-block">{{ $user->name ?: 'Nobody' }}</a>
|
||||
<a href="{{ url('login') }}" class="d-block">{{ $user->name ?: 'Nobody' }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user