{% extends "base.html" %} {% block title %}API Tokens{% endblock %} {% block content %}

API Tokens

Create New Token
{% if tokens %}
{% for t in tokens %} {% endfor %}
NameScopesExpiresLast Used
{{ t.name }} {% for pkg, actions in t.scopes.items() %} {{ pkg }}: {{ actions | join(', ') }}{% if not loop.last %}
{% endif %} {% endfor %}
{% if t.expires_at %}{{ t.expires_at.strftime('%Y-%m-%d') }}{% else %}never{% endif %} {% if t.last_used_at %}{{ t.last_used_at.strftime('%Y-%m-%d') }}{% else %}never{% endif %}
{% else %}

No tokens yet.

Create your first token
{% endif %} {% endblock %}