Card the remaining form pages in the new look
The tasks-from-template, expense, stock item, workflow template and task hour forms sat inside @if blocks, so the earlier pass left them as bare fields on the page background. They are now cards; the template table has the indigo header row and primary focus rings, the expense billing fieldset and workflow steps get an inner surface instead of a nested card, locked-job notices are amber, and the item image picker button uses the primary colour. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -228,12 +228,12 @@ new class extends Component
|
||||
<p role="status" aria-live="polite" class="min-h-5 text-sm">{{ $statusMessage }}</p>
|
||||
|
||||
@if ($task->isLocked())
|
||||
<p class="flex items-start gap-2 rounded-lg border border-zinc-300 p-3 text-sm dark:border-zinc-600">
|
||||
<p class="flex items-start gap-2 rounded-lg border border-amber-700 bg-amber-50 p-3 text-sm text-amber-950 dark:border-amber-400 dark:bg-amber-400/10 dark:text-amber-100">
|
||||
<x-icon name="lock-closed" class="size-5 shrink-0" aria-hidden="true" />
|
||||
{{ __('time.task_page.locked') }}
|
||||
</p>
|
||||
@else
|
||||
<form wire:submit="save" class="space-y-6" novalidate>
|
||||
<form wire:submit="save" class="card space-y-6" novalidate>
|
||||
<div class="grid gap-6 sm:grid-cols-2">
|
||||
<x-input wire:model="workedOn" type="date" :label="__('time.task_page.worked_on')" required />
|
||||
<x-input wire:model="hours" inputmode="decimal" :label="__('time.task_page.hours')" :hint="__('time.task_page.hours_description')" autocomplete="off" required />
|
||||
|
||||
Reference in New Issue
Block a user