diff --git a/weed/admin/static/js/admin.js b/weed/admin/static/js/admin.js index 6dc11380c..3fb131816 100644 --- a/weed/admin/static/js/admin.js +++ b/weed/admin/static/js/admin.js @@ -2120,7 +2120,7 @@ function showModal(title, content) { modalDiv.setAttribute('role', 'dialog'); const modalDialog = document.createElement('div'); - modalDialog.className = 'modal-dialog'; + modalDialog.className = 'modal-dialog modal-lg'; modalDialog.setAttribute('role', 'document'); const modalContent = document.createElement('div'); @@ -2207,6 +2207,16 @@ function showSecretKey(accessKey, secretKey) { +
+ +
+ + +
+
`; showModal('Access Key Details', content); @@ -2222,6 +2232,10 @@ function showNewAccessKeyModal(accessKeyData) { Success! Your new access key has been created. +
+ + Important: This is the only time the secret key will be displayed. Please save it securely. +
@@ -2240,6 +2254,16 @@ function showNewAccessKeyModal(accessKeyData) {
+
+ +
+ + +
+
`; showModal('New Access Key Created', content);