Signed-off-by: Jochen Mehlich <contact@jochenmehlich.de>
This commit is contained in:
parent
58b43c93bd
commit
df543873d2
@ -28,7 +28,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<main class="container">
|
||||
<main class="container pt-5">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
</body>
|
||||
|
||||
@ -7,17 +7,19 @@
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">Beschreibung</th>
|
||||
<th scope="col">Aktiviert</th>
|
||||
<th scope="col-4">Name</th>
|
||||
<th scope="col-4">Beschreibung</th>
|
||||
<th scope="col-2">Aktiviert</th>
|
||||
<th scope="col-2">Bearbeiten</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for person in persons %}
|
||||
<tr>
|
||||
<tr class="align-middle">
|
||||
<td>{{ person.name }}</td>
|
||||
<td>{{ person.description }}</td>
|
||||
<td>{% if person.isActive %} <i class="fa-solid fa-check"></i> {% else %} <i class="fa-solid fa-minus"></i> {% endif %}</td>
|
||||
<td><a class="btn btn-primary" href="/person/edit/{{person.id}}"><i class="fa-solid fa-pen-to-square"></i></a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user