{% 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
| Actor | Role | Status | Change | Token |
{% for a in actors %}
| {{ actor(a) }} {{ a.display_name }} ({{ a.kind }}) |
{{ a.role }} | {{ "disabled" if a.disabled else "active" }} |
|
|
{% endfor %}
New actor
Tokens
| Actor | Name | Prefix | Created | Last used | |
{% for t in tokens %}
| @{{ t.actor }} | {{ t.name }} | {{ t.prefix }} | {{ t.created_at | ago }} | {{ t.last_used_at | ago }} |
{% if t.revoked %}revoked{% else %}{% endif %} |
{% endfor %}
OAuth connections
| Client | Returns to | Acts as | Connected | Last token | |
{% for c in connections %}
| {{ c.client_name }} | {{ c.redirect_host }} | @{{ c.actor }} | {{ c.connected_at | ago }} | {{ c.last_token_at | ago }} |
|
{% else %}| No connections. |
{% endfor %}
Deleted comments
{% for c in deleted_comments %}- {{ c.task }} #{{ c.id }} by {{ actor(c.author) }}
{% else %}- None.
{% endfor %}
Deleted attachments
{% for a in deleted_attachments %}- {{ a.task }} {{ a.filename }}
{% else %}- None.
{% endfor %}
{% endblock %}