deployment, frontend updates
This commit is contained in:
@@ -1,23 +1,39 @@
|
||||
{% if current_task_path and current_task_time %}
|
||||
<div id="current-task-info" style="font-size: 48pt; margin-bottom: 40px; text-align: center;">
|
||||
<div style="color: #e0e0e0;">{{ current_task_path }}</div>
|
||||
<div style="color: #999; font-size: 36pt;">{{ current_task_time }}</div>
|
||||
{% 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>
|
||||
<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 %}
|
||||
|
||||
<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>
|
||||
<td class="{{my_class}}">{{ row["ws"] }}</td>
|
||||
<td class="{{my_class}}">{{ row["total"] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user