coloritos
This commit is contained in:
@@ -19,6 +19,10 @@
|
||||
color:grey;
|
||||
}
|
||||
|
||||
.blue {
|
||||
color:blue;
|
||||
}
|
||||
|
||||
table {
|
||||
font-size: 84pt
|
||||
}
|
||||
@@ -37,7 +41,13 @@
|
||||
{% block content %}
|
||||
<table>
|
||||
{% for row in rows %}
|
||||
{% set my_class = 'grey' if row["ws"] not in ['Active', 'Idle'] else '' %}
|
||||
{% if row["ws"] in ['Away', 'Other'] %}
|
||||
{% set my_class = 'blue' %}
|
||||
{% elif row["ws"] in ['Active', 'Idle'] %}
|
||||
{% set my_class = '' %}
|
||||
{% else %}
|
||||
{% set my_class = 'grey' %}
|
||||
{% endif %}
|
||||
<tr>
|
||||
<td class="{{my_class}}" >{{ row["ws"] }}</td>
|
||||
<td class="{{my_class}}" >{{ row["total"] }}</td>
|
||||
|
||||
Reference in New Issue
Block a user