Pslink/templates/index.html

42 lines
840 B
HTML
Raw Normal View History

2021-02-04 15:07:55 +01:00
{% extends "admin.html" %}
{% block head2 %}
<script src="/static/sorttable.js"></script>
{% endblock %}
2021-02-04 15:07:55 +01:00
{% block admin %}
<table class="sortable">
<tr>
<th>
Kürzel
</th>
<th>
Ziellink
</th>
<th>
Benutzername
</th>
</tr>
2021-02-07 20:35:45 +01:00
{% for links_user in links_per_users %}
{% set l = links_user[0] %}
{% set u = links_user[1] %}
2021-02-07 21:15:52 +01:00
<tr>
<td>
<a href="/admin/view/link/{{l.code}}"><span>{{l.code}}</span>
2021-02-07 21:15:52 +01:00
</a>
</td>
<td>
2021-02-08 12:39:28 +01:00
<a href="/admin/view/link/{{l.code}}">{{ l.target }}
2021-02-07 21:15:52 +01:00
</a>
</td>
<td>
2021-02-08 12:39:28 +01:00
<a href="/admin/view/profile/{{u.id}}"><small>{{ u.username }}</small>
2021-02-07 21:15:52 +01:00
</a>
</td>
</tr>
2021-02-07 20:35:45 +01:00
{% endfor %}
</table>
2021-02-04 15:07:55 +01:00
{% endblock %}