snipe-it/resources/views/settings/api.blade.php
2017-09-28 19:45:15 -07:00

33 lines
723 B
PHP

@extends('layouts/default')
{{-- Page title --}}
@section('title')
OAuth API Settings
@parent
@stop
@section('header_right')
<a href="{{ route('settings.index') }}" class="btn btn-default pull-right">{{ trans('general.back') }}</a>
@stop
{{-- Page content --}}
@section('content')
@if (!config('app.lock_passwords'))
<div id="app">
<passport-clients></passport-clients>
<passport-authorized-clients></passport-authorized-clients>
</div>
@else
<p class="help-block">{{ trans('general.feature_disabled') }}</p>
@endif
@stop
@section('moar_scripts')
<script nonce="{{ csrf_token() }}">
new Vue({
el: "#app",
});
</script>
@endsection