coolify/resources/views/livewire/run-command.blade.php

20 lines
841 B
PHP
Raw Normal View History

2023-03-20 13:04:22 +01:00
<div>
2023-05-22 13:11:22 +02:00
<h1>Command Center</h1>
2023-05-08 09:16:50 +02:00
<form class="flex items-end justify-center gap-2" wire:submit.prevent='runCommand'>
2023-05-18 15:12:26 +02:00
<x-inputs.input placeholder="ls -l" autofocus noDirty noLabel id="command" label="Command" required />
2023-05-22 15:47:40 +02:00
<x-inputs.select label="Server" id="server" required>
2023-05-04 10:00:08 +02:00
@foreach ($servers as $server)
2023-05-12 15:39:07 +02:00
@if ($loop->first)
<option selected value="{{ $server->uuid }}">{{ $server->name }}</option>
@else
<option value="{{ $server->uuid }}">{{ $server->name }}</option>
@endif
2023-05-04 10:00:08 +02:00
@endforeach
2023-05-22 15:47:40 +02:00
</x-inputs.select>
2023-05-18 15:12:26 +02:00
<x-inputs.button class="btn-xl" type="submit">Run</x-inputs.button>
2023-05-04 10:00:08 +02:00
</form>
2023-05-08 09:16:50 +02:00
<div class="container w-full pt-10 mx-auto">
<livewire:activity-monitor />
</div>
2023-03-20 13:04:22 +01:00
</div>