@php $field = 'w-full rounded-md border border-line bg-inset px-3 py-2 text-sm text-ink focus:border-accent/40 focus:outline-none'; $label = 'mb-1 block font-mono text-[11px] uppercase tracking-wider text-ink-3'; @endphp
{{-- Header --}}

{{ __('commands.eyebrow') }}

{{ __('commands.title') }}

{{ __('commands.subtitle') }}

{{-- Ad-hoc --}}
@error('command')

{{ $message }}

@enderror
@foreach (['all', 'group', 'servers'] as $s) @endforeach
@if ($scopeType === 'group')
@elseif ($scopeType === 'servers')
@foreach ($servers as $srv) @endforeach
@endif
{{ __('commands.run') }}
{{-- Results --}} @if (! empty($results))
@foreach ($results as $r)
{{ $r['server'] }} {{ $r['ok'] ? __('commands.exit_ok') : __('commands.exit_fail') }}
@if ($r['output'] !== '')
{{ $r['output'] }}
@endif
@endforeach
@endif {{-- Runbooks --}} @if ($runbooks->isEmpty())

{{ __('commands.no_runbooks_title') }}

{{ __('commands.no_runbooks') }}

@else
@foreach ($runbooks as $rb)

{{ $rb->name }}

{{ $rb->command }}

{{ __('commands.run') }} {{ __('common.delete') }}
@endforeach
@endif

{{ __('commands.new_runbook') }}

@error('runbookName')

{{ $message }}

@enderror
@error('runbookCommand')

{{ $message }}

@enderror
{{ __('commands.create') }}