28 lines
1.2 KiB
PHP
28 lines
1.2 KiB
PHP
<li class="nav-header">MENU</li>
|
|
|
|
<li class="nav-item">
|
|
<a href="{{ url('home') }}" class="nav-link @if(preg_match('#^home/[0-9]+$#',request()->path()))active @endif">
|
|
<i class="nav-icon fa fa-home"></i> <p>Home</p>
|
|
</a>
|
|
</li>
|
|
|
|
<li class="pt-3 nav-item has-treeview @if(preg_match('#^p/(duplicate|delete)s#',request()->path()))menu-open @else menu-closed @endif">
|
|
<a href="#" class="nav-link @if(preg_match('#^/(duplicate|delete)s/[0-9]+#',request()->path())) active @endif">
|
|
<p>PHOTOS<i class="fa fa-angle-left right"></i></p>
|
|
</a>
|
|
|
|
<ul class="nav nav-treeview">
|
|
<li class="nav-item">
|
|
<a href="{{ url('p/duplicates') }}" class="nav-link @if(preg_match('#^p/duplicates$#',request()->path())) active @endif">
|
|
<i class="fa fa-link nav-icon"></i> <p>Duplicate</p>
|
|
<span class="badge badge-warning right">{{ \App\Models\Photo::where('duplicate',TRUE)->count() }}</span>
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a href="{{ url('p/deletes') }}" class="nav-link @if(preg_match('#^p/deletes$/'.'#',request()->path())) active @endif">
|
|
<i class="fa fa-calendar nav-icon"></i> <p>Delete</p>
|
|
<span class="badge badge-danger right">{{ \App\Models\Photo::where('remove',TRUE)->count() }}</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</li> |