Browse Source

ui tweaks on link list

main
Evelyn Alicke 2 years ago
parent
commit
6ed79e9883
  1. 35
      leftists/templates/interface/linkedlist.html
  2. 2
      leftists/templates/interface/overview.html

35
leftists/templates/interface/linkedlist.html

@ -1,19 +1,22 @@ @@ -1,19 +1,22 @@
{% extends "base.html" %}
{% block main %}
<table>
<tr>
<th></th>
<th>link</th>
<th>to</th>
</tr>
{% for link in object_list %}
<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>
{% endfor %}
</table>
{% endblock %}
</div>
<div class="ov-table section">
<h4>List of Lonks</h4>
<table>
<tr>
<th></th>
<th>from</th>
<th>to</th>
</tr>
{% for link in object_list %}
<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>
{% endfor %}
</table>
</div>
{% endblock %}

2
leftists/templates/interface/overview.html

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
<table>
<tr>
<th></th>
<th>link</th>
<th>from</th>
<th>to</th>
</tr>
{% for link in links %}

Loading…
Cancel
Save