mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-14 11:33:51 +01:00
24 lines
574 B
HTML
24 lines
574 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ _("List tokens for %(username)s", username=user.username) }}
|
|
{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
<a class="btn btn-primary float-right" href="{{ url_for('api.create_edit_token', username=user.username) }}">Create</a>
|
|
<h1 class="mt-0">{{ self.title() }}</h1>
|
|
|
|
<ul>
|
|
{% for token in user.tokens %}
|
|
<li>
|
|
<a href="{{ url_for('api.create_edit_token', username=user.username, id=token.id) }}">{{ token.name }}</a>
|
|
</li>
|
|
{% else %}
|
|
<li>
|
|
<i>No tokens created</i>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|