Add manage page
Django CI/CD / test (push) Successful in 1m16s Details
Django CI/CD / build-and-push (push) Has been skipped Details

This commit is contained in:
Lukáš Kucharczyk 2024-07-11 14:05:25 +02:00
parent 4670568acb
commit 241aa9dc13
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{% extends 'base.html' %}
{% block content %}
<table class="table table-sm table-zebra">
<thead>
<tr class="text-left">
<th></th>
<th>Name</th>
<th>Year</th>
<th>Wikidata ID</th>
<th>Created At</th>
<th>Manage</th>
</tr>
</thead>
<tbody>
{% for game in games %}
<tr>
<th>{{ game.pk }}</th>
<td>{{ game.name }}</td>
<td>{{ game.year_released }}</td>
<td>{{ game.wikidata }}</td>
<td>{{ game.created_at }}</td>
<td>
<div class="join">
<button class="btn btn-primary btn-sm join-item">
Edit
</button>
<button class="btn btn-warning btn-sm join-item">
Delete
</button>
</div>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock content %}