{% extends "base.html" %} {% block title %}Admin — MemoryLens{% endblock %} {% block content %}
Manage API keys and shared links.
{% if new_key %}Key created for "{{ new_key_name }}" — save it now, it won't be shown again:
{{ new_key }}
| NAME | ROLE | PREFIX | CREATED | LAST USED | |
|---|---|---|---|---|---|
| {{ key.name }} | {{ key.role }} | {{ key.key_prefix }} | {{ key.created_at | int }} | {% if key.last_used_at %}{{ key.last_used_at | int }}{% else %}never{% endif %} |
No API keys yet.
{% endif %}| ID | TYPE | TARGET | CREATED BY | EXPIRES | |
|---|---|---|---|---|---|
| {{ link.id }} | {{ link.link_type }} | {{ link.target }} | {{ link.created_by }} | {% if link.expires_at %}{{ link.expires_at | int }}{% else %}never{% endif %} |
No shared links yet.
{% endif %}