feat(ui): rinomina Misure→Attività, textarea descrizione task, tool Testo annotazioni
- Navbar e breadcrumb: label "Misure" rinominata "Attività" (IT) / "Activities" (EN) - Descrizione task: input sostituito con textarea multilinea + display whitespace-pre-wrap - Annotation editor: nuovo tool "Testo" con fabric.IText (inline editing, serializzazione, viewer) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -269,12 +269,12 @@
|
||||
placeholder="{{ _('Es. Seguire procedura ISO 2768') }}">
|
||||
</div>
|
||||
<!-- Descrizione -->
|
||||
<div>
|
||||
<div class="sm:col-span-2">
|
||||
<label class="tmf-label">{{ _('Descrizione') }}</label>
|
||||
<input type="text"
|
||||
x-model="newTask.description"
|
||||
class="tmf-input"
|
||||
placeholder="{{ _('Descrizione opzionale...') }}">
|
||||
<textarea x-model="newTask.description"
|
||||
class="tmf-input text-sm"
|
||||
rows="3"
|
||||
placeholder="{{ _('Descrizione opzionale...') }}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -497,7 +497,7 @@
|
||||
<template x-if="task.description">
|
||||
<div class="flex items-start gap-2">
|
||||
<span class="text-xs font-semibold text-[var(--text-muted)] uppercase tracking-wide shrink-0 mt-0.5">{{ _('Descrizione') }}:</span>
|
||||
<span class="text-sm text-[var(--text-secondary)]" x-text="task.description"></span>
|
||||
<span class="text-sm text-[var(--text-secondary)] whitespace-pre-wrap" x-text="task.description"></span>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
@@ -513,12 +513,12 @@
|
||||
class="tmf-input text-sm"
|
||||
placeholder="{{ _('Direttiva opzionale...') }}">
|
||||
</div>
|
||||
<div>
|
||||
<div class="sm:col-span-2">
|
||||
<label class="tmf-label">{{ _('Descrizione') }}</label>
|
||||
<input type="text"
|
||||
x-model="editTaskData.description"
|
||||
class="tmf-input text-sm"
|
||||
placeholder="{{ _('Descrizione opzionale...') }}">
|
||||
<textarea x-model="editTaskData.description"
|
||||
class="tmf-input text-sm"
|
||||
rows="3"
|
||||
placeholder="{{ _('Descrizione opzionale...') }}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user