Better callout for warning on api token page

This commit is contained in:
snipe 2020-12-09 08:19:04 -08:00
parent 5f76e03616
commit c0aa6c153e

View file

@ -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') }}/&lt;endpoint&gt;</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') }}/&lt;endpoint&gt;</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>