40 lines
1.1 KiB
HTML
40 lines
1.1 KiB
HTML
{% if current_task_path %}
|
|
<div
|
|
id="current-task-info"
|
|
style="
|
|
font-size: clamp(10pt, 2vw, 16pt);
|
|
margin-bottom: 15px;
|
|
text-align: center;
|
|
color: #666;
|
|
"
|
|
>
|
|
Current: <span style="color: #6b9bd1">{{ current_task_path }}</span>
|
|
</div>
|
|
{% endif %} {% if task_rows %}
|
|
<div id="task-list" style="margin-bottom: 25px">
|
|
<table>
|
|
<tbody>
|
|
{% for row in task_rows %}
|
|
<tr>
|
|
<td>{{ row["ws"] }}</td>
|
|
<td>{{ row["total"] }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<table class="workspace-table">
|
|
<tbody>
|
|
{% for row in rows %} {% if row["ws"] in ['Away', 'Other'] %} {% set
|
|
my_class = 'grey' %} {% elif row["ws"] in ['Active', 'Idle'] %} {% set
|
|
my_class = 'blue' %} {% else %} {% set my_class = '' %} {% endif %}
|
|
<tr>
|
|
<td class="{{my_class}}">{{ row["ws"] }}</td>
|
|
<td class="{{my_class}}">{{ row["total"] }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|