A free open source IT asset/license management system
Better callout for warning on api token page
snipec0aa6c153e05
diff --git a/resources/views/account/api.blade.php b/resources/views/account/api.blade.phpindex 1bb5c282a9..fe6ef5da17 100644--- a/resources/views/account/api.blade.php+++ b/resources/views/account/api.blade.php@@ -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>