show datas ordered by most recent
This commit is contained in:
parent
2e0934c4bf
commit
04c8300092
|
@ -19,7 +19,7 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in temperatures %}
|
||||
{% for item in temperatures|reverse %}
|
||||
{% if item.value >= 27 %}
|
||||
{% set class = 'table-info' %}
|
||||
{% elseif item.value <= 22 %}
|
||||
|
@ -54,7 +54,7 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in hygrometries %}
|
||||
{% for item in hygrometries|reverse %}
|
||||
{% if item.value >= 50 %}
|
||||
{% set class = 'table-danger' %}
|
||||
{% elseif item.value >= 40 %}
|
||||
|
|
Loading…
Reference in a new issue