From 6374ea1e4196f46643ff53e6cd7cab0364d9e10c Mon Sep 17 00:00:00 2001 From: crowetic Date: Tue, 31 Dec 2024 19:48:34 -0800 Subject: [PATCH] Fixes for name-based AdminBoard cards publish issue, minor additional fixes. --- assets/css/forum-styles.css | 8 +- assets/js/AdminBoard.js | 204 ++++++++++++++++-------------------- assets/js/Q-Mintership.js | 93 ++++++++++------ index.html | 21 +++- 4 files changed, 173 insertions(+), 153 deletions(-) diff --git a/assets/css/forum-styles.css b/assets/css/forum-styles.css index 8cff991..e90ff43 100644 --- a/assets/css/forum-styles.css +++ b/assets/css/forum-styles.css @@ -370,12 +370,12 @@ .attachment button { align-self: flex-end; - margin-top: 1vh; - background-color: #0f4c41; + margin-top: 0.8vh; + background-color: #0f364c; color: #ffffff; - border: dotted; + border-style: ridge; border-radius: 1vh; - padding: 0.3vh 0.6vh; + padding: 0.15vh 0.3vh; cursor: pointer; } diff --git a/assets/js/AdminBoard.js b/assets/js/AdminBoard.js index 783011d..149b63f 100644 --- a/assets/js/AdminBoard.js +++ b/assets/js/AdminBoard.js @@ -1,7 +1,7 @@ // NOTE - Change isTestMode to false prior to actual release ---- !important - You may also change identifier if you want to not show older cards. const isEncryptedTestMode = false const encryptedCardIdentifierPrefix = "card-MAC" -let isExistingEncryptedCard = false +let isUpdateCard = false let existingDecryptedCardData = {} let existingEncryptedCardIdentifier = {} let cardMinterName = {} @@ -19,7 +19,7 @@ const loadAdminBoardPage = async () => { for (let i = bodyChildren.length - 1; i >= 0; i--) { const child = bodyChildren[i]; if (!child.classList.contains("menu")) { - child.remove(); + child.remove() } } @@ -35,17 +35,17 @@ const loadAdminBoardPage = async () => {