Apply new frontend theme

Full style rewrite (holographic/chrome dark theme) plus matching favicon,
authored externally and dropped in at /home/andrew/alembic-theme. Verified
every template's variable names, form field names, and action URLs match
the actual data each router passes before importing -- all matched exactly
with zero router/service changes needed. Validated all templates parse
(Jinja2 env.get_template over the full tree) and confirmed the live
container serves the new theme after rebuild+redeploy.
This commit is contained in:
andrew
2026-07-08 15:01:39 -06:00
parent a1f5bbb121
commit ee21251f3e
13 changed files with 927 additions and 346 deletions
+44 -26
View File
@@ -1,45 +1,63 @@
{% extends "base.html" %}
{% block title %}Import — alembic{% endblock %}
{% block content %}
<h1>Manual import</h1>
<div class="page-header">
<div>
<h1>Manual import</h1>
<p class="subtitle muted">Drop files into <span class="mono">import-me/</span> and run them through the pipeline.</p>
</div>
</div>
{% if request.query_params.get('run_id') %}
<p>Import job started (run id {{ request.query_params.get('run_id') }}). Check the Jobs page for progress.</p>
<div class="notice success">Import job started (run id {{ request.query_params.get('run_id') }}). Check the Jobs page for progress.</div>
{% endif %}
<h2>Upload a file into import-me/</h2>
<form method="post" action="/import/upload" enctype="multipart/form-data">
<input type="file" name="file" required>
<button type="submit">Upload</button>
</form>
<div class="panel" style="max-width:560px;">
<form method="post" action="/import/upload" enctype="multipart/form-data">
<div class="field wide">
<input type="file" name="file" required>
</div>
<button type="submit" class="btn">Upload</button>
</form>
</div>
<h2>Contents of import-me/</h2>
<ul>
{% if contents %}
<ul class="chip-list">
{% for name in contents %}
<li>{{ name }}</li>
{% else %}
<li class="muted">(empty)</li>
{% endfor %}
</ul>
{% else %}
<p class="muted">(empty)</p>
{% endif %}
<h2>Run import</h2>
<form method="post" action="/import/run">
<label for="source">File/subdir (blank = import everything above)</label>
<input type="text" id="source" name="source" list="import-contents">
<datalist id="import-contents">
{% for name in contents %}
<option value="{{ name }}">
{% endfor %}
</datalist>
<div class="panel" style="max-width:560px;">
<form method="post" action="/import/run">
<div class="field">
<label for="source">File/subdir</label>
<input type="text" id="source" name="source" list="import-contents">
<span class="hint">Blank = import everything above.</span>
<datalist id="import-contents">
{% for name in contents %}
<option value="{{ name }}">
{% endfor %}
</datalist>
</div>
<label for="playlist_name">Playlist tag (optional)</label>
<select id="playlist_name" name="playlist_name">
<option value="">(none)</option>
{% for p in playlists %}
<option value="{{ p.name }}">{{ p.name }}</option>
{% endfor %}
</select>
<div class="field">
<label for="playlist_name">Playlist tag (optional)</label>
<select id="playlist_name" name="playlist_name">
<option value="">(none)</option>
{% for p in playlists %}
<option value="{{ p.name }}">{{ p.name }}</option>
{% endfor %}
</select>
</div>
<button type="submit">Import</button>
</form>
<button type="submit" class="btn btn-primary">Import</button>
</form>
</div>
{% endblock %}