Files
eminuxCRM/app/views/tasks/index.html.erb
T
eminuxandCursor 0e8730b889
CI / scan_ruby (push) Failing after 11m43s
CI / scan_js (push) Successful in 11m18s
CI / lint (push) Failing after 11m56s
Rende il CRM comodo da usare anche da cellulare.
Aggiunge navigazione mobile dedicata e trasforma le principali liste operative in layout più leggibili e facili da toccare.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 10:55:50 +02:00

19 lines
780 B
ERB

<div class="space-y-6">
<div class="flex flex-wrap items-center justify-between gap-3">
<h1 class="text-xl font-semibold md:text-2xl">Task</h1>
<%= link_to "Nuovo task", new_task_path, class: "#{btn_primary} w-full sm:w-auto" %>
</div>
<section>
<h2 class="mb-2 text-sm font-semibold uppercase text-rose-700">In ritardo</h2>
<%= render "shared/task_list", tasks: @overdue_tasks %>
</section>
<section>
<h2 class="mb-2 text-sm font-semibold uppercase text-amber-700">Oggi</h2>
<%= render "shared/task_list", tasks: @today_tasks %>
</section>
<section>
<h2 class="mb-2 text-sm font-semibold uppercase text-zinc-600 dark:text-zinc-400">Prossimi 30 giorni</h2>
<%= render "shared/task_list", tasks: @upcoming_tasks %>
</section>
</div>