Files
RoleForge/app/templates/users.xhtml
Sergey Antropoff 1d2301fb09 first commit
2026-04-30 08:59:31 +03:00

36 lines
1.9 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends "base.xhtml" %}
{% from "macros/page-hero.xhtml" import page_hero %}
{% block content %}
{{ page_hero("Admin", "Users", "Registered users (admin only). Pagination matches Audit logs. Open a user to manage access, view clusters and roles, or disable/delete the account.") }}
<div class="dashboard-page">
<section class="dashboard-panel">
<div class="dashboard-audit-toolbar" id="users-toolbar">
<div class="dashboard-audit-limits">
<label class="dashboard-inline-label" for="users-per-page">Per page</label>
<select id="users-per-page" name="per_page" required>
<option value="25" selected>25</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="200">200</option>
<option value="500">500</option>
</select>
</div>
<p class="audit-total-info muted" id="users-total-info" style="margin:0">Total: —</p>
<div class="audit-pagination" id="users-pagination">
<div class="audit-pagination__nav" role="group" aria-label="User list pages">
<button type="button" class="btn-muted" id="users-page-first" aria-label="First page">«</button>
<button type="button" class="btn-muted" id="users-page-prev" aria-label="Previous page"></button>
<span class="audit-page-info muted" id="users-page-info" aria-live="polite"></span>
<button type="button" class="btn-muted" id="users-page-next" aria-label="Next page"></button>
<button type="button" class="btn-muted" id="users-page-last" aria-label="Last page">»</button>
</div>
<button type="button" class="btn-muted" id="users-refresh-btn">Refresh</button>
</div>
</div>
<div id="users-output" class="audit-logs-output" aria-live="polite">
<p class="muted" style="margin:0">Loading users…</p>
</div>
</section>
</div>
{% endblock %}