Initial commit: Spotify to Lidarr frontend with Docker and Unraid script
This commit is contained in:
commit
87a680326e
12 changed files with 996 additions and 0 deletions
60
public/index.html
Normal file
60
public/index.html
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Lidarr Spotify Downloader</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<main class="layout">
|
||||
<header class="hero">
|
||||
<h1>Spotify zu Lidarr</h1>
|
||||
<p>Album aus Spotify suchen, Tracks auswaehlen und direkt an Lidarr schicken.</p>
|
||||
</header>
|
||||
|
||||
<section class="panel settings">
|
||||
<h2>Einstellungen</h2>
|
||||
<label class="toggle">
|
||||
<input type="checkbox" id="cleanupToggle" />
|
||||
<span>Ueberfluessige Dateien nach Download loeschen</span>
|
||||
</label>
|
||||
<p class="hint">
|
||||
Wenn nur einzelne Songs gewaehlt sind, versucht die App unnoetige Track-Dateien in Lidarr zu entfernen.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section class="panel search">
|
||||
<h2>Album suchen</h2>
|
||||
<div class="search-row">
|
||||
<input id="query" placeholder="Album oder Artist eingeben" />
|
||||
<button id="searchBtn">Suchen</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="panel" id="statusPanel">
|
||||
<strong>Status:</strong>
|
||||
<span id="status">Bereit.</span>
|
||||
</section>
|
||||
|
||||
<section id="results" class="results"></section>
|
||||
</main>
|
||||
|
||||
<dialog id="albumDialog">
|
||||
<form method="dialog" class="dialog-content">
|
||||
<h3 id="dialogTitle"></h3>
|
||||
<p id="dialogArtist"></p>
|
||||
<div id="trackList" class="track-list"></div>
|
||||
<div class="dialog-actions">
|
||||
<button value="cancel">Abbrechen</button>
|
||||
<button id="sendBtn" value="default">An Lidarr senden</button>
|
||||
</div>
|
||||
</form>
|
||||
</dialog>
|
||||
|
||||
<script src="/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue