Browse Source

add links in places

main
xenua 2 years ago
parent
commit
006437a234
Signed by: xenua
GPG Key ID: 8F93B68BD37255B8
  1. 1
      leftists/templates/base.html
  2. 2
      leftists/templates/interface/overview.html

1
leftists/templates/base.html

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
<nav>
<ul>
{# <li><a href="{% url 'interface.domain.create' %}">+ domain</a></li>#}
<li><a href="{% url 'interface.overview' %}">home</a></li>
<li><a href="{% url 'interface.link.create' %}">+ link</a></li>
{# <li><a href="{% url '' %}"></a></li>#}
</ul>

2
leftists/templates/interface/overview.html

@ -10,11 +10,13 @@ managing these domains: @@ -10,11 +10,13 @@ managing these domains:
<table>
<tr>
<th></th>
<th>link</th>
<th>to</th>
</tr>
{% for link in links %}
<tr>
<td><code><a href="{% url 'interface.link.update' link.slug %}">[e]</a> | <a href="{% url 'interface.link.delete' link.slug %}">[d]</a></code></td>
<td>{{ link.link }}</td>
<td>{{ link.to }}</td>
</tr>

Loading…
Cancel
Save