1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

migrate secrets to bootstrap 5 and deprecate jquery functions

This commit is contained in:
checktheroads
2021-04-17 17:18:13 -07:00
parent 726ab7fc05
commit eb951fdaf1
10 changed files with 294 additions and 86 deletions

View File

@@ -2,26 +2,26 @@
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="privkey_modal_title">
<h5 class="modal-title" id="privkey_modal_title">
<span class="mdi mdi-lock" aria-hidden="true"></span>
Enter your private RSA key
</h4>
Enter Private RSA Key
</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p>
<p class="small text-muted">
You do not have an active session key. To request one, please provide your private RSA key below.
Once retrieved, your session key will be saved for future requests.
</p>
<div class="form-group">
<textarea class="form-control" id="user_privkey" style="height: 300px;"></textarea>
</div>
<div class="form-group text-right noprint">
<button id="request_session_key" class="btn btn-primary" data-dismiss="modal">
Request session key
</button>
<textarea class="form-control font-monospace" id="user_privkey" style="height: 300px;"></textarea>
</div>
</div>
<div class="modal-footer float-end">
<button id="request_session_key" class="btn btn-primary" data-bs-dismiss="modal">
Request Session Key
</button>
</div>
</div>
</div>
</div>