photo/resources/views/vendor/adminlte/layouts/partials/sidebarmenu.blade.php

51 lines
2.3 KiB
PHP
Raw Permalink Normal View History

2019-11-23 01:51:30 +00:00
<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">
2024-08-25 08:26:29 +00:00
<i class="nav-icon fas fa-home"></i> <p>Home</p>
2019-11-23 01:51:30 +00:00
</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">
2024-08-25 08:26:29 +00:00
<i class="nav-icon fas fa-camera"></i> <p>PHOTOS<i class="fas fa-angle-left right"></i></p>
2019-11-23 01:51:30 +00:00
</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">
2024-08-25 08:26:29 +00:00
<i class="fas fa-link nav-icon"></i> <p>Duplicate</p>
<span class="badge badge-warning right">{{ \App\Models\Photo::duplicates()->count() }}</span>
2019-11-23 01:51:30 +00:00
</a>
</li>
2019-12-15 12:34:42 +00:00
2019-11-23 01:51:30 +00:00
<li class="nav-item">
2019-12-15 12:59:46 +00:00
<a href="{{ url('p/deletes') }}" class="nav-link @if(preg_match('#^p/deletes$#',request()->path())) active @endif">
2024-08-25 08:26:29 +00:00
<i class="fas fa-calendar nav-icon"></i> <p>Delete</p>
2019-11-23 01:51:30 +00:00
<span class="badge badge-danger right">{{ \App\Models\Photo::where('remove',TRUE)->count() }}</span>
</a>
</li>
</ul>
2019-12-15 12:34:42 +00:00
</li>
<li class="pt-3 nav-item has-treeview @if(preg_match('#^v/(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">
2024-08-25 08:26:29 +00:00
<i class="nav-icon fas fa-video"></i> <p>VIDEOS<i class="fas fa-angle-left right"></i></p>
2019-12-15 12:34:42 +00:00
</a>
<ul class="nav nav-treeview">
<li class="nav-item">
<a href="{{ url('v/duplicates') }}" class="nav-link @if(preg_match('#^v/duplicates$#',request()->path())) active @endif">
2024-08-25 08:26:29 +00:00
<i class="fas fa-link nav-icon"></i> <p>Duplicate</p>
<span class="badge badge-warning right">{{ \App\Models\Video::duplicates()->count() }}</span>
2019-12-15 12:34:42 +00:00
</a>
</li>
<li class="nav-item">
2019-12-15 12:59:46 +00:00
<a href="{{ url('v/deletes') }}" class="nav-link @if(preg_match('#^v/deletes$#',request()->path())) active @endif">
2024-08-25 08:26:29 +00:00
<i class="fas fa-calendar nav-icon"></i> <p>Delete</p>
2019-12-15 12:34:42 +00:00
<span class="badge badge-danger right">{{ \App\Models\Video::where('remove',TRUE)->count() }}</span>
</a>
</li>
</ul>
2019-11-23 01:51:30 +00:00
</li>