Datum vom ersten Datenpunkt im Test nehmen; Startseite hübscher
This commit is contained in:
@@ -5,17 +5,18 @@
|
||||
{% block content %}
|
||||
|
||||
{% if tests is not empty %}
|
||||
<div>Test auswählen:</div>
|
||||
<table class="table">
|
||||
<h2 class="text-center">Test auswählen:</h2>
|
||||
|
||||
<table class="table table-bordered w-auto mx-auto">
|
||||
<tbody>
|
||||
{% for test in tests %}
|
||||
<tr><td><a href="test.php?id={{ test.id }}">{{ test.timestamp }}</td></tr>
|
||||
<tr><td><a href="test.php?id={{ test.id }}">{{ test.timestamp | date('D j. M Y, H:i:s') }}</td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<div class="bg-light p-3 rounded mt-3">
|
||||
<pre class="mb-0">Keine Tests gefunden.</pre>
|
||||
<pre class="mb-0">Keine Tests gefunden.</pre>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user