diff --git a/Website/index.html b/Website/index.html
index 44b8c62..f627171 100644
--- a/Website/index.html
+++ b/Website/index.html
@@ -79,7 +79,14 @@
-
+ Download Location:
+
+
+
+
+
+ ;
+
diff --git a/Website/interaction.js b/Website/interaction.js
index 775e679..6b15394 100644
--- a/Website/interaction.js
+++ b/Website/interaction.js
@@ -39,6 +39,12 @@ const pubviewcover = document.querySelector("#pubviewcover");
const publicationDelete = document.querySelector("publication-delete");
const publicationAdd = document.querySelector("publication-add");
const closetaskpopup = document.querySelector("#closePopupImg");
+const settingDownloadLocation = document.querySelector("#downloadLocation");
+const settingKomgaUrl = document.querySelector("#komgaURL");
+const settingKomgaUser = document.querySelector("#komgaUsername");
+const settingKomgaPass = document.querySelector("#komgaPassword");
+const settingKomgaTime = document.querySelector("#komgaUpdateTime");
+
settingsCog.addEventListener("click", () => slide());
closetaskpopup.addEventListener("click", () => HideAddTaskPopup());
@@ -193,6 +199,16 @@ const fadeInTiming = {
fill: "forwards"
}
+function GetSettingsClick(){
+
+}
+
+function UpdateSettingsClick(){
+ var auth = atob(`${settingKomgaUser.value}:${settingKomgaPass.value}`)
+ UpdateSettings(settingDownloadLocation.value, settingKomgaUrl.value, auth);
+ CreateTask("UpdateKomgaLibrary", settingKomgaTime.value, "","","");
+}
+
//Resets the tasks shown
ResetContent();
//Get Tasks and show them