From dd2745a32d376a956538ea9329c508300d1c24f5 Mon Sep 17 00:00:00 2001 From: Matthias Evering Date: Tue, 5 Mar 2024 08:22:59 +0100 Subject: [PATCH 1/3] improve consistency of the look and feel of the two buttons d2024-03-05 t08:22 --- common/js/index-buttons.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/js/index-buttons.js b/common/js/index-buttons.js index c71e10c70..79e3522a6 100644 --- a/common/js/index-buttons.js +++ b/common/js/index-buttons.js @@ -30,7 +30,7 @@ document.addEventListener('DOMContentLoaded', async function() { // HIDE LOGIN BUTTON, ADD REGISTER BUTTON else { let loginArea = document.getElementById('loginStatusArea'); - let html = `` + let html = ` style="padding: 1em; border-radius:0.2em; font-size: 100%;margin: 0.75em 0 0.75em 0.5em !important; padding: 0.5em !important;background-color: #efe;"` let span = document.createElement("span") span.innerHTML = html loginArea.appendChild(span); @@ -41,4 +41,4 @@ document.addEventListener('DOMContentLoaded', async function() { signUpButton.style.display = "none"; } } -}) \ No newline at end of file +}) From c24c9b5d1d7249dbcc27679231513c9ea236f5f9 Mon Sep 17 00:00:00 2001 From: Matthias Evering Date: Wed, 6 Mar 2024 20:40:44 +0100 Subject: [PATCH 2/3] minor fix put style code inside brackets d2024-03-06 t20:40 --- common/js/index-buttons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/js/index-buttons.js b/common/js/index-buttons.js index 79e3522a6..0d5fb6d92 100644 --- a/common/js/index-buttons.js +++ b/common/js/index-buttons.js @@ -30,7 +30,7 @@ document.addEventListener('DOMContentLoaded', async function() { // HIDE LOGIN BUTTON, ADD REGISTER BUTTON else { let loginArea = document.getElementById('loginStatusArea'); - let html = ` style="padding: 1em; border-radius:0.2em; font-size: 100%;margin: 0.75em 0 0.75em 0.5em !important; padding: 0.5em !important;background-color: #efe;"` + let html = ` let span = document.createElement("span") span.innerHTML = html loginArea.appendChild(span); From 5a55d3865b8fccaa14b595faef43ecee8c498f7a Mon Sep 17 00:00:00 2001 From: Matthias Evering Date: Wed, 6 Mar 2024 20:49:57 +0100 Subject: [PATCH 3/3] yet again a minor fix put brackets inside "quote/apostrophe" d2024-03-06 t20:49 --- common/js/index-buttons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/js/index-buttons.js b/common/js/index-buttons.js index 0d5fb6d92..5c3abfb0f 100644 --- a/common/js/index-buttons.js +++ b/common/js/index-buttons.js @@ -30,7 +30,7 @@ document.addEventListener('DOMContentLoaded', async function() { // HIDE LOGIN BUTTON, ADD REGISTER BUTTON else { let loginArea = document.getElementById('loginStatusArea'); - let html = ` + let html = `` let span = document.createElement("span") span.innerHTML = html loginArea.appendChild(span);