snipe-it/resources/views/settings/api.blade.php

33 lines
906 B
PHP
Raw Normal View History

2017-01-11 01:02:32 -08:00
@extends('layouts/default')
{{-- Page title --}}
@section('title')
{{ trans('admin/settings/general.oauth_title') }}
2017-01-11 01:02:32 -08:00
@parent
@stop
2017-09-27 16:33:51 -07:00
@section('header_right')
<a href="{{ route('settings.index') }}" class="btn btn-default pull-right">{{ trans('general.back') }}</a>
@stop
2017-01-11 01:02:32 -08:00
{{-- Page content --}}
@section('content')
@if (!config('app.lock_passwords'))
2017-07-07 23:44:48 -07:00
<div id="app">
<passport-clients clients-url="{{ url('oauth/clients') }}"></passport-clients>
<passport-authorized-clients clients-url="{{ url('oauth/clients') }}" tokens-url="{{ url('oauth/tokens') }}"></passport-authorized-clients>
2017-07-07 23:44:48 -07:00
</div>
@else
<p class="text-warning"><i class="fas fa-lock"></i> {{ trans('general.feature_disabled') }}</p>
@endif
2017-01-11 01:02:32 -08:00
@stop
@section('moar_scripts')
2017-09-28 19:45:15 -07:00
<script nonce="{{ csrf_token() }}">
new Vue({
el: "#app",
});
</script>
2017-07-07 23:44:48 -07:00
@endsection