💄 — Change order of columns on domain’s checks page

This commit is contained in:
Luc Didry 2024-09-02 14:22:07 +02:00
parent 9b40c5a675
commit 261f843b46
No known key found for this signature in database
GPG key ID: EA868E12D0257E3C

View file

@ -1,24 +1,23 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}<h2>{{ domain }}</h2>{% endblock title %} {% block title %}<h2>{{ domain }}</h2>{% endblock title %}
{% block content %} {% block content %}
<div id="domains" class="frame"> <div id="domains" class="overflow-auto">
<table id="domains-list" role="grid"> <table id="domains-list" role="grid" class="striped">
<thead> <thead>
<tr> <tr>
<th>URL</th> <th scope="col">URL</th>
<th>Check</th> <th scope="col">Check</th>
<th>Expected</th> <th scope="col">Current status</th>
<th>Current status</th> <th scope="col">Expected</th>
<th></th> <th scope="col"></th>
</tr> </tr>
</thead> </thead>
<tbody id="domains-body"> <tbody id="domains-body">
{% for task in tasks %} {% for task in tasks %}
<tr> <tr scope="row">
<td>{{ task.url }}</td> <td>{{ task.url }}</td>
<td>{{ task.check }}</td> <td>{{ task.check }}</td>
<td>{{ task.expected }}</td>
<td class="status highlight"> <td class="status highlight">
{% if task.status %} {% if task.status %}
<a data-tooltip="Completed at {{ task.completed_at }}" <a data-tooltip="Completed at {{ task.completed_at }}"
@ -37,6 +36,7 @@
Waiting to be checked Waiting to be checked
{% endif %} {% endif %}
</td> </td>
<td>{{ task.expected }}</td>
<td><a href="{{ url_for('get_task_results_view', task_id=task.id) }}">view all</a></td> <td><a href="{{ url_for('get_task_results_view', task_id=task.id) }}">view all</a></td>
</tr> </tr>
{% endfor %} {% endfor %}