mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Better callout for warning on api token page
This commit is contained in:
parent
5f76e03616
commit
c0aa6c153e
|
@ -23,13 +23,19 @@
|
|||
@endif
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<p>When you generate an API token, be sure to copy it down immediately as they will not be visible to you again. </p>
|
||||
|
||||
<p>API tokens will expire in: <strong>{{ config('passport.expiration_years') }} years</strong>.</p>
|
||||
<div class="alert alert-warning"><i class="fa fa-warning faa-pulse animated"></i>
|
||||
When generating an API token, be sure to copy it down immediately as they
|
||||
will not be visible to you again. </div>
|
||||
|
||||
<p>Your API base url is located at:<br>
|
||||
<code>{{ url('/api/v1') }}/<endpoint></code></p>
|
||||
<p>Please check the <a href="https://snipe-it.readme.io/reference">API reference</a> to find specific API endpoints.</p>
|
||||
<code>{{ url('/api/v1') }}/<endpoint></code></p>
|
||||
|
||||
<p>API tokens are set to expire in:
|
||||
<strong>{{ config('passport.expiration_years') }} years</strong>.</p>
|
||||
|
||||
|
||||
<p>Please check the <a href="https://snipe-it.readme.io/reference" target="_blank">API reference</a> to
|
||||
find specific API endpoints and additional API documentation.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue