feat: adopt shared weirsoe-theme (assets.weircon.dk) — drop inline CSS, migrate to .wt-* classes + portal.css glue
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Admin — {{ u.username }}{% endblock %}
|
||||
{% block body %}
|
||||
<p><a href="/admin/users" class="muted">← Brugere</a></p>
|
||||
<p><a href="/admin/users" class="wt-muted">← Brugere</a></p>
|
||||
<h1>{{ u.username }}</h1>
|
||||
<p class="lead">{{ u.name }}{% if u.email %} · {{ u.email }}{% endif %}</p>
|
||||
<p class="wt-lead">{{ u.name }}{% if u.email %} · {{ u.email }}{% endif %}</p>
|
||||
<form method="post" action="/admin/users/{{ u.pk }}">
|
||||
<label style="display:flex;gap:.5rem;align-items:center;margin:1rem 0"><input type="checkbox" name="is_active" {% if u.active %}checked{% endif %} style="width:auto"> Aktiv konto</label>
|
||||
<h2>Nulstil adgangskode</h2>
|
||||
@@ -14,6 +14,6 @@
|
||||
<label style="display:flex;gap:.4rem;align-items:center;font-size:.9rem"><input type="checkbox" name="groups" value="{{ g.pk }}" {% if g.pk in u.groups %}checked{% endif %} style="width:auto"> {{ g.name }}</label>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<p style="margin-top:1.2rem"><button class="btn" type="submit">Gem</button></p>
|
||||
<p style="margin-top:1.2rem"><button class="wt-btn wt-btn--primary" type="submit">Gem</button></p>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user