120 lines
5.3 KiB
HTML
120 lines
5.3 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<title>Tranga</title>
|
||
<link rel="stylesheet" href="style.css">
|
||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||
</head>
|
||
<body>
|
||
<wrapper>
|
||
<topbar>
|
||
<titlebox>
|
||
<img alt="website image is Blahaj" src="media/blahaj.png">
|
||
<span>Tranga</span>
|
||
</titlebox>
|
||
<spacer></spacer>
|
||
<searchdiv>
|
||
<label for="searchbox"></label><input id="searchbox" placeholder="Filter" type="text">
|
||
</searchdiv>
|
||
<img id="settingscog" src="media/settings-cogwheel.svg" height="100%" alt="settingscog">
|
||
</topbar>
|
||
<viewport>
|
||
<content>
|
||
<div id="addPublication">
|
||
<p>+</p>
|
||
</div>
|
||
<publication>
|
||
<img alt="cover" src="media/cover.jpg">
|
||
<publication-information>
|
||
<connector-name class="pill">MangaDex</connector-name>
|
||
<publication-name>Tensei Pandemic</publication-name>
|
||
</publication-information>
|
||
</publication>
|
||
</content>
|
||
|
||
<popup id="settingsPopup">
|
||
<blur-background id="blurBackgroundSettingsPopup" onclick="
|
||
settingsPopup.style.display = 'none';"></blur-background>
|
||
<popup-window>
|
||
<popup-title>Settings</popup-title>
|
||
<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>
|
||
<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>
|
||
<div>
|
||
<span class="title">LunaSea</span>
|
||
<div>Configured: <span id="lunaseaConfigured">✅❌</span></div>
|
||
<label for="lunaseaWebhook"></label><input placeholder="device/:id or user/:id" id="lunaseaWebhook" type="text">
|
||
</div>
|
||
<div>
|
||
<input type="submit" value="Update" onclick="UpdateSettings()">
|
||
</div>
|
||
</popup-content>
|
||
</popup-window>
|
||
</popup>
|
||
|
||
<popup id="publicationViewerPopup">
|
||
<blur-background id="blurBackgroundPublicationPopup"></blur-background>
|
||
<publication-viewer>
|
||
<img id="pubviewcover" src="media/cover.jpg" alt="cover">
|
||
<publication-information>
|
||
<publication-name id="publicationViewerName">Tensei Pandemic</publication-name>
|
||
<publication-tags id="publicationViewerTags"></publication-tags>
|
||
<publication-author id="publicationViewerAuthor">Imamura Hinata</publication-author>
|
||
<publication-description id="publicationViewerDescription">Imamura Hinata is a high school boy with a cute appearance.
|
||
Since his trauma with the first love, he wanted to be more manly than anybody else. But one day he woke up to something different…
|
||
The total opposite of his ideal male body!
|
||
Pandemic love comedy!
|
||
</publication-description>
|
||
<publication-interactions>
|
||
<publication-starttask>Start Task ▶️</publication-starttask>
|
||
<publication-delete>Delete Task ❌</publication-delete>
|
||
<publication-add id="createMonitorTaskButton">Monitor ➕</publication-add>
|
||
<publication-add id="createDownloadChapterTaskButton">Download Chapter ➕</publication-add>
|
||
</publication-interactions>
|
||
</publication-information>
|
||
</publication-viewer>
|
||
</popup>
|
||
</viewport>
|
||
|
||
<footer>
|
||
<div onclick="ShowTasksQueue();">
|
||
<img src="media/running.svg" alt="running"><div id="tasksRunningTag">0</div>
|
||
</div>
|
||
<div onclick="ShowTasksQueue();">
|
||
<img src="media/queue.svg" alt="queue"><div id="tasksQueuedTag">0</div>
|
||
</div>
|
||
<p id="madeWith">Made with Blåhaj 🦈</p>
|
||
</footer>
|
||
</wrapper>
|
||
|
||
<script src="apiConnector.js"></script>
|
||
<script src="interaction.js"></script>
|
||
</body>
|
||
</html> |