Commit iniziale di eminuxCRM: CRM Rails con pipeline, campagne email e Docker.
Include autenticazione, progetti isolati, mail marketing HTML con SMTP, test A/B e editor WYSIWYG. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<div class="space-y-6">
|
||||
<div>
|
||||
<h1 class="text-2xl font-semibold tracking-tight">Oggi</h1>
|
||||
<p class="text-sm text-slate-500"><%= l(Time.zone.today, format: :long) %> · pagina operativa del mattino</p>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<h2 class="mb-2 text-sm font-semibold uppercase tracking-wide text-rose-700">In ritardo</h2>
|
||||
<%= render "shared/task_list", tasks: @overdue_tasks %>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 class="mb-2 text-sm font-semibold uppercase tracking-wide text-amber-700">Oggi</h2>
|
||||
<%= render "shared/task_list", tasks: @today_tasks %>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 class="mb-2 text-sm font-semibold uppercase tracking-wide text-zinc-600 dark:text-zinc-400">Prossimi follow-up</h2>
|
||||
<%= render "shared/task_list", tasks: @upcoming_tasks %>
|
||||
</section>
|
||||
|
||||
<section class="rounded-xl border border-zinc-200 bg-white text-zinc-900 dark:border-zinc-800 dark:bg-zinc-900 dark:text-zinc-100 p-5">
|
||||
<h2 class="text-lg font-semibold">Opportunità ferme</h2>
|
||||
<div class="mt-3 divide-y divide-zinc-100 dark:divide-zinc-800">
|
||||
<% @stalled.each do |opp| %>
|
||||
<div class="flex flex-wrap items-center justify-between gap-2 py-3">
|
||||
<div>
|
||||
<%= link_to opp.organization.name, opp.organization, class: "font-medium hover:underline" %>
|
||||
<div class="text-sm text-slate-500"><%= opp.name %> · <%= stage_badge(opp.pipeline_stage) %> · <%= opp.days_in_current_stage %> giorni</div>
|
||||
</div>
|
||||
<%= link_to "Apri", opp.organization, class: "text-sm text-zinc-600 hover:underline dark:text-zinc-300" %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if @stalled.blank? %><p class="text-sm text-slate-500">Nessuna opportunità ferma.</p><% end %>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="rounded-xl border border-zinc-200 bg-white text-zinc-900 dark:border-zinc-800 dark:bg-zinc-900 dark:text-zinc-100 p-5">
|
||||
<h2 class="text-lg font-semibold">Nuovi prospect da contattare</h2>
|
||||
<div class="mt-3 divide-y divide-zinc-100 dark:divide-zinc-800">
|
||||
<% @new_prospects.each do |org| %>
|
||||
<div class="flex flex-wrap items-center justify-between gap-2 py-3">
|
||||
<div>
|
||||
<%= link_to org.name, org, class: "font-medium hover:underline" %>
|
||||
<div class="text-sm text-slate-500"><%= org.city %> · <%= org.lead_source_label %> · <%= org.assigned_user&.full_name || "Non assegnato" %></div>
|
||||
</div>
|
||||
<%= link_to "Contatta", org, class: "#{btn_primary} px-3 py-1.5 text-xs" %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if @new_prospects.blank? %><p class="text-sm text-slate-500">Nessun nuovo prospect.</p><% end %>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
Reference in New Issue
Block a user