2021-10-28 13:24:34 +00:00
|
|
|
{% 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>
|
|
|
|
<th></th>
|
|
|
|
<th>{% trans %}Name{% endtrans %}</th>
|
|
|
|
<th>{% trans %}URL{% endtrans %}</th>
|
|
|
|
<th>{% trans %}Created{% endtrans %}</th>
|
|
|
|
</thead>
|
|
|
|
{% for client in clients %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-01-11 16:57:58 +00:00
|
|
|
<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">
|
2021-12-20 22:57:27 +00:00
|
|
|
{% else %}
|
|
|
|
<i class="plug circular inverted black icon"></i>
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
|
|
|
</td>
|
2022-10-17 15:49:52 +00:00
|
|
|
<td><a href="{{ url_for('oidc.clients.edit', client_id=client.client_id) }}">{{ client.client_name }}</a></td>
|
2022-12-04 11:01:10 +00:00
|
|
|
<td><a href="{{ client.client_uri }}">{{ client.client_uri }}</a></td>
|
2022-10-17 15:49:52 +00:00
|
|
|
<td>{% if client.client_id_issued_at %}{{ client.client_id_issued_at }}{% endif %}</td>
|
2021-12-20 22:57:27 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2020-08-17 13:49:48 +00:00
|
|
|
|
|
|
|
{% endblock %}
|