Files
Reskreen/mycaldav/templates/op/op_view.html
2023-10-10 12:53:42 +02:00

36 lines
1.3 KiB
HTML

{% load static %}
<link rel="stylesheet" href="{% static 'mycaldav/style.css' %}">
<div class="ifram_main_div">
{% if latest_task_list %}
<table >
{% for task in latest_task_list %}
<tr>
<td style="vertical-align: top;" class="td_key" >
<span style="font-weight: bold;">
{% if task.done %}
{{task.key}}
{% else %}
<a href="op/edit/{{task.uiid}}">{{task.key}}</a>
{% endif %}
</span><br>
{{task.str_start_date}} - {{task.str_end_date}}<br>
{{task.str_start_time}} - {{task.str_end_time}}
</td>&nbsp;&nbsp;&nbsp;&nbsp;
<td style="{% if task.done %}text-decoration:line-through{% endif %}">
{% if task.href != "" %}
<a href="{{task.href}}" target="_blank" style="text-decoration: none;color: white" >{{ task.name }}<br></a>
{% else %}
{{ task.name }}<br>
{% endif %}
{{task.desc}}
</td>
</tr>
<tr><td>&nbsp;</td></tr>
{% endfor %}
</table>
{% else %}
<p>Aucune information opérationnelle</p>
{% endif %}
</div>