diff --git a/dmapp/dmweb/templates/main.html b/dmapp/dmweb/templates/main.html index b3de627..4bd03ae 100644 --- a/dmapp/dmweb/templates/main.html +++ b/dmapp/dmweb/templates/main.html @@ -19,6 +19,10 @@ color:grey; } + .blue { + color:blue; + } + table { font-size: 84pt } @@ -36,13 +40,19 @@ {% block content %} - {% for row in rows %} - {% set my_class = 'grey' if row["ws"] not in ['Active', 'Idle'] else '' %} - + {% for row in rows %} + {% 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 %} + - {% endfor %} + {% endfor %}
{{ row["ws"] }} {{ row["total"] }}
{% endblock %}