From 49461e73e499c6a72db9fd21373a104ebc42bdac Mon Sep 17 00:00:00 2001
From: ericb
Date: Wed, 4 Dec 2024 09:11:53 +0100
Subject: [PATCH 1/5] Renamed js file and added tooltips support
---
static/js/{menu.js => js.js} | 8 ++++++++
1 file changed, 8 insertions(+)
rename static/js/{menu.js => js.js} (68%)
diff --git a/static/js/menu.js b/static/js/js.js
similarity index 68%
rename from static/js/menu.js
rename to static/js/js.js
index 98b7acc..4348468 100644
--- a/static/js/menu.js
+++ b/static/js/js.js
@@ -1,3 +1,10 @@
+/* tooltips */
+function initTooltips(section) {
+ const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
+ const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl));
+}
+
+
document.addEventListener("DOMContentLoaded", function() {
const offmenu = document.getElementById("offSideMenu");
const sidemenu = document.getElementById("secondary-nav");
@@ -15,4 +22,5 @@ document.addEventListener("DOMContentLoaded", function() {
const mediaQuery = window.matchMedia("(max-width: 992px)");
toggleMenus(mediaQuery); // Initial check
mediaQuery.addEventListener('change', (e) => toggleMenus(e));
+ initTooltips(document);
});
From 3bd7cc76519c9aac969c02b0b613e523a6d6c19c Mon Sep 17 00:00:00 2001
From: ericb
Date: Wed, 4 Dec 2024 13:44:46 +0100
Subject: [PATCH 2/5] Unified headers
---
404.html | 49 +++++++++++++++++++++---------------
connect.html | 49 +++++++++++++++++++++---------------
create-account.html | 60 +++++++++++++++++++++++++++------------------
3 files changed, 94 insertions(+), 64 deletions(-)
diff --git a/404.html b/404.html
index 45c96a8..10831e7 100644
--- a/404.html
+++ b/404.html
@@ -12,28 +12,37 @@
-
-
-
-
+
+
@@ -3874,5 +3874,43 @@
+
+
+
+