From 61c265b38b1b4c9d4a0207678d7ba66415b9515f Mon Sep 17 00:00:00 2001 From: Adriano Dal Pastro Date: Fri, 5 Jun 2026 10:35:45 +0000 Subject: [PATCH] ui(measure): move measurement/attachment indicators to card top-right Move the per-task measurement count and attachment indicator out of the info column to the top-right of each card (self-start), keeping the title/directive column clean. Measurement count shown as a compact number+icon with tooltip. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../templates/measure/task_list.html | 57 ++++++++----------- 1 file changed, 24 insertions(+), 33 deletions(-) diff --git a/src/frontend/flask_app/templates/measure/task_list.html b/src/frontend/flask_app/templates/measure/task_list.html index 3bf154c..7e46b01 100644 --- a/src/frontend/flask_app/templates/measure/task_list.html +++ b/src/frontend/flask_app/templates/measure/task_list.html @@ -163,42 +163,33 @@ {{ task.directive or task.description }}

{% endif %} + - -
- - {% if task.subtask_count is defined or task.subtasks %} - - - - - - {% if task.subtask_count is defined %} - {{ task.subtask_count }} - {% elif task.subtasks %} - {{ task.subtasks|length }} - {% endif %} - {{ _('misurazioni') }} - - - {% endif %} + +
+ {% if task.subtask_count is defined or task.subtasks %} + + + + + {% if task.subtask_count is defined %}{{ task.subtask_count }}{% elif task.subtasks %}{{ task.subtasks|length }}{% endif %} + + {% endif %} - - {% if task.file_path %} - - {% if task.file_path.endswith('.pdf') %} - - - - {% else %} - - - - {% endif %} - {{ _('Allegato') }} - + {% if task.file_path %} + + {% if task.file_path.endswith('.pdf') %} + + + + {% else %} + + + {% endif %} -
+ + {% endif %}