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