2023-05-22 22:25:50 +02:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<title>Tranga</title>
|
2023-10-27 05:23:08 +02:00
|
|
|
|
<link id='pagestyle' rel="stylesheet" href="styles/style_default.css">
|
2023-05-31 17:52:47 +02:00
|
|
|
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
2023-05-22 22:25:50 +02:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2023-05-25 21:58:45 +02:00
|
|
|
|
<wrapper>
|
|
|
|
|
<topbar>
|
|
|
|
|
<titlebox>
|
2023-05-31 22:16:01 +02:00
|
|
|
|
<img alt="website image is Blahaj" src="media/blahaj.png">
|
2023-05-25 21:58:45 +02:00
|
|
|
|
<span>Tranga</span>
|
|
|
|
|
</titlebox>
|
|
|
|
|
<spacer></spacer>
|
|
|
|
|
<searchdiv>
|
2023-05-31 22:16:01 +02:00
|
|
|
|
<label for="searchbox"></label><input id="searchbox" placeholder="Filter" type="text">
|
2023-05-25 21:58:45 +02:00
|
|
|
|
</searchdiv>
|
|
|
|
|
<img id="settingscog" src="media/settings-cogwheel.svg" height="100%" alt="settingscog">
|
|
|
|
|
</topbar>
|
|
|
|
|
<viewport>
|
2023-09-08 16:32:09 +02:00
|
|
|
|
<div id="loaderdiv">
|
|
|
|
|
<blur-background></blur-background>
|
|
|
|
|
<div id="loader"></div>
|
|
|
|
|
<p id="loaderText">Check your Settings > API-URI</p>
|
|
|
|
|
</div>
|
2023-05-25 21:58:45 +02:00
|
|
|
|
<content>
|
|
|
|
|
<div id="addPublication">
|
|
|
|
|
<p>+</p>
|
2023-05-25 15:34:10 +02:00
|
|
|
|
</div>
|
2023-08-31 23:45:13 +02:00
|
|
|
|
<publication onclick="ShowNewMangaSearch()">
|
2023-06-08 19:25:28 +02:00
|
|
|
|
<img alt="cover" src="media/cover.jpg">
|
2023-05-25 21:58:45 +02:00
|
|
|
|
<publication-information>
|
2023-09-02 13:48:23 +02:00
|
|
|
|
<connector-name class="pill">Sample</connector-name>
|
|
|
|
|
<publication-name>Best Manga there is</publication-name>
|
2023-05-25 21:58:45 +02:00
|
|
|
|
</publication-information>
|
|
|
|
|
</publication>
|
|
|
|
|
</content>
|
2023-06-08 19:25:28 +02:00
|
|
|
|
|
2023-08-31 23:45:13 +02:00
|
|
|
|
<popup id="newMangaPopup">
|
|
|
|
|
<blur-background id="blurBackgroundNewMangaPopup" onclick="newMangaPopup.style.display = 'none';"></blur-background>
|
|
|
|
|
<div id="newMangaPopupSelector">
|
|
|
|
|
<select id="newMangaConnector" />
|
|
|
|
|
<input type="text" placeholder="Title" id="newMangaTitle" />
|
2023-09-13 14:30:13 +02:00
|
|
|
|
<select id="newMangaTranslatedLanguage">
|
|
|
|
|
<option selected="selected">en</option>
|
|
|
|
|
<option>it</option>
|
|
|
|
|
<option>de</option>
|
|
|
|
|
</select>
|
2023-08-31 23:45:13 +02:00
|
|
|
|
</div>
|
|
|
|
|
<div id="newMangaResult"></div>
|
|
|
|
|
</popup>
|
|
|
|
|
|
2023-05-25 21:58:45 +02:00
|
|
|
|
<popup id="settingsPopup">
|
2023-08-31 16:45:33 +02:00
|
|
|
|
<blur-background id="blurBackgroundSettingsPopup" onclick="
|
|
|
|
|
settingsPopup.style.display = 'none';"></blur-background>
|
2023-06-08 19:25:28 +02:00
|
|
|
|
<popup-window>
|
2024-02-03 06:41:12 +01:00
|
|
|
|
<titlebar>
|
|
|
|
|
<popup-title>Settings</popup-title>
|
|
|
|
|
<popup-close onclick="settingsPopup.style.display = 'none'">×</popup-close>
|
|
|
|
|
</titlebar>
|
2023-06-08 19:25:28 +02:00
|
|
|
|
<popup-content>
|
|
|
|
|
<div>
|
|
|
|
|
<p class="title">Download Location:</p>
|
|
|
|
|
<span id="downloadLocation"></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<p class="title">API-URI</p>
|
|
|
|
|
<label for="settingApiUri"></label><input placeholder="https://" type="text" id="settingApiUri">
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<span class="title">Komga</span>
|
|
|
|
|
<div>Configured: <span id="komgaConfigured">✅❌</span></div>
|
|
|
|
|
<label for="komgaUrl"></label><input placeholder="URL" id="komgaUrl" type="text">
|
|
|
|
|
<label for="komgaUsername"></label><input placeholder="Username" id="komgaUsername" type="text">
|
|
|
|
|
<label for="komgaPassword"></label><input placeholder="Password" id="komgaPassword" type="password">
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<span class="title">Kavita</span>
|
|
|
|
|
<div>Configured: <span id="kavitaConfigured">✅❌</span></div>
|
|
|
|
|
<label for="kavitaUrl"></label><input placeholder="URL" id="kavitaUrl" type="text">
|
|
|
|
|
<label for="kavitaUsername"></label><input placeholder="Username" id="kavitaUsername" type="text">
|
|
|
|
|
<label for="kavitaPassword"></label><input placeholder="Password" id="kavitaPassword" type="password">
|
|
|
|
|
</div>
|
2023-06-15 18:38:47 +02:00
|
|
|
|
<div>
|
|
|
|
|
<span class="title">Gotify</span>
|
|
|
|
|
<div>Configured: <span id="gotifyConfigured">✅❌</span></div>
|
|
|
|
|
<label for="gotifyUrl"></label><input placeholder="URL" id="gotifyUrl" type="text">
|
|
|
|
|
<label for="gotifyAppToken"></label><input placeholder="App-Token" id="gotifyAppToken" type="text">
|
|
|
|
|
</div>
|
2023-06-15 18:57:21 +02:00
|
|
|
|
<div>
|
|
|
|
|
<span class="title">LunaSea</span>
|
|
|
|
|
<div>Configured: <span id="lunaseaConfigured">✅❌</span></div>
|
2023-06-21 18:03:48 +02:00
|
|
|
|
<label for="lunaseaWebhook"></label><input placeholder="device/:id or user/:id" id="lunaseaWebhook" type="text">
|
2023-10-27 16:48:08 +02:00
|
|
|
|
</div>
|
2023-10-27 13:55:42 +02:00
|
|
|
|
<div>
|
|
|
|
|
<span class="title">Ntfy</span>
|
|
|
|
|
<div>Configured: <span id="ntfyConfigured">✅❌</span></div>
|
|
|
|
|
<label for="ntfyEndpoint"></label><input placeholder="URL" id="ntfyEndpoint" type="text">
|
|
|
|
|
<label for="ntfyAuth"></label><input placeholder="Auth" id="ntfyAuth" type="text">
|
2023-06-15 18:57:21 +02:00
|
|
|
|
</div>
|
2024-01-31 19:12:05 +01:00
|
|
|
|
<div>
|
|
|
|
|
<span class="title">UserAgent</span><br />
|
|
|
|
|
<label for="userAgent"></label><input style="width: 400px" placeholder="UserAgent" id="userAgent" type="text">
|
|
|
|
|
</div>
|
2023-10-27 05:23:08 +02:00
|
|
|
|
<div>
|
2023-11-02 18:31:48 +01:00
|
|
|
|
<input type="checkbox" id="mangaHoverCheckbox" name="css-style" value="style_mangahover.css" onclick="updateCSS()">
|
2023-10-27 05:23:08 +02:00
|
|
|
|
<label for="css-style"> Show manga titles and sources on hover</label><br>
|
|
|
|
|
</div>
|
2023-11-02 19:28:28 +01:00
|
|
|
|
<div>
|
|
|
|
|
<input type="submit" value="Refresh Library Metadata" style="width: fit-content;"onclick="RefreshLibraryMetadata()">
|
|
|
|
|
</div>
|
2023-06-08 19:25:28 +02:00
|
|
|
|
</popup-content>
|
2024-02-03 06:41:12 +01:00
|
|
|
|
<titlebar>
|
|
|
|
|
<apply-settings onclick="UpdateSettings()">Apply Settings</apply-settings>
|
|
|
|
|
</titlebar>
|
2023-06-08 19:25:28 +02:00
|
|
|
|
</popup-window>
|
2023-05-25 21:58:45 +02:00
|
|
|
|
</popup>
|
2023-08-31 16:45:33 +02:00
|
|
|
|
|
|
|
|
|
<popup id="publicationViewerPopup">
|
2023-09-01 23:42:52 +02:00
|
|
|
|
<blur-background id="blurBackgroundPublicationPopup" onclick="publicationViewerPopup.style.display= 'none';"></blur-background>
|
2023-08-31 16:45:33 +02:00
|
|
|
|
<publication-viewer>
|
|
|
|
|
<img id="pubviewcover" src="media/cover.jpg" alt="cover">
|
2023-10-26 15:24:50 +02:00
|
|
|
|
<publication-details>
|
2023-09-02 14:13:58 +02:00
|
|
|
|
<publication-name id="publicationViewerName">Best Manga there is</publication-name>
|
|
|
|
|
<publication-tags id="publicationViewerTags">A Manga</publication-tags>
|
|
|
|
|
<publication-author id="publicationViewerAuthor">Glax</publication-author>
|
|
|
|
|
<publication-description id="publicationViewerDescription">
|
|
|
|
|
An interesting description. The description is very intriguing, yet wholesome.
|
2023-08-31 16:45:33 +02:00
|
|
|
|
</publication-description>
|
|
|
|
|
<publication-interactions>
|
2023-09-02 14:13:58 +02:00
|
|
|
|
<publication-starttask id="startJobButton">Start Job ▶️</publication-starttask>
|
2023-09-02 15:05:45 +02:00
|
|
|
|
<publication-canceltask id="cancelJobButton">Cancel Job ❌</publication-canceltask>
|
|
|
|
|
<publication-delete id="deleteJobButton">Delete Job 🗑️</publication-delete>
|
2023-09-02 14:13:58 +02:00
|
|
|
|
<publication-add id="createMonitorJobButton">Monitor ➕</publication-add>
|
2023-09-02 15:05:45 +02:00
|
|
|
|
<publication-add id="createDownloadChapterJobButton">Download Chapter 📥</publication-add>
|
2023-08-31 16:45:33 +02:00
|
|
|
|
</publication-interactions>
|
2023-10-26 15:24:50 +02:00
|
|
|
|
</publication-details>
|
2023-08-31 16:45:33 +02:00
|
|
|
|
</publication-viewer>
|
2023-06-09 23:46:10 +02:00
|
|
|
|
</popup>
|
2023-09-08 19:59:12 +02:00
|
|
|
|
|
|
|
|
|
<popup id="jobStatusView">
|
|
|
|
|
<blur-background id="blurBackgroundJobStatus" onclick="jobStatusView.style.display= 'none';"></blur-background>
|
|
|
|
|
<popup-window>
|
|
|
|
|
<div>
|
|
|
|
|
<div id="jobStatusRunning" style="border-right: 1px solid gray;"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div id="jobStatusWaiting" style="border-left: 1px solid gray;"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</popup-window>
|
|
|
|
|
</popup>
|
2023-05-25 21:58:45 +02:00
|
|
|
|
</viewport>
|
2023-08-31 16:45:33 +02:00
|
|
|
|
|
2023-05-25 21:58:45 +02:00
|
|
|
|
<footer>
|
2023-09-02 16:16:29 +02:00
|
|
|
|
<div onclick="ShowJobQueue();">
|
|
|
|
|
<img src="media/running.svg" alt="running"><div id="jobsRunningTag">0</div>
|
2023-05-25 21:58:45 +02:00
|
|
|
|
</div>
|
2023-09-02 16:16:29 +02:00
|
|
|
|
<div onclick="ShowJobQueue();">
|
|
|
|
|
<img src="media/queue.svg" alt="queue"><div id="jobsQueuedTag">0</div>
|
2023-05-25 21:58:45 +02:00
|
|
|
|
</div>
|
|
|
|
|
<p id="madeWith">Made with Blåhaj 🦈</p>
|
|
|
|
|
</footer>
|
|
|
|
|
</wrapper>
|
|
|
|
|
|
2023-05-23 12:51:21 +02:00
|
|
|
|
<script src="apiConnector.js"></script>
|
2023-05-22 23:52:35 +02:00
|
|
|
|
<script src="interaction.js"></script>
|
2023-05-22 22:25:50 +02:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|