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.

32 lines
864 B

2 years ago
{% extends 'base.html' %}
{% block main %}
2 years ago
<div class="ov-domains section">
<h4>Filter by Domain</h4>
{% for domain in domains %}
<a href="{% url 'interface.link.list' domain.fqdn %}">{{ domain.fqdn }}</a></li>
{% endfor %}
</div>
<div class="ov-table section">
<h4>List of Lonks</h4>
{% if links is not empty %}
2 years ago
<table>
<tr>
<th></th>
<th>from</th>
2 years ago
<th>to</th>
</tr>
{% for link in links %}
2 years ago
<tr>
2 years ago
<td><code><a href="{% url 'interface.link.update' link.slug %}" alt="edit redirect">🖊</a> | <a href="{% url 'interface.link.delete' link.slug %}" alt="delete redirect">🗑</a> | 📊 </code></td>
2 years ago
<td>{{ link.link }}</td>
<td>{{ link.to }}</td>
2 years ago
</tr>
2 years ago
{% endfor %}
</table>
{% else %}
<p>There are no links in the database yet.</p>
{% endif %}
2 years ago
</div>
2 years ago
{% endblock %}