19 lines
775 B
PHP
Executable File
19 lines
775 B
PHP
Executable File
<div>
|
|
<form class="flex items-end justify-center gap-2" wire:submit.prevent='runCommand'>
|
|
<x-inputs.input class="w-[32rem]" autofocus noDirty noLabel id="command" label="Command" required />
|
|
<select wire:model.defer="server">
|
|
@foreach ($servers as $server)
|
|
@if ($loop->first)
|
|
<option selected value="{{ $server->uuid }}">{{ $server->name }}</option>
|
|
@else
|
|
<option value="{{ $server->uuid }}">{{ $server->name }}</option>
|
|
@endif
|
|
@endforeach
|
|
</select>
|
|
<x-inputs.button isBold type="submit">Run</x-inputs.button>
|
|
</form>
|
|
<div class="container w-full pt-10 mx-auto">
|
|
<livewire:activity-monitor />
|
|
</div>
|
|
</div>
|