23 lines
No EOL
1.1 KiB
HTML
23 lines
No EOL
1.1 KiB
HTML
{}
|
|
{# Partial: affiche une table de tâches à partir de la variable `tasks` #}
|
|
{% import "tasks/macros.html" as tsk %}
|
|
<div style="border:1px solid #e5e5e5;border-radius:.5rem;padding:1rem;">
|
|
<div style="display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem;">
|
|
<h3 style="margin:0;font-size:1.1rem;">Tâches</h3>
|
|
<div style="font-size:.9rem;color:#666;">
|
|
Total: {{ tasks|length if tasks else 0 }}
|
|
</div>
|
|
</div>
|
|
{{ tsk.render_tasks_table(tasks, show_entity=True, show_due_date=True) }}
|
|
</div>
|
|
{# Partial: affiche une table de tâches à partir de la variable `tasks` #}
|
|
{% import "tasks/macros.html" as tsk %}
|
|
<div style="border:1px solid #e5e5e5;border-radius:.5rem;padding:1rem;">
|
|
<div style="display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem;">
|
|
<h3 style="margin:0;font-size:1.1rem;">Tâches</h3>
|
|
<div style="font-size:.9rem;color:#666;">
|
|
Total: {{ tasks|length if tasks else 0 }}
|
|
</div>
|
|
</div>
|
|
{{ tsk.render_tasks_table(tasks, show_entity=True, show_due_date=True) }}
|
|
</div> |