b4dd2286a9
Settings is now one top-nav entry with Credentials and Jobs as sidebar sub-pages (jobs moved from /jobs to /settings/jobs). Manual import page replaces the bare file input and free-text filename field with a drag-drop dropzone and a proper file-picker table. Genres page drops the "force" checkbox for two explicit buttons (Preview / Fix genres now). Dedup's "Scan now" runs both the file-naming and acoustic passes together, and the table labels which pass caught each candidate instead of showing the raw pass name. .btn-ghost gets a visible border so it reads as a real button next to Delete/Danger actions instead of looking unaligned. Job names throughout the UI are now human-readable instead of raw job_key strings. Also includes the fpcalc exit-code fix from earlier (fingerprint index was discarding valid fingerprints on files with a benign decode warning).
65 lines
3.1 KiB
HTML
65 lines
3.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}alembic{% endblock %}</title>
|
|
<link rel="icon" type="image/svg+xml" href="/static/icon.svg">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32.png">
|
|
<link rel="icon" type="image/png" sizes="48x48" href="/static/favicon-48.png">
|
|
<link rel="apple-touch-icon" href="/static/apple-touch-icon.png">
|
|
<link rel="manifest" href="/static/site.webmanifest">
|
|
<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@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
<script src="/static/htmx.min.js"></script>
|
|
<script src="/static/alpine.min.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<div class="ambient-blob one"></div>
|
|
<div class="ambient-blob two"></div>
|
|
<div class="ambient-blob three"></div>
|
|
|
|
<header class="topbar">
|
|
<div class="topbar-inner">
|
|
<a class="brand" href="/">
|
|
<svg width="22" height="22" viewBox="0 0 24 24">
|
|
<defs>
|
|
<linearGradient id="brandGrad" x1="0" y1="0" x2="24" y2="24">
|
|
<stop offset="0%" stop-color="#7dd3fc"/>
|
|
<stop offset="50%" stop-color="#a78bfa"/>
|
|
<stop offset="100%" stop-color="#f9a8d4"/>
|
|
</linearGradient>
|
|
</defs>
|
|
<path fill="url(#brandGrad)" d="M9 2.5h6v5.2l4.3 8.6a2.6 2.6 0 0 1-2.33 3.76H7.03A2.6 2.6 0 0 1 4.7 16.3L9 7.7V2.5z"/>
|
|
<path d="M9 2.5h6M8.2 8.6h7.6" stroke="#08090d" stroke-width="0.9" stroke-linecap="round" opacity="0.35"/>
|
|
</svg>
|
|
<span class="chrome-text">Alembic</span>
|
|
</a>
|
|
<nav class="nav-pills">
|
|
<a href="/" class="{{ 'active' if request.url.path == '/' else '' }}">Dashboard</a>
|
|
<a href="/playlists" class="{{ 'active' if request.url.path.startswith('/playlists') else '' }}">Playlists</a>
|
|
<a href="/library" class="{{ 'active' if request.url.path.startswith('/library') else '' }}">Library</a>
|
|
<a href="/dedup" class="{{ 'active' if request.url.path.startswith('/dedup') else '' }}">Dedup</a>
|
|
<a href="/genres" class="{{ 'active' if request.url.path.startswith('/genres') else '' }}">Genres</a>
|
|
<a href="/import" class="{{ 'active' if request.url.path.startswith('/import') else '' }}">Import</a>
|
|
<a href="/settings/credentials" class="{{ 'active' if request.url.path.startswith('/settings') else '' }}">Settings</a>
|
|
</nav>
|
|
{% if user %}
|
|
<div class="user-chip">
|
|
<span class="user-dot"></span>
|
|
<span>{{ user.email or user.name }}</span>
|
|
<a class="logout" href="/auth/logout" title="Log out">⏻</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</header>
|
|
|
|
<main>
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
</body>
|
|
</html>
|