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

50 lines
1.9 KiB
HTML
Raw Normal View History

{% extends theme('base.html') %}
2020-08-17 13:49:48 +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
<div class="ui segment">
2022-01-11 18:49:06 +00:00
<a class="ui primary button" href="{{ url_for('oidc.clients.add') }}">{% trans %}Add client{% endtrans %}</a>
2021-12-20 22:57:27 +00:00
</div>
2020-08-17 13:49:48 +00:00
2021-12-20 22:57:27 +00:00
<table class="ui table">
<thead>
<tr>
2023-03-09 17:34:36 +00:00
<th></th>
<th>{% trans %}Name{% endtrans %}</th>
<th>{% trans %}URL{% endtrans %}</th>
<th>{% trans %}Created{% endtrans %}</th>
2021-12-20 22:57:27 +00:00
</tr>
2023-03-09 17:34:36 +00:00
</thead>
<tbody>
{% for client in clients %}
<tr>
<td>
<a href="{{ url_for('oidc.clients.edit', client_id=client.client_id) }}">
{% if client.logo_uri %}
<img class="ui avatar image" src="{{ client.logo_uri }}" alt="Client logo">
{% else %}
<i class="plug circular inverted black icon"></i>
{% endif %}
</a>
</td>
<td><a href="{{ url_for('oidc.clients.edit', client_id=client.client_id) }}">{{ client.client_name }}</a></td>
<td><a href="{{ client.client_uri }}">{{ client.client_uri }}</a></td>
<td>{% if client.client_id_issued_at %}{{ client.client_id_issued_at }}{% endif %}</td>
</tr>
{% endfor %}
</tbody>
2021-12-20 22:57:27 +00:00
</table>
2020-08-17 13:49:48 +00:00
{% endblock %}