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

38 lines
1.2 KiB
PHP
Raw Normal View History

2017-01-11 03:38:55 -08:00
@extends('layouts/default')
{{-- Page title --}}
@section('title')
{{ trans('account/general.personal_api_keys') }}
2017-01-11 03:38:55 -08:00
@parent
@stop
{{-- Page content --}}
@section('content')
<div class="row">
<div class="col-md-8">
@if (!config('app.lock_passwords'))
2023-11-14 09:50:27 -08:00
<livewire:personal-access-tokens />
@else
<p class="help-block">{{ trans('general.feature_disabled') }}</p>
@endif
</div>
<div class="col-md-4">
<div class="alert alert-warning"><i class="fas fa-exclamation-triangle faa-pulse animated"></i>
{{ trans('account/general.api_key_warning') }}
2021-11-02 02:13:22 -07:00
</div>
<p>{{ trans('account/general.api_base_url') }}<br>
<code>{{ url('/api/v1') }}{!! trans('account/general.api_base_url_endpoint') !!}</code></p>
<p>{{ trans('account/general.api_token_expiration_time') }}
2021-11-02 02:13:22 -07:00
<strong>{{ config('passport.expiration_years') }} {{ trans('general.years') }} </strong>.</p>
<p>{!! trans('account/general.api_reference') !!}</p>
</div>
</div>
2017-01-11 03:38:55 -08:00
@stop
@section('moar_scripts')
2017-09-28 19:45:15 -07:00
@endsection