1
0
Fork 0
forked from mirror/pixelfed
This commit is contained in:
Daniel Supernault 2019-06-17 13:00:52 -06:00
parent 38fa09df05
commit 36e15a52e4
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
3 changed files with 28 additions and 18 deletions

View file

@ -2,20 +2,23 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Applications</h3>
</div>
<hr>
<passport-authorized-clients></passport-authorized-clients>
<passport-personal-access-tokens></passport-personal-access-tokens>
<div class="title">
<h3 class="font-weight-bold">Applications</h3>
</div>
<hr>
@if(config('pixelfed.oauth_enabled') == true)
<passport-authorized-clients></passport-authorized-clients>
<passport-personal-access-tokens></passport-personal-access-tokens>
@else
<p class="lead">OAuth has not been enabled on this instance.</p>
@endif
@endsection
@push('scripts')
<script type="text/javascript" src="{{mix('js/developers.js')}}"></script>
<script type="text/javascript">
new Vue({
el: '#content'
});
new Vue({
el: '#content'
});
</script>
@endpush

View file

@ -2,19 +2,23 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Developers</h3>
</div>
<hr>
<passport-clients></passport-clients>
<div class="title">
<h3 class="font-weight-bold">Developers</h3>
</div>
<hr>
@if(config('pixelfed.oauth_enabled') == true)
<passport-clients></passport-clients>
@else
<p class="lead">OAuth has not been enabled on this instance.</p>
@endif
@endsection
@push('scripts')
<script type="text/javascript" src="{{mix('js/developers.js')}}"></script>
<script type="text/javascript">
new Vue({
el: '#content'
});
new Vue({
el: '#content'
});
</script>
@endpush

View file

@ -43,6 +43,7 @@
<a class="nav-link font-weight-light text-muted" href="{{route('settings.dataexport')}}">Data Export</a>
</li>
@if(config('pixelfed.oauth_enabled') == true)
<li class="nav-item">
<hr>
</li>
@ -52,6 +53,8 @@
<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>
</li>
@endif
<li class="nav-item">
<hr>
</li>