Load a list of clients
This commit is contained in:
@ -30,8 +30,8 @@
|
||||
<hr/>
|
||||
{% if is_admin %}
|
||||
<li>
|
||||
<a href="/admin/apps" class="nav-link link-dark">
|
||||
Applications
|
||||
<a href="/admin/clients" class="nav-link link-dark">
|
||||
Clients
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
|
23
templates/settings/clients_list.html
Normal file
23
templates/settings/clients_list.html
Normal file
@ -0,0 +1,23 @@
|
||||
{% extends "base_settings_page.html" %}
|
||||
{% block content %}
|
||||
|
||||
<table class="table table-hover" style="max-width: 600px;" aria-describedby="Clients list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">ID</th>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for c in clients %}
|
||||
<tr>
|
||||
<td>{{ c.id.0 }}</td>
|
||||
<td>{{ c.name }}</td>
|
||||
<td>{{ c.description }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user