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.
 
 
 
 
 

48 lines
1.2 KiB

<!DOCTYPE html>
<html>
<head>
<title>Repository Details - {{ repository }}</title>
<style>
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 8px 12px;
border: 1px solid #ddd;
text-align: left;
}
th {
background-color: #f4f4f4;
}
.delete-btn {
color: red;
cursor: pointer;
text-decoration: none;
}
</style>
</head>
<body>
<h1>Tags for {{ repository }}</h1>
{% if error %}
<p style="color: red;">{{ error }}</p>
{% endif %}
<table>
<thead>
<tr>
<th>Tags</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{% for tag in tags %}
<tr>
<td>{{ tag }}</td>
<td><a href="{% url 'delete_tag' repository tag %}" class="delete-btn" onclick="return confirm('Are you sure you want to delete this tag?');">Delete</a></td>
</tr>
{% endfor %}
</tbody>
</table>
<p><a href="{% url 'registry_list' %}">Back to Repository List</a></p>
</body>
</html>