Commit 33549081 by Francisco Salazar

menu automatico desplegable, nuevos slider y landings

parent 3ae1e768
......@@ -12,7 +12,7 @@
</a>
</li>
<li>
<li class="{{Request::is('admin/crm') ? 'active' : ''}}">
<a>
<span class="nav-caret">
<i class="fa fa-caret-down"></i>
......@@ -31,8 +31,29 @@
</ul>
</li>
@if((view()->exists("blog::entry.index")))
@if((view()->exists("slider::slider.index")))
<li class="{{Request::is('admin/slider/*') ? 'active' : ''}}">
<a>
<span class="nav-caret">
<i class="fa fa-caret-down"></i>
</span>
<span class="nav-icon">
<i class="fas fa-images"></i>
</span>
<span class="nav-text">Slider</span>
</a>
<ul class="nav-sub">
<li>
<a href="{{route('sliders.admin.slider.index')}}" >
<span class="nav-text">Sliders</span>
</a>
</li>
</ul>
</li>
@endif
@if((view()->exists("blog::entry.index")))
<li class="{{Request::is('admin/blog/*') ? 'active' : ''}}">
<a>
<span class="nav-caret">
<i class="fa fa-caret-down"></i>
......@@ -67,8 +88,29 @@
</li>
@endif
@if((view()->exists("product::product.index")))
@if((view()->exists("slider::slider.index")))
<li class="{{Request::is('admin/landings/*') || Request::is('admin/landings') ? 'active' : ''}}">
<a>
<span class="nav-caret">
<i class="fa fa-caret-down"></i>
</span>
<span class="nav-icon">
<i class="far fa-newspaper"></i>
</span>
<span class="nav-text">Landings</span>
</a>
<ul class="nav-sub">
<li>
<a href="{{route('landings.admin.landings.index')}}" >
<span class="nav-text">Landings</span>
</a>
</li>
</ul>
</li>
@endif
@if((view()->exists("product::product.index")))
<li class="{{Request::is('admin/product/*') ? 'active' : ''}}">
<a>
<span class="nav-caret">
<i class="fa fa-caret-down"></i>
......@@ -99,7 +141,7 @@
@endif
@if((view()->exists("product_resource::product.index")))
<li>
<li class="{{Request::is('admin/product_resources/*') ? 'active' : ''}}">
<a>
<span class="nav-caret">
<i class="fa fa-caret-down"></i>
......@@ -131,7 +173,7 @@
@endif
@if((view()->exists("shop::product.index")))
<li>
<li class="{{Request::is('admin/shop/*') ? 'active' : ''}}">
<a>
<span class="nav-caret">
<i class="fa fa-caret-down"></i>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment