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

188 lines
6.7 KiB
PHP
Raw Permalink Normal View History

2021-05-25 05:24:42 +00:00
<nav class="sidenav navbar navbar-vertical fixed-left navbar-expand-xs navbar-light bg-white" id="sidenav-main">
<div class="scrollbar-inner">
<div class="sidenav-header align-items-center">
2022-01-21 07:27:30 +00:00
<a class="navbar-brand" href="/i/web">
2021-05-25 05:24:42 +00:00
<img src="/img/pixelfed-icon-color.svg" class="navbar-brand-img">
</a>
</div>
<div class="navbar-inner">
<div class="collapse navbar-collapse" id="sidenav-collapse-main">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link {{request()->is('i/admin/dashboard')?'active':''}} " href="/i/admin/dashboard">
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">Dashboard</span>
</a>
</li>
2023-05-17 10:10:07 +00:00
<li class="nav-item">
<a class="nav-link {{request()->is('*autospam*')?'active':''}}" href="{{route('admin.autospam')}}">
<i class="ni ni-bold-right text-primary"></i>
2024-02-19 11:00:31 +00:00
<span class="nav-link-text">Autospam</span>
2023-05-17 10:10:07 +00:00
</a>
</li>
2021-05-25 05:24:42 +00:00
<li class="nav-item">
<a class="nav-link {{request()->is('*messages*')?'active':''}}" href="{{route('admin.messages')}}">
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">Messages</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link {{request()->is('*reports*')?'active':''}}" href="{{route('admin.reports')}}">
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">Moderation</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link {{request()->is('*statuses*')?'active':''}}" href="{{route('admin.statuses')}}">
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">Statuses</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link {{request()->is('*users*')?'active':''}}" href="{{route('admin.users')}}">
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">Users</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link {{request()->is('*admin/settings')?'active':''}}" href="{{route('admin.settings')}}">
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">Settings</span>
</a>
</li>
2024-02-19 11:00:31 +00:00
@if((bool) config_cache('instance.curated_registration.enabled'))
<li class="nav-item">
<a class="nav-link {{request()->is('*admin/curated-onboarding*')?'active':''}}" href="{{route('admin.curated-onboarding')}}">
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">Curated Onboarding</span>
</a>
</li>
@endif
2021-05-25 05:24:42 +00:00
</ul>
<hr class="my-3">
2023-05-17 10:10:07 +00:00
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link {{request()->is('*custom-emoji*')?'active':''}}" href="{{route('admin.custom-emoji')}}">
<i class="ni ni-bold-right text-primary"></i>
2024-02-19 11:00:31 +00:00
<span class="nav-link-text">Custom Emoji</span>
2023-05-17 10:10:07 +00:00
</a>
</li>
2022-11-14 03:11:07 +00:00
2021-05-25 05:24:42 +00:00
<li class="nav-item">
2023-05-17 10:10:07 +00:00
<a class="nav-link {{request()->is('*hashtags*')?'active':''}}" href="{{route('admin.hashtags')}}">
2021-05-25 05:24:42 +00:00
<i class="ni ni-bold-right text-primary"></i>
2023-05-17 10:10:07 +00:00
<span class="nav-link-text">Hashtags</span>
2021-05-25 05:24:42 +00:00
</a>
</li>
2022-01-21 07:27:30 +00:00
<li class="nav-item">
2023-05-17 10:10:07 +00:00
<a class="nav-link {{request()->is('*instances*')?'active':''}}" href="{{route('admin.instances')}}">
2022-01-21 07:27:30 +00:00
<i class="ni ni-bold-right text-primary"></i>
2023-05-17 10:10:07 +00:00
<span class="nav-link-text">Instances</span>
2022-01-21 07:27:30 +00:00
</a>
</li>
<li class="nav-item">
2023-05-17 10:10:07 +00:00
<a class="nav-link {{request()->is('*media*')?'active':''}}" href="{{route('admin.media')}}">
<i class="ni ni-bold-right text-primary"></i>
2023-05-17 10:10:07 +00:00
<span class="nav-link-text">Media</span>
</a>
</li>
2021-05-25 05:24:42 +00:00
<li class="nav-item">
2023-05-17 10:10:07 +00:00
<a class="nav-link {{request()->is('*profiles*')?'active':''}}" href="/i/admin/profiles">
2021-05-25 05:24:42 +00:00
<i class="ni ni-bold-right text-primary"></i>
2023-05-17 10:10:07 +00:00
<span class="nav-link-text">Profiles</span>
2021-05-25 05:24:42 +00:00
</a>
</li>
2024-02-19 11:00:31 +00:00
{{-- <li class="nav-item">
<a class="nav-link {{request()->is('*roles*')?'active':''}}" href="{{route('admin.roles')}}">
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">Roles <span class="badge badge-primary ml-1">NEW</span></span>
</a>
</li> --}}
<li class="nav-item">
2023-05-17 10:10:07 +00:00
<a class="nav-link {{request()->is('*stories*')?'active':''}}" href="{{route('admin.stories')}}">
<i class="ni ni-bold-right text-primary"></i>
2024-02-19 11:00:31 +00:00
<span class="nav-link-text">Stories</span>
</a>
</li>
2023-05-17 10:10:07 +00:00
</ul>
<hr class="my-3">
<ul class="navbar-nav mb-md-3">
2021-05-25 05:24:42 +00:00
<li class="nav-item">
2023-05-17 10:10:07 +00:00
<a class="nav-link {{request()->is('*apps*')?'active':''}}" href="{{route('admin.apps')}}">
2021-05-25 05:24:42 +00:00
<i class="ni ni-bold-right text-primary"></i>
2023-05-17 10:10:07 +00:00
<span class="nav-link-text">Apps</span>
2021-05-25 05:24:42 +00:00
</a>
</li>
<li class="nav-item">
2023-05-17 10:10:07 +00:00
<a class="nav-link {{request()->is('*diagnostics*')?'active':''}}" href="{{route('admin.diagnostics')}}">
2021-05-25 05:24:42 +00:00
<i class="ni ni-bold-right text-primary"></i>
2024-02-19 11:00:31 +00:00
<span class="nav-link-text">Diagnostics</span>
2021-05-25 05:24:42 +00:00
</a>
</li>
2023-05-17 10:10:07 +00:00
<li class="nav-item">
<a class="nav-link {{request()->is('*directory*')?'active':''}}" href="{{route('admin.directory')}}">
<i class="ni ni-bold-right text-primary"></i>
2024-02-19 11:00:31 +00:00
<span class="nav-link-text">Directory</span>
2023-05-17 10:10:07 +00:00
</a>
</li>
2021-05-25 05:24:42 +00:00
<li class="nav-item">
2023-05-17 10:10:07 +00:00
<a class="nav-link" href="/horizon">
2021-05-25 05:24:42 +00:00
<i class="ni ni-bold-right text-primary"></i>
2023-05-17 10:10:07 +00:00
<span class="nav-link-text">Horizon</span>
2021-05-25 05:24:42 +00:00
</a>
</li>
2023-05-17 10:10:07 +00:00
2021-05-25 05:24:42 +00:00
<li class="nav-item">
2023-05-17 10:10:07 +00:00
<a class="nav-link {{request()->is('*site-news*')?'active':''}}" href="/i/admin/site-news">
2021-05-25 05:24:42 +00:00
<i class="ni ni-bold-right text-primary"></i>
2023-05-17 10:10:07 +00:00
<span class="nav-link-text">Newsroom</span>
2021-05-25 05:24:42 +00:00
</a>
</li>
<li class="nav-item">
2022-01-21 07:27:30 +00:00
<a class="nav-link {{request()->is('*settings/pages*')?'active':''}}" href="/i/admin/settings/pages">
2021-05-25 05:24:42 +00:00
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">Pages</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link {{request()->is('*stats')?'active':''}}" href="/i/admin/stats">
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">Stats</span>
</a>
</li>
2021-05-25 05:24:42 +00:00
<li class="nav-item">
<a class="nav-link {{request()->is('*settings/system')?'active':''}}" href="/i/admin/settings/system">
<i class="ni ni-bold-right text-primary"></i>
<span class="nav-link-text">System</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</nav>