2023-03-20 12:04:22 +00:00
|
|
|
<div>
|
2023-05-08 07:16:50 +00:00
|
|
|
<form class="flex items-end justify-center gap-2" wire:submit.prevent='runCommand'>
|
2023-05-12 13:39:07 +00:00
|
|
|
<x-inputs.input class="w-[32rem]" autofocus noDirty noLabel id="command" label="Command" required />
|
2023-05-04 08:00:08 +00:00
|
|
|
<select wire:model.defer="server">
|
|
|
|
@foreach ($servers as $server)
|
2023-05-12 13:39:07 +00:00
|
|
|
@if ($loop->first)
|
|
|
|
<option selected value="{{ $server->uuid }}">{{ $server->name }}</option>
|
|
|
|
@else
|
|
|
|
<option value="{{ $server->uuid }}">{{ $server->name }}</option>
|
|
|
|
@endif
|
2023-05-04 08:00:08 +00:00
|
|
|
@endforeach
|
|
|
|
</select>
|
2023-05-14 12:43:49 +00:00
|
|
|
<x-inputs.button isBold type="submit">Run</x-inputs.button>
|
2023-05-04 08:00:08 +00:00
|
|
|
</form>
|
2023-05-08 07:16:50 +00:00
|
|
|
<div class="container w-full pt-10 mx-auto">
|
|
|
|
<livewire:activity-monitor />
|
|
|
|
</div>
|
2023-03-20 12:04:22 +00:00
|
|
|
</div>
|