{% extends 'base.html.twig' %}

{% block title %}PlusLifeWeb{% endblock %}

{% block content %}

{% if tests is not empty %}
<div>Test auswählen:</div>
<table class="table">
  <tbody>
 {% for test in tests %}
    <tr><td><a href="test.php?id={{ test.id }}">{{ test.timestamp }}</td></tr>
 {% endfor %}
  </tbody>
</table>
{% else %}
<div class="bg-light p-3 rounded mt-3">
<pre class="mb-0">Keine Tests gefunden.</pre>
</div>
{% endif %}

{% endblock %}

