You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

43 lines
1.0 KiB

<!DOCTYPE html>
<html>
<head>
<title>Docker Registry Viewer</title>
<style>
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 8px 12px;
border: 1px solid #ddd;
text-align: left;
}
th {
background-color: #f4f4f4;
}
</style>
</head>
<body>
<h1>Docker Registry Viewer</h1>
<table>
<thead>
<tr>
<th>Repository</th>
<th>Tags</th>
</tr>
</thead>
<tbody>
{% for repo in data %}
<tr>
<td><a href="{% url 'repository_detail' repo.repository %}">{{ repo.repository }}</a></td>
<td>
{% for tag in repo.tags %}
<span>{{ tag }}</span>{% if not forloop.last %}, {% endif %}
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>