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 @@
<nav> <nav>
<ul> <ul>
{# <li><a href="{% url 'interface.domain.create' %}">+ domain</a></li>#} {# <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 'interface.link.create' %}">+ link</a></li>
{# <li><a href="{% url '' %}"></a></li>#} {# <li><a href="{% url '' %}"></a></li>#}
</ul> </ul>

2
leftists/templates/interface/overview.html

@ -10,11 +10,13 @@ managing these domains:
<table> <table>
<tr> <tr>
<th></th>
<th>link</th> <th>link</th>
<th>to</th> <th>to</th>
</tr> </tr>
{% for link in links %} {% for link in links %}
<tr> <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.link }}</td>
<td>{{ link.to }}</td> <td>{{ link.to }}</td>
</tr> </tr>

Loading…
Cancel
Save