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