[WIP] Setup of skeleton
This commit is contained in:
24
resources/views/layout/contentheader.blade.php
Normal file
24
resources/views/layout/contentheader.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<h1>
|
||||
{{ $title }}
|
||||
@if(isset($subtitle))
|
||||
<small>{{ $subtitle }}</small>
|
||||
@endif
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li>
|
||||
<a href="{{ route('boilerplate.dashboard') }}">
|
||||
<i class="fa fa-home"></i> {{ __('boilerplate::layout.home') }}
|
||||
</a>
|
||||
</li>
|
||||
@if(isset($breadcrumb))
|
||||
@foreach($breadcrumb as $label => $route)
|
||||
@if(is_numeric($label))
|
||||
<li class="active">{{ $route }}</li>
|
||||
@elseif(is_array($route))
|
||||
<li><a href="{{ route($route[0], $route[1]) }}">{{ $label }}</a></li>
|
||||
@else
|
||||
<li><a href="{{ route($route) }}">{{ $label }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
</ol>
|
||||
Reference in New Issue
Block a user