docker-repo/auth-app/templates/images.html

38 lines
1022 B
HTML

{% 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 %}