Moved sidebar menu out to seperate blade

This commit is contained in:
Deon George 2018-05-01 11:09:55 +10:00
parent 6df5f185a2
commit 0c66b8a689
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254
2 changed files with 7 additions and 5 deletions

View File

@ -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>

View File

@ -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>