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
+37 -28
View File
@@ -1,38 +1,47 @@
{% extends "base.html" %}
{% block title %}Dedup — alembic{% endblock %}
{% block content %}
<h1>Dedup review</h1>
<p class="muted">
Scheduled dedup runs dry-run only, every day. Nothing is ever deleted
without an explicit confirm below.
</p>
<form method="post" action="/dedup/scan">
<button type="submit">Scan now</button>
</form>
<div class="page-header">
<div>
<h1>Dedup review</h1>
<p class="subtitle muted">Scheduled runs are dry-run only, every day. Nothing is deleted without a confirm below.</p>
</div>
<div class="actions">
<form method="post" action="/dedup/scan" class="inline">
<button type="submit" class="btn btn-primary">Scan now</button>
</form>
</div>
</div>
<h2>Pending candidates</h2>
<form method="post" action="/dedup/confirm">
<table>
<thead>
<tr><th></th><th>Pass</th><th>Keep</th><th>Delete</th><th>Size</th></tr>
</thead>
<tbody>
{% for c in candidates %}
<tr>
<td><input type="checkbox" name="candidate_id" value="{{ c.id }}"></td>
<td>{{ c.pass_name }}</td>
<td class="muted">{{ c.keep_path }}</td>
<td>{{ c.delete_path }}</td>
<td>{{ (c.delete_size_bytes / 1024 / 1024) | round(1) if c.delete_size_bytes else '?' }} MB</td>
</tr>
{% else %}
<tr><td colspan="5" class="muted">No pending candidates. Run a scan.</td></tr>
{% endfor %}
</tbody>
</table>
<div class="table-wrap scroll">
<table>
<thead>
<tr><th></th><th>Pass</th><th>Keep</th><th>Delete</th><th>Size</th></tr>
</thead>
<tbody>
{% for c in candidates %}
<tr>
<td><input type="checkbox" name="candidate_id" value="{{ c.id }}"></td>
<td><span class="badge badge-info">{{ c.pass_name }}</span></td>
<td class="muted mono truncate">{{ c.keep_path }}</td>
<td class="mono truncate">{{ c.delete_path }}</td>
<td class="muted">{{ (c.delete_size_bytes / 1024 / 1024) | round(1) if c.delete_size_bytes else '?' }} MB</td>
</tr>
{% else %}
<tr class="empty-row"><td colspan="5">
<div class="empty-state">
<span class="sparkle" style="position:relative; display:inline-block; margin-bottom:0.5rem;"></span>
<p class="muted" style="margin:0;">No pending candidates. Run a scan.</p>
</div>
</td></tr>
{% endfor %}
</tbody>
</table>
</div>
{% if candidates %}
<button type="submit">Delete selected</button>
<button type="submit" class="btn btn-danger">Delete selected</button>
{% endif %}
</form>
{% endblock %}