Moved sidebar menu out to seperate blade
This commit is contained in:
parent
6df5f185a2
commit
0c66b8a689
@ -30,11 +30,8 @@
|
|||||||
<!-- /.search form -->
|
<!-- /.search form -->
|
||||||
|
|
||||||
<!-- Sidebar Menu -->
|
<!-- Sidebar Menu -->
|
||||||
<ul class="sidebar-menu" data-widget="tree">
|
@include('adminlte::layouts.partials.sidebarmenu')
|
||||||
<li class="header">Menu</li>
|
<!-- /.sidebar-menu -->
|
||||||
<!-- Optionally, you can add icons to the links -->
|
|
||||||
<li class="active"><a href="{{ url('home',['date'=>(isset($ido) ? $ido->id : NULL)]) }}"><i class='fa fa-link'></i> <span>{{ trans('adminlte_lang::message.home') }}</span></a></li>
|
|
||||||
</ul><!-- /.sidebar-menu -->
|
|
||||||
</section>
|
</section>
|
||||||
<!-- /.sidebar -->
|
<!-- /.sidebar -->
|
||||||
</aside>
|
</aside>
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
<ul class="sidebar-menu" data-widget="tree">
|
||||||
|
<li class="header">Menu</li>
|
||||||
|
<!-- Optionally, you can add icons to the links -->
|
||||||
|
<li @if(Route::current()->getName() == 'home')class="active"@endif><a href="{{ url('home',['date'=>(isset($ido) ? $ido->id : NULL)]) }}"><i class='fa fa-link'></i> <span>{{ trans('adminlte_lang::message.home') }}</span></a></li>
|
||||||
|
</ul>
|
Loading…
Reference in New Issue
Block a user