added list images

This commit is contained in:
2026-02-25 02:52:36 +01:00
parent 0da0bfe8a3
commit 244138b6bd
8 changed files with 164 additions and 11 deletions
+37
View File
@@ -0,0 +1,37 @@
{% extends "base.html" %}
{% block title %}Images - Docker Registry{% endblock %}
{% block content %}
<div class="card">
<h2>Gespeicherte Images</h2>
{% if repos %}
<table>
<thead>
<tr>
<th>Image</th>
<th>Tags</th>
</tr>
</thead>
<tbody>
{% for repo in repos %}
<tr>
<td><strong>{{ request.host }}/{{ repo.name }}</strong></td>
<td>
{% if repo.tags %}
{% for tag in repo.tags %}
<span class="tag">{{ tag }}</span>
{% endfor %}
{% else %}
<span style="color: #9ca3af;">keine Tags</span>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p class="empty">Noch keine Images in der Registry vorhanden.</p>
{% endif %}
</div>
{% endblock %}