Browse Source

ui tweaks on link list

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

33
leftists/templates/interface/linkedlist.html

@ -1,19 +1,22 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block main %} {% block main %}
<table> </div>
<tr> <div class="ov-table section">
<th></th> <h4>List of Lonks</h4>
<th>link</th> <table>
<th>to</th> <tr>
</tr> <th></th>
{% for link in object_list %} <th>from</th>
<tr> <th>to</th>
<td><code><a href="{% url 'interface.link.update' link.slug %}">[e]</a> | <a href="{% url 'interface.link.delete' link.slug %}">[d]</a></code></td> </tr>
<td>{{ link.link }}</td> {% for link in object_list %}
<td>{{ link.to }}</td> <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>
{% endfor %} <td>{{ link.link }}</td>
</table> <td>{{ link.to }}</td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %} {% endblock %}

2
leftists/templates/interface/overview.html

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

Loading…
Cancel
Save