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:
2026-11-29 11:15:09 +02:00
co-authored by Claude Opus 5.5
parent 51b40b24fe
commit de168619b3
5 changed files with 14 additions and 14 deletions
@@ -313,7 +313,7 @@ new class extends Component
<div class="mx-auto max-w-3xl space-y-6 p-4 sm:p-6">
<x-page-title icon="queue-list">{{ $this->heading() }}</x-page-title>
<form wire:submit="save" class="space-y-6" novalidate>
<form wire:submit="save" class="card space-y-6" novalidate>
<x-input wire:model="form.name" :label="__('catalog.fields.name')" :hint="__('catalog.workflows.name_help')" autocomplete="off" required />
{{-- TallStackUI's native select does not tie its label to the control, so aria-label names it. --}}
@@ -334,7 +334,7 @@ new class extends Component
@endforeach
</x-select.native>
<section aria-labelledby="steps-heading" class="card space-y-4">
<section aria-labelledby="steps-heading" class="space-y-4 rounded-lg border border-zinc-200 bg-zinc-50 p-4 dark:border-zinc-700 dark:bg-zinc-800/50">
<div class="space-y-1">
<h2 id="steps-heading" class="text-xl font-semibold">{{ __('catalog.workflows.steps') }}</h2>
<p class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('catalog.workflows.steps_help') }}</p>