BasicOIDC/templates/settings/clients_list.html
Pierre Hubert d5b58e471d
Some checks failed
continuous-integration/drone/push Build is failing
Add grant info to clients list
2023-04-15 10:42:49 +02:00

30 lines
826 B
HTML

{% extends "base_settings_page.html" %}
{% block content %}
<table class="table table-hover" style="max-width: 800px;" aria-describedby="Clients list">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Name</th>
<th scope="col">Description</th>
<th scope="col">Redirect URI</th>
<th scope="col">Default</th>
<th scope="col">Granted to all users</th>
</tr>
</thead>
<tbody>
{% for c in clients %}
<tr>
<td>{{ c.id.0 }}</td>
<td>{{ c.name }}</td>
<td>{{ c.description }}</td>
<td>{{ c.redirect_uri }}</td>
<td>{% if c.default %}YES{% else %}NO{% endif %}</td>
<td>{% if c.granted_to_all_users %}YES{% else %}NO{% endif %}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock content %}