feat: add many things

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2026-03-08 23:00:03 +01:00
parent 45353089c2
commit 5a5f9a3003
104 changed files with 23417 additions and 2027 deletions

View File

@@ -1,4 +1,5 @@
{% extends "base.html.jinja" %}
{% from "components/timestamp.html.jinja" import timeago as ts %}
{% block content %}
<section class="max-w-4xl mx-auto px-4 pt-12">
@@ -50,9 +51,9 @@
{% for token in tokens %}
<tr>
<td class="px-6 py-3 font-medium">{{ token.name }}</td>
<td class="px-6 py-3 text-gray-600">{{ token.created_at or "—" }}</td>
<td class="px-6 py-3 text-gray-600">{{ token.last_used or "Never" }}</td>
<td class="px-6 py-3 text-gray-600">{{ token.expires_at or "Never" }}</td>
<td class="px-6 py-3 text-gray-600">{% if token.created_at %}{{ ts(token.created_at) }}{% else %}—{% endif %}</td>
<td class="px-6 py-3 text-gray-600">{% if token.last_used %}{{ ts(token.last_used) }}{% else %}Never{% endif %}</td>
<td class="px-6 py-3 text-gray-600">{% if token.expires_at %}{{ ts(token.expires_at) }}{% else %}Never{% endif %}</td>
<td class="px-6 py-3 text-right">
<form method="POST" action="/settings/tokens/{{ token.token_id }}/delete">
<input type="hidden" name="_csrf" value="{{ csrf_token }}">