add view modal

This commit is contained in:
spencerrlongg 2023-11-08 16:55:29 -06:00
parent d68f1e4cfa
commit 5615fc09e6
2 changed files with 32 additions and 0 deletions

View file

@ -79,4 +79,7 @@
<!-- Create Token Modal --> <!-- Create Token Modal -->
<x-personal-access-tokens.create-token-modal /> <x-personal-access-tokens.create-token-modal />
<!-- View New Token Modal -->
<x-personal-access-tokens.view-new-token />
</div> </div>

View file

@ -0,0 +1,29 @@
<div class="modal fade" id="modal-access-token" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button " class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">
Personal Access Token
</h4>
</div>
<div class="modal-body">
<p>
Here is your new personal access token. This is the only time it will be shown so don't lose it!
You may now use this token to make API requests.
</p>
<pre><code>
{{-- {{ accessToken }}--}}
</code></pre>
</div>
<!-- Modal Actions -->
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>