pixelfed/resources/views/admin/partial/sidebar.blade.php

37 lines
1.8 KiB
PHP
Raw Normal View History

2018-05-20 21:50:11 +00:00
<div class="col-12 col-md-3 py-3" style="border-right:1px solid #ccc;">
<ul class="nav flex-column settings-nav">
<li class="nav-item pl-3 {{request()->is('dashboard')?'active':''}}">
2018-09-01 02:26:56 +00:00
<a class="nav-link font-weight-bold text-muted" href="{{route('admin.home')}}">Dashboard</a>
2018-05-20 21:50:11 +00:00
</li>
<li class="nav-item pl-3 {{request()->is('alerts*')?'active':''}}">
2018-09-01 02:26:56 +00:00
<a class="nav-link font-weight-bold text-muted" href="#">Alerts</a>
2018-05-20 21:50:11 +00:00
</li>
<li class="nav-item">
<hr>
</li>
<li class="nav-item pl-3 {{request()->is('instances*')?'active':''}}">
2018-09-01 02:26:56 +00:00
<a class="nav-link font-weight-bold text-muted" href="#">Instances</a>
2018-05-20 21:50:11 +00:00
</li>
<li class="nav-item pl-3 {{request()->is('media*')?'active':''}}">
2018-09-01 02:26:56 +00:00
<a class="nav-link font-weight-bold text-muted" href="{{route('admin.media')}}">Media</a>
2018-05-20 21:50:11 +00:00
</li>
<li class="nav-item pl-3 {{request()->is('reports*')?'active':''}}">
2018-09-01 02:26:56 +00:00
<a class="nav-link font-weight-bold text-muted" href="{{route('admin.reports')}}">Reports</a>
2018-05-20 21:50:11 +00:00
</li>
<li class="nav-item pl-3 {{request()->is('statuses*')?'active':''}}">
2018-09-01 02:26:56 +00:00
<a class="nav-link font-weight-bold text-muted" href="{{route('admin.statuses')}}">Statuses</a>
2018-05-20 21:50:11 +00:00
</li>
<li class="nav-item pl-3 {{request()->is('users*')?'active':''}}">
2018-09-01 02:26:56 +00:00
<a class="nav-link font-weight-bold text-muted" href="{{route('admin.users')}}">Users</a>
2018-05-20 21:50:11 +00:00
</li>
<li class="nav-item">
<hr>
</li>
<li class="nav-item pl-3">
2018-09-01 02:26:56 +00:00
<a class="nav-link font-weight-bold text-muted" href="/horizon">Redis Queue</a>
2018-05-20 21:50:11 +00:00
</li>
<li class="nav-item pl-3 {{request()->is('settings*')?'active':''}}">
2018-09-01 02:26:56 +00:00
<a class="nav-link font-weight-bold text-muted" href="#">Settings</a>
2018-05-20 21:50:11 +00:00
</li>
</ul>
</div>