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:
@@ -1,29 +1,32 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Credentials — alembic{% endblock %}
|
||||
{% block content %}
|
||||
<h1>Credentials</h1>
|
||||
<p class="muted">
|
||||
Write-only: saved values are encrypted at rest and never sent back to the
|
||||
browser. Leave a field blank to keep its current value unchanged.
|
||||
</p>
|
||||
<div class="page-header">
|
||||
<div>
|
||||
<h1>Credentials</h1>
|
||||
<p class="subtitle muted">Write-only: values are encrypted at rest and never sent back to the browser. Leave a field blank to keep it unchanged.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% for scope, fields in scope_fields.items() %}
|
||||
<h2>{{ scope }}</h2>
|
||||
<form method="post" action="/settings/credentials/{{ scope }}">
|
||||
{% for field in fields %}
|
||||
<div>
|
||||
<label for="{{ scope }}_{{ field }}">
|
||||
{{ field }}
|
||||
{% if field in configured.get(scope, []) %}<span class="muted">(set)</span>{% endif %}
|
||||
</label>
|
||||
{% if field in ("cookies_txt",) %}
|
||||
<textarea id="{{ scope }}_{{ field }}" name="{{ field }}" placeholder="leave blank to keep current"></textarea>
|
||||
{% else %}
|
||||
<input type="password" id="{{ scope }}_{{ field }}" name="{{ field }}" placeholder="leave blank to keep current" autocomplete="off">
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
<button type="submit">Save {{ scope }}</button>
|
||||
</form>
|
||||
<h2 class="scope-header">{{ scope }}</h2>
|
||||
<div class="panel" style="max-width:560px;">
|
||||
<form method="post" action="/settings/credentials/{{ scope }}">
|
||||
{% for field in fields %}
|
||||
<div class="field wide">
|
||||
<label for="{{ scope }}_{{ field }}">
|
||||
{{ field }}
|
||||
{% if field in configured.get(scope, []) %}<span class="badge badge-success" style="margin-left:0.5rem;">set</span>{% endif %}
|
||||
</label>
|
||||
{% if field in ("cookies_txt",) %}
|
||||
<textarea id="{{ scope }}_{{ field }}" name="{{ field }}" rows="6" placeholder="leave blank to keep current"></textarea>
|
||||
{% else %}
|
||||
<input type="password" id="{{ scope }}_{{ field }}" name="{{ field }}" placeholder="leave blank to keep current" autocomplete="off">
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
<button type="submit" class="btn">Save {{ scope }}</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user