- Remove default Phoenix branding and create custom layouts - Replace DaisyUI classes with custom Tailwind components throughout - Add authenticated layout with navigation bar for organization pages - Redesign all core components (buttons, forms, tables, alerts) - Make dashboard stat cards clickable to navigate to respective pages - Update alert acknowledge button to only show for equipment down alerts - Add consistent dark mode support across all pages - Implement modern design with zinc color palette and improved spacing
15 lines
527 B
Text
15 lines
527 B
Text
<.header>
|
|
{@page_title}
|
|
<:subtitle>Create a new organization to manage your sites and equipment</:subtitle>
|
|
</.header>
|
|
|
|
<div class="max-w-2xl">
|
|
<.form for={@form} id="organization-form" phx-change="validate" phx-submit="save">
|
|
<.input field={@form[:name]} type="text" label="Organization Name" required />
|
|
|
|
<div class="flex gap-3 mt-6">
|
|
<.button phx-disable-with="Creating..." variant="primary">Create Organization</.button>
|
|
<.button navigate={~p"/orgs"}>Cancel</.button>
|
|
</div>
|
|
</.form>
|
|
</div>
|