Initial commit
This commit is contained in:
@ -0,0 +1,58 @@
|
||||
<!--begin::Page title-->
|
||||
<div class="page-title d-flex flex-column justify-content-center flex-wrap me-3">
|
||||
@php
|
||||
$route = explode('.',Route::currentRouteName());
|
||||
@endphp
|
||||
|
||||
<!--begin::Title-->
|
||||
<h1 class="page-heading d-flex text-dark fw-bold fs-3 flex-column justify-content-center my-0 text-capitalize">
|
||||
{{ ucfirst(str_replace('-',' ',$route[0])) }}
|
||||
@if(count($route) > 1)
|
||||
@if($route[1] !== 'index' && $route[1] !== 'users')
|
||||
{{ $route[1] }}
|
||||
@endif
|
||||
@endif
|
||||
|
||||
</h1>
|
||||
<!--end::Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0 pt-1">
|
||||
<!--begin::Item-->
|
||||
<li class="breadcrumb-item text-muted">
|
||||
<a href="{{ route('dashboard') }}" class="text-muted text-hover-primary">Dashboard</a>
|
||||
</li>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<li class="breadcrumb-item">
|
||||
<span class="bullet bg-gray-400 w-5px h-2px"></span>
|
||||
</li>
|
||||
<!--end::Item-->
|
||||
|
||||
@if(count($route) > 1)
|
||||
@if($route[1] !== 'index' && $route[1] !=='users')
|
||||
<!--begin::Item-->
|
||||
<li class="breadcrumb-item text-muted text-capitalize">{{ ucfirst(str_replace('-',' ',$route[0])) }}</li>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<li class="breadcrumb-item">
|
||||
<span class="bullet bg-gray-400 w-5px h-2px"></span>
|
||||
</li>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<li class="breadcrumb-item text-muted text-capitalize">{{ ucfirst(str_replace('-',' ',$route[1]))}}</li>
|
||||
<!--end::Item-->
|
||||
@else
|
||||
<!--begin::Item-->
|
||||
<li class="breadcrumb-item text-muted text-capitalize">{{ ucfirst(str_replace('-',' ',$route[0])) }}</li>
|
||||
<!--end::Item-->
|
||||
@endif
|
||||
@else
|
||||
<!--begin::Item-->
|
||||
<li class="breadcrumb-item text-muted text-capitalize">{{ ucfirst(str_replace('-',' ',$route[0])) }}</li>
|
||||
<!--end::Item-->
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page title-->
|
Reference in New Issue
Block a user