2020-07-06 10:49:18 +02:00
|
|
|
{% extends 'layouts/base.njk' %}
|
|
|
|
|
|
|
|
{% set title = app.name + ' - URL manager' %}
|
|
|
|
|
|
|
|
{% block scripts %}{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<h1>URL manager</h1>
|
|
|
|
<p>These are permanent.</p>
|
|
|
|
|
2021-01-26 14:29:29 +01:00
|
|
|
<div class="container">
|
|
|
|
<section class="panel">
|
|
|
|
<h2><i data-feather="link"></i> URL list</h2>
|
|
|
|
<table class="data-table">
|
|
|
|
<thead>
|
2020-07-06 10:49:18 +02:00
|
|
|
<tr>
|
2021-01-26 14:29:29 +01:00
|
|
|
<th>#</th>
|
|
|
|
<th class="table-col-grow">URL</th>
|
|
|
|
<th>Target</th>
|
2020-07-06 10:49:18 +02:00
|
|
|
</tr>
|
2021-01-26 14:29:29 +01:00
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
{% for url in urls %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ url.id }}</td>
|
|
|
|
<td>
|
|
|
|
<div class="copyable-text">
|
|
|
|
<a class="content" href="{{ url.getURL() }}" target="_blank">{{ url.getURL() }}</a>
|
|
|
|
<button class="copy-button"><i data-feather="copy"></i></button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td><pre>{{ url.target_url }}</pre></td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
</div>
|
2020-07-06 10:49:18 +02:00
|
|
|
{% endblock %}
|