Changement frontend caldav

This commit is contained in:
Ambulance Clerc
2022-10-13 13:02:35 +02:00
parent ee8ce40e6a
commit 12efdfcf59
12 changed files with 95 additions and 21 deletions

View File

@@ -1,7 +1,10 @@
<div style="color: white">
{% load static %}
<link rel="stylesheet" href="{% static 'mycaldav/style.css' %}">
<div class="ifram_main_div">
{% if latest_task_list %}
<table style="font-family: 'Source Sans Pro', sans-serif; font-size: 12pt;color: white">
<td style="font-weight: bold;padding-bottom: 5px; text-align: center;" colspan="2">Jour</td>
<table>
<td style="font-weight: bold;padding-bottom: 5px; text-align: center;" colspan="2">Jour 2</td>
{% for task in latest_task_list %}
<tr><td style="font-weight: bold;vertical-align: top;" width="75" >{{task.key}}</td>&nbsp;&nbsp;&nbsp;&nbsp;<td style="{% if task.done %}text-decoration:line-through;{% endif %}vertical-align: top;">{{ task.name }}<br>{{task.desc}}</td></tr>
{% endfor %}
@@ -17,4 +20,4 @@
{% else %}
<p>Aucune tâche disponible.</p>
{% endif %}
</div>
</div>