1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!doctype html>
{% block title %}{{ brand_name | default(value='Rustango Admin') }}{% endblock title %}
{# v0.30.19 — admin favicon. Defaults to the framework's embedded
`icon.png` (served at `/icon.png` by the tenancy
admin route, where static_url comes from RouteConfig — `/_static`
under friendly, `/__static__` under default). Per-tenant overrides
via `brand_favicon_url`. #}
{% include "_theme_tokens.html" %}
{% include "_admin_styles.html" %}
{% if tenant_brand_css %}{% endif %}
{# v0.27.8 (#78) — impersonation banner. Threaded through every
admin page so an operator who's impersonating a tenant can't
forget. The end-impersonation form posts to the tenant admin's
/__admin/__end-impersonation route which clears the cookie and
redirects to the operator console. #}
{% if impersonated_by_operator_id %}
You are impersonating this tenant
as operator #{{ impersonated_by_operator_id }}.
Every write is recorded in the audit log with
source = operator:{{ impersonated_by_operator_id }}:impersonating.
End impersonation
{% endif %}
{% include "_sidebar.html" %}
{% block body %}{% endblock body %}
{% include "_theme_toggle.html" %}