From 2c045740fc9de96c5cdc2222aa8942bbcda1d257 Mon Sep 17 00:00:00 2001 From: db-2001 Date: Wed, 24 Apr 2024 22:23:49 -0400 Subject: [PATCH] Search Window refresh --- Website/apiConnector.js | 11 +- Website/index.html | 32 ++-- Website/interaction.js | 224 ++++++++++++++++++++++-- Website/media/check-circle.svg | 4 + Website/media/person.svg | 3 + Website/styles/base.css | 306 +++++++++++++++++++++++++++++---- 6 files changed, 519 insertions(+), 61 deletions(-) create mode 100644 Website/media/check-circle.svg create mode 100644 Website/media/person.svg diff --git a/Website/apiConnector.js b/Website/apiConnector.js index aa5f40a..9bf7d7d 100644 --- a/Website/apiConnector.js +++ b/Website/apiConnector.js @@ -1,4 +1,6 @@ -let apiUri = `${window.location.protocol}//${window.location.host}/api` +//let apiUri = `${window.location.protocol}//${window.location.host}/api` + +let apiUri = `http://192.168.1.79:6531`; // if(getCookie("apiUri") != ""){ // apiUri = getCookie("apiUri"); @@ -150,9 +152,10 @@ async function GetRateLimits() { return json; } -function CreateMonitorJob(connector, internalId, language){ - var uri = `${apiUri}/Jobs/MonitorManga?connector=${connector}&internalId=${internalId}&interval=03:00:00&translatedLanguage=${language}`; - PostData(uri); +function CreateMonitorJob(connector, internalId, language, interval, folder, chapterNo){ + var uri = `${apiUri}/Jobs/MonitorManga?connector=${connector}&internalId=${internalId}&interval=${interval}&translatedLanguage=${language}&ignoreBelowChapterNum=${chapterNo}&customFolderName=${folder}`; + //console.log(uri); + PostData(uri); } function CreateDownloadNewChaptersJob(connector, internalId, language){ diff --git a/Website/index.html b/Website/index.html index c5ea14a..9df5fba 100644 --- a/Website/index.html +++ b/Website/index.html @@ -68,16 +68,27 @@ -
- - -
-
+ + + Search + × + + +
+
+
+
+ + +
+
+
+
@@ -294,6 +305,7 @@ +