AppFlowy-Cloud/admin_frontend/templates/components/admin_sso_list.html

36 lines
825 B
HTML

<div id="sso-list">
<table>
<tr>
<th>Entity ID</th>
<th>Created At</th>
<th>Actions</th>
</tr>
{% for sso_provider in sso_providers %}
<tr>
<td>{{ sso_provider.saml.entity_id|escape }}</td>
<td>{{ sso_provider.created_at|escape }}</td>
<td>
<button
class="button cyan"
hx-target="#sso-list"
hx-get="/web/components/admin/sso/{{ sso_provider.id|escape }}"
>
More Info
</button>
<button
class="deleteUserBtn button red"
hx-delete="/web-api/admin/sso/{{ sso_provider.id|escape }}"
hx-confirm="Are you sure?"
hx-target="closest tr"
hx-swap="delete"
>
Delete
</button>
</td>
</tr>
{% endfor %}
</table>
</div>