From 8c9ccda61ae8b0e4c9b7563b8beb46c4167a741d Mon Sep 17 00:00:00 2001 From: Sietse Jonker Date: Wed, 3 Apr 2024 11:28:37 +0200 Subject: [PATCH] Refactor navigation links in HTML files --- web/newWebsite/graph-main.js | 4 +- web/newWebsite/graphs.html | 6 +- web/newWebsite/index.html | 3 - web/newWebsite/questions-dashboard.html | 3 - web/newWebsite/settings.html | 35 --- web/newWebsite/styles/dashboard-styles.css | 322 ++++++++++----------- 6 files changed, 158 insertions(+), 215 deletions(-) delete mode 100644 web/newWebsite/settings.html diff --git a/web/newWebsite/graph-main.js b/web/newWebsite/graph-main.js index 6caadde..5ed8f02 100644 --- a/web/newWebsite/graph-main.js +++ b/web/newWebsite/graph-main.js @@ -25,10 +25,10 @@ function createCheckBox(id, label) { return response.json(); }) .then(data => { - handleData(data); + nodeInputs(data); }) -function handleData(JSONdata) { +function nodeInputs(JSONdata) { select = document.getElementById('node-input'); console.log(JSONdata); diff --git a/web/newWebsite/graphs.html b/web/newWebsite/graphs.html index d4b62cc..6396326 100644 --- a/web/newWebsite/graphs.html +++ b/web/newWebsite/graphs.html @@ -2,6 +2,7 @@ + @@ -20,16 +21,15 @@ - + \ No newline at end of file diff --git a/web/newWebsite/index.html b/web/newWebsite/index.html index f2b5b42..88846a2 100644 --- a/web/newWebsite/index.html +++ b/web/newWebsite/index.html @@ -22,9 +22,6 @@ - diff --git a/web/newWebsite/questions-dashboard.html b/web/newWebsite/questions-dashboard.html index 5ce5f66..418f4e3 100644 --- a/web/newWebsite/questions-dashboard.html +++ b/web/newWebsite/questions-dashboard.html @@ -20,9 +20,6 @@ -