This commit is contained in:
Andras Bacsai
2023-05-25 14:05:44 +02:00
parent ea2a13dff2
commit d2b0823cd0
40 changed files with 284 additions and 279 deletions

View File

@@ -1,8 +1,8 @@
<div>
<h1>Command Center</h1>
<form class="flex items-end justify-center gap-2" wire:submit.prevent='runCommand'>
<x-inputs.input placeholder="ls -l" autofocus noDirty noLabel id="command" label="Command" required />
<x-inputs.select label="Server" id="server" required>
<x-forms.input placeholder="ls -l" autofocus noDirty id="command" label="Command" required />
<x-forms.select label="Server" id="server" required>
@foreach ($servers as $server)
@if ($loop->first)
<option selected value="{{ $server->uuid }}">{{ $server->name }}</option>
@@ -10,8 +10,8 @@
<option value="{{ $server->uuid }}">{{ $server->name }}</option>
@endif
@endforeach
</x-inputs.select>
<x-inputs.button class="btn-xl" type="submit">Run</x-inputs.button>
</x-forms.select>
<x-forms.button class="btn-xl" type="submit">Run</x-forms.button>
</form>
<div class="container w-full pt-10 mx-auto">
<livewire:activity-monitor />