Darken the dark canvas, add customer colours, the ongoing status and the board model
- Dark theme page background is #5a5e60; text on it is lifted to zinc-200 / primary-100 and TallStackUI's dark labels, hints and checkbox labels are lightened so everything stays at 4.5:1. - Shared HexColor picks white or black text by the higher WCAG contrast; a native-dialog colour picker and a large work dialog component. - Customers get a header colour (customers.header_color), set on the customer page. - New job status Jatkuvat / Kausi (ongoing): open, never late, billed monthly like running jobs. - Kanban model: board columns and views, urgent threshold, per-user board preferences (density, column colours and sort), card positions, tasks of continuing jobs pinned to the board, MoveBoardCard and board queries with logged hours from TimeTracking. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -408,7 +408,7 @@ new class extends Component
|
||||
@can('inventory.manage')
|
||||
<section aria-labelledby="purchase-heading" class="card space-y-3">
|
||||
<h2 id="purchase-heading" class="text-lg font-semibold">{{ __('inventory.purchase.title') }}</h2>
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('inventory.purchase.intro') }}</p>
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-200">{{ __('inventory.purchase.intro') }}</p>
|
||||
<form wire:submit="recordPurchase" class="space-y-4" novalidate>
|
||||
<x-input id="purchase-day" wire:model="purchaseDay" type="date" :label="__('inventory.purchase.day')" required />
|
||||
<x-input id="purchase-quantity" wire:model="purchaseQuantity" inputmode="decimal" :label="__('inventory.purchase.quantity', ['unit' => $unitLabel])" autocomplete="off" />
|
||||
@@ -434,7 +434,7 @@ new class extends Component
|
||||
@can('inventory.record-use')
|
||||
<section aria-labelledby="use-heading" class="card space-y-3">
|
||||
<h2 id="use-heading" class="text-lg font-semibold">{{ __('inventory.use.title') }}</h2>
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('inventory.use.intro') }}</p>
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-200">{{ __('inventory.use.intro') }}</p>
|
||||
<form wire:submit="recordUse" class="space-y-4" novalidate>
|
||||
<x-input id="use-quantity" wire:model="useQuantity" inputmode="decimal" :label="__('inventory.use.quantity', ['unit' => $unitLabel])" autocomplete="off" />
|
||||
<x-input id="use-reason" wire:model="useReason" :label="__('inventory.use.reason')" autocomplete="off" maxlength="255" />
|
||||
@@ -454,7 +454,7 @@ new class extends Component
|
||||
<x-empty-state icon="archive-box">{{ __('inventory.item.history_none') }}</x-empty-state>
|
||||
@else
|
||||
@if (count($this->movements) >= $this::HISTORY_LIMIT)
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('inventory.item.history_limit', ['count' => $this::HISTORY_LIMIT]) }}</p>
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-200">{{ __('inventory.item.history_limit', ['count' => $this::HISTORY_LIMIT]) }}</p>
|
||||
@endif
|
||||
|
||||
<x-table :headers="$this->headers()" :rows="$this->movements">
|
||||
|
||||
Reference in New Issue
Block a user