Update tooltip text to correctly show that the maximum execution time is 36000 seconds (10 hours) instead of 3600 seconds. The validation already allowed up to 36000 seconds, but the UI was displaying incorrect information.
🤖 Generated with Claude Code
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
32 lines
1.6 KiB
PHP
32 lines
1.6 KiB
PHP
<form class="flex flex-col w-full gap-2 rounded-sm" wire:submit='submit'>
|
|
<x-forms.input placeholder="Run cron" id="name" label="Name" />
|
|
<x-forms.input placeholder="php artisan schedule:run" id="command" label="Command" />
|
|
<x-forms.input placeholder="0 0 * * * or daily"
|
|
helper="You can use every_minute, hourly, daily, weekly, monthly, yearly or a cron expression." id="frequency"
|
|
label="Frequency" />
|
|
<x-forms.input type="number" placeholder="300" id="timeout"
|
|
helper="Maximum execution time in seconds (60-36000). Default is 300 seconds (5 minutes)."
|
|
label="Timeout (seconds)" />
|
|
@if ($type === 'application')
|
|
@if ($containerNames->count() > 1)
|
|
<x-forms.select id="container" label="Container name">
|
|
@foreach ($containerNames as $containerName)
|
|
<option value="{{ $containerName }}">{{ $containerName }}</option>
|
|
@endforeach
|
|
</x-forms.select>
|
|
@else
|
|
<x-forms.input placeholder="php" id="container"
|
|
helper="You can leave this empty if your resource only has one container." label="Container name" />
|
|
@endif
|
|
@elseif ($type === 'service')
|
|
<x-forms.select id="container" label="Container name">
|
|
@foreach ($containerNames as $containerName)
|
|
<option value="{{ $containerName }}">{{ $containerName }}</option>
|
|
@endforeach
|
|
</x-forms.select>
|
|
@endif
|
|
|
|
<x-forms.button @click="modalOpen=false" type="submit">
|
|
Save
|
|
</x-forms.button>
|
|
</form>
|