multiple task query

This commit is contained in:
buenosairesam
2025-01-25 07:33:37 -03:00
parent 2da2f2641a
commit 68f91f06de
3 changed files with 10 additions and 21 deletions

View File

@@ -15,6 +15,10 @@
margin: 0; /* Remove default margin */
}
.grey {
color:grey;
}
table {
font-size: 84pt
}
@@ -33,10 +37,11 @@
{% block content %}
<table>
{% for row in rows %}
<tr>
<td>{{ row["ws"] }}</td>
<td>{{ row["total"] }}</td>
</tr>
{% set my_class = 'grey' if row["ws"] not in ['Active', 'Idle'] else '' %}
<tr>
<td class="{{my_class}}" >{{ row["ws"] }}</td>
<td class="{{my_class}}" >{{ row["total"] }}</td>
</tr>
{% endfor %}
</table>
{% endblock %}