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