Maj UI Reskreen

This commit is contained in:
Ambulance Clerc
2022-11-26 16:40:41 +01:00
parent 19d456873d
commit d8540c7c1c
6 changed files with 327 additions and 63 deletions

View File

@@ -3,23 +3,44 @@
<link rel="stylesheet" href="{% static 'mycaldav/style.css' %}">
<div class="ifram_main_div" style="height: 140px; overflow: auto;">
{% if latest_task_list %}
<table>
<table>
{% for task in latest_task_list %}
{% if task.str_start_date == today %}
<tr>
<td style="vertical-align: top;" class="td_key" >
<span style="font-weight: bold;">{{task.key}}</span><br>
{{task.str_start_date}} - {{task.str_end_date}}<br>
</td>&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td style="{% if task.done %}text-decoration:line-through{% endif %}">
<a href="{{task.href}}" target="_blank" style="text-decoration: none;color: white" >{{ task.name }}<br></a>
{{task.desc}}
</td>
</tr>
<tr><td>&nbsp;</td></tr>
{% endif %}
{% endfor %}
</table>
</table>
<table>
{% for task in latest_task_list %}
{% if task.str_start_date != today %}
<tr>
<td style="vertical-align: top;" class="td_key" >
<span style="font-weight: bold;">{{task.key}}</span><br>
{{task.str_start_date}} - {{task.str_end_date}}<br>
</td>
<td style="{% if task.done %}text-decoration:line-through{% endif %}">
<a href="{{task.href}}" target="_blank" style="text-decoration: none;color: white" >{{ task.name }}<br></a>
{{task.desc}}
</td>
</tr>
{% endif %}
{% endfor %}
</table>
{% else %}
<p>Aucune information d'accueil</p>
{% endif %}