canaille-globuzma/canaille/templates/oidc/admin/token_list.html

34 lines
1.2 KiB
HTML
Raw Normal View History

{% extends theme('base.html') %}
2020-08-26 14:27:08 +00:00
{% block style %}
<link href="/static/datatables/jquery.dataTables.min.css" rel="stylesheet">
<link href="/static/datatables/dataTables.semanticui.min.css" rel="stylesheet">
{% endblock %}
{% block script %}
<script src="/static/datatables/jquery.dataTables.min.js"></script>
<script src="/static/datatables/dataTables.semanticui.min.js"></script>
<script src="/static/js/users.js"></script>
{% endblock %}
{% block content %}
2021-12-20 22:57:27 +00:00
<table class="ui table">
<thead>
<th>{% trans %}Token{% endtrans %}</th>
<th>{% trans %}Client{% endtrans %}</th>
<th>{% trans %}Subject{% endtrans %}</th>
<th>{% trans %}Created{% endtrans %}</th>
</thead>
{% for token in tokens %}
<tr>
<td><a href="{{ url_for('oidc.tokens.view', token_id=token.access_token) }}">{{ token.access_token }}</a></td>
<td><a href="{{ url_for('oidc.clients.edit', client_id=token.client_id) }}">{{ token.client_id }}</a></td>
<td>{{ token.subject }}</td>
2021-12-20 22:57:27 +00:00
<td>{{ token.issue_date }}</td>
</tr>
{% endfor %}
</table>
2020-08-26 14:27:08 +00:00
{% endblock %}