mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
add view modal
This commit is contained in:
parent
d68f1e4cfa
commit
5615fc09e6
|
@ -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>
|
|
@ -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">×</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>
|
Loading…
Reference in a new issue