Change frontend

This commit is contained in:
Ambulance Clerc
2022-10-13 17:42:40 +02:00
parent 7ad87670b3
commit d513b0de93

View File

@@ -6,13 +6,13 @@
<table>
{% for task in latest_task_list %}
<tr style="{% if task.team_transfert %}background-color: orange;{% endif %}">
<td style="vertical-align: top;font-weight: bold;" width="50" >
{{task.key}}
<tr style="">
<td style="vertical-align: top;font-weight: bold;{% if task.team_transfert %}background-color: orange;{% endif %}" width="50" >
{{task.key}} {% if task.team_transfert %}{% endif %}
</td>
<td style="{% if task.done %}text-decoration:line-through{% endif %}">
<span style="{% if task.team_1_chef %}background-color: yellow;{% endif %}">{{ task.team_1 }}</span>&nbsp;
<span style="{% if task.team_2_chef %}background-color: yellow;{% endif %}">{{ task.team_2 }}</span>
<span style="{% if task.team_1_chef %}color: yellow !important;{% endif %}">{{ task.team_1 }}</span>&nbsp;
<span style="{% if task.team_2_chef %}color: yellow !important;{% endif %}">{{ task.team_2 }}</span>
</td>
</tr>
{% endfor %}
@@ -22,10 +22,10 @@
</tr>
{% for task in night_task_list %}
{% if task.str_start_date == today %}
<tr style="{% if task.team_transfert %}background-color: orange;{% endif %}"><td style="font-weight: bold;vertical-align: top;" width="50" >{{task.key}}</td>
<tr style=""><td style="font-weight: bold;vertical-align: top;{% if task.team_transfert %}background-color: orange;{% endif %}" width="50" >{{task.key}}</td>
<td style="{% if task.done %}text-decoration:line-through{% endif %}">
<span style="{% if task.team_1_chef %}background-color: yellow;{% endif %}">{{ task.team_1 }}</span>&nbsp;
<span style="{% if task.team_2_chef %}background-color: yellow;{% endif %}">{{ task.team_2 }}</span>
<span style="{% if task.team_1_chef %}color: yellow !important;{% endif %}">{{ task.team_1 }}</span>&nbsp;
<span style="{% if task.team_2_chef %}color: yellow !important;{% endif %}">{{ task.team_2 }}</span>
</td>
</tr>
{% endif %}