diff options
| author | 2026-07-30 16:03:32 +0200 | |
|---|---|---|
| committer | 2026-07-30 16:03:32 +0200 | |
| commit | 2d22158dd95f76399f5716d556be60c77da04a46 (patch) | |
| tree | 15fca3adae0f44674fe06bc141879804659c3664 /management/templates/users.html | |
| parent | aa56bc05285981d57c5adb2cee3c4e898fb2a702 (diff) | |
| download | server-v3.tar.gz server-v3.tar.bz2 server-v3.zip | |
Admin uiv3
Diffstat (limited to 'management/templates/users.html')
| -rw-r--r-- | management/templates/users.html | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/management/templates/users.html b/management/templates/users.html index 272d2b4..3cf9103 100644 --- a/management/templates/users.html +++ b/management/templates/users.html | |||
| @@ -1,11 +1,27 @@ | |||
| 1 | {% extends 'base.html' %} | 1 | {% extends 'base.html' %} |
| 2 | |||
| 3 | {% block content %} | 2 | {% block content %} |
| 4 | <div> | 3 | <div class="content__header"> |
| 5 | <ul> | 4 | <span class="eyebrow">{{ users|length }} account{{ 's' if users|length != 1 else '' }}</span> |
| 6 | {% for user in users %} | 5 | <h1>Users</h1> |
| 7 | <li>{{ user.username }}</li> | 6 | </div> |
| 8 | {% endfor %} | 7 | <div class="table-wrap"> |
| 9 | </ul> | 8 | <table> |
| 10 | </div> | 9 | <thead> |
| 10 | <tr> | ||
| 11 | <th>Username</th> | ||
| 12 | <th>Email</th> | ||
| 13 | <th>Created</th> | ||
| 14 | </tr> | ||
| 15 | </thead> | ||
| 16 | <tbody> | ||
| 17 | {% for user in users %} | ||
| 18 | <tr> | ||
| 19 | <td>{{ user.username }}</td> | ||
| 20 | <td>{{ user.email }}</td> | ||
| 21 | <td class="muted">{{ user.created.strftime('%Y-%m-%d %H:%M') }}</td> | ||
| 22 | </tr> | ||
| 23 | {% endfor %} | ||
| 24 | </tbody> | ||
| 25 | </table> | ||
| 26 | </div> | ||
| 11 | {% endblock %} | 27 | {% endblock %} |
