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

70 lines
3.7 KiB
PHP
Raw Normal View History

2018-05-26 22:40:39 +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('settings/home')?'active':''}}">
2019-06-13 02:22:27 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('settings')}}">Account</a>
</li>
2019-04-28 22:49:37 +00:00
<li class="nav-item pl-3 {{request()->is('settings/accessibility')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.accessibility')}}">Accessibility</a>
</li>
<li class="nav-item pl-3 {{request()->is('settings/email')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.email')}}">Email</a>
</li>
@if(config('pixelfed.user_invites.enabled'))
<li class="nav-item pl-3 {{request()->is('settings/invites*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.invites')}}">Invites</a>
</li>
@endif
<li class="nav-item pl-3 {{request()->is('settings/notifications')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.notifications')}}">Notifications</a>
</li>
2019-06-13 05:56:35 +00:00
<li class="nav-item pl-3 {{request()->is('settings/password')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.password')}}">Password</a>
2019-04-28 22:49:37 +00:00
</li>
2018-08-31 04:19:31 +00:00
<li class="nav-item pl-3 {{request()->is('settings/privacy*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.privacy')}}">Privacy</a>
2018-05-26 22:40:39 +00:00
</li>
<li class="nav-item pl-3 {{request()->is('settings/relationships*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.relationships')}}">Relationships</a>
</li>
2019-06-13 05:56:35 +00:00
<li class="nav-item pl-3 {{request()->is('settings/reports*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.reports')}}">Reports</a>
</li>
2018-09-17 01:51:57 +00:00
<li class="nav-item pl-3 {{request()->is('settings/security*')?'active':''}}">
2018-08-10 09:22:36 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('settings.security')}}">Security</a>
</li>
{{-- <li class="nav-item pl-3 {{request()->is('settings/sponsor*')?'active':''}}">
2019-07-12 01:53:14 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('settings.sponsor')}}">Sponsor</a>
</li> --}}
2019-04-19 04:44:55 +00:00
<li class="nav-item">
2018-09-17 01:51:57 +00:00
<hr>
2018-08-10 09:22:36 +00:00
</li>
2020-05-26 03:32:03 +00:00
@if(config('pixelfed.import.instagram.enabled'))
2020-05-26 02:53:27 +00:00
<li class="nav-item pl-3 {{request()->is('*import*')?'active':''}}">
2019-04-28 22:49:37 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('settings.import')}}">Import</a>
2020-05-26 02:53:27 +00:00
</li>
2020-05-26 03:32:03 +00:00
@endif
2018-08-10 09:22:36 +00:00
<li class="nav-item pl-3 {{request()->is('settings/data-export')?'active':''}}">
2019-04-19 04:44:55 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('settings.dataexport')}}">Data Export</a>
2018-08-10 09:22:36 +00:00
</li>
2019-06-13 05:56:35 +00:00
2019-06-17 19:00:52 +00:00
@if(config('pixelfed.oauth_enabled') == true)
2019-04-28 22:49:37 +00:00
<li class="nav-item">
<hr>
</li>
2019-06-13 05:56:35 +00:00
{{-- <li class="nav-item pl-3 {{request()->is('settings/applications')?'active':''}}">
2019-04-28 22:49:37 +00:00
<a class="nav-link font-weight-light text-muted" href="{{route('settings.applications')}}">Applications</a>
2019-06-13 05:56:35 +00:00
</li> --}}
2019-04-28 22:49:37 +00:00
<li class="nav-item pl-3 {{request()->is('settings/developers')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.developers')}}">Developers</a>
2019-06-13 05:56:35 +00:00
</li>
2019-06-17 19:00:52 +00:00
@endif
2019-04-28 22:49:37 +00:00
<li class="nav-item">
<hr>
</li>
<li class="nav-item pl-3 {{request()->is('settings/labs*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.labs')}}">Labs</a>
</li>
2018-05-26 22:40:39 +00:00
</ul>
</div>