kontor-api: Add details pages for Comics, Artists and MediaFiles

This commit is contained in:
Thomas Peetz
2025-04-28 15:47:07 +02:00
parent 3afbbf900d
commit 1290a45fb5
20 changed files with 331 additions and 22 deletions
@@ -0,0 +1,45 @@
{% extends "shared/base.html" %}
{% block title %}
<title>Publisher Detail</title>
{% endblock %}
{% block content %}
<div class="container">
<div class="row">
<div class="col">
<h1 class="display-5">Publisher Detail</h1>
</div>
</div>
<div class="row">
<table class="table table-striped table-hover">
<tbody>
<tr>
<th scope="row">Publisher Name</th>
<td colspan="2">{{publisher.name}}</td>
</tr>
<tr>
<th scope="row">Comics</th>
<td colspan="2">
<ul>
{% for comic in publisher.comics %}
<li><a href="/comic/comics/{{comic.id}}">{{comic.title}}</a></li>
{% endfor %}
</ul>
</td>
</tr>
<tr>
<th scope="row">Data Created</th>
<td colspan="2">{{publisher.created_date}}</td>
</tr>
<tr>
<th scope="row">Data Modified</th>
<td colspan="2">{{publisher.last_modified_date}}</td>
</tr>
</tbody>
</table>
</div>
</div>
{% endblock %}