(% extends "admin/admin_partial_base.html" %)

(% block persons_item_extra_classes %)active(% endblock %)

(% block admin_page %)
<nav aria-label="breadcrumb">
    <ol class="breadcrumb">
        <li class="breadcrumb-item active" aria-current="page">Person Management</li>
    </ol>
</nav>

<table class="table table-striped">
    <thead>
        <tr>
            <th scope="col">Username</th>
            <th scope="col">Uuid</th>
        </tr>
    </thead>
    <tbody>
    (% for (person, _) in persons %)
        <tr>
            <td><a href="/ui/admin/person/(( person.uuid ))/view" hx-target="#main">(( person.name ))</a></td>
            <td>(( person.uuid ))</td>
        </tr>
    (% endfor %)
    </tbody>
</table>
(% endblock %)
