{% extends "base.html" %} {% from "macros.html" import actor, csrf_field, error_box with context %} {% block title %}Admin ยท HeartOfGold{% endblock %} {% block main %}

Admin

{{ error_box(error) }} {% if issued %}

Token for @{{ issued.actor }} ({{ issued.name }}). Copy it now; it is not shown again.

{{ issued.token }}
{% endif %}

Actors

{% for a in actors %} {% endfor %}
ActorRoleStatusChangeToken
{{ actor(a) }} {{ a.display_name }} ({{ a.kind }}) {{ a.role }}{{ "disabled" if a.disabled else "active" }}
{{ csrf_field() }} {% if a.kind == "human" %}{% endif %}
{{ csrf_field() }}
New actor
{{ csrf_field() }}

Tokens

{% for t in tokens %} {% endfor %}
ActorNamePrefixCreatedLast used
@{{ t.actor }}{{ t.name }}{{ t.prefix }}{{ t.created_at | ago }}{{ t.last_used_at | ago }} {% if t.revoked %}revoked{% else %}
{{ csrf_field() }}
{% endif %}

OAuth connections

{% for c in connections %} {% else %}{% endfor %}
ClientReturns toActs asConnectedLast token
{{ c.client_name }}{{ c.redirect_host }}@{{ c.actor }}{{ c.connected_at | ago }}{{ c.last_token_at | ago }}
{{ csrf_field() }}
No connections.

Deleted comments

Deleted attachments

{% endblock %}