2023-04-25 08:47:13 +00:00
|
|
|
<div>
|
|
|
|
<form wire:submit.prevent='submit' class="flex flex-col">
|
|
|
|
<div class="flex flex-col gap-2 xl:flex-row">
|
|
|
|
<div class="flex flex-col w-96">
|
2023-04-25 12:43:35 +00:00
|
|
|
<x-form-input id="server.name" label="Name" required />
|
|
|
|
<x-form-input id="server.description" label="Description" />
|
2023-04-25 08:47:13 +00:00
|
|
|
</div>
|
|
|
|
<div class="flex flex-col w-96">
|
2023-04-25 12:43:35 +00:00
|
|
|
<x-form-input id="server.ip" label="IP Address" required />
|
|
|
|
<x-form-input id="server.user" label="User" required />
|
|
|
|
<x-form-input type="number" id="server.port" label="Port" required />
|
2023-04-25 08:47:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-26 13:38:50 +00:00
|
|
|
<div>
|
|
|
|
<button class="w-16 mt-4" type="submit">
|
|
|
|
Submit
|
|
|
|
</button>
|
|
|
|
<button wire:click.prevent='checkConnection'>Check Connection</button>
|
|
|
|
</div>
|
2023-04-25 08:47:13 +00:00
|
|
|
</form>
|
2023-04-26 13:38:50 +00:00
|
|
|
@isset($uptime)
|
|
|
|
<p>Connection OK</p>
|
|
|
|
<p>Uptime: {{ $uptime }}</p>
|
|
|
|
@endisset
|
2023-04-25 08:47:13 +00:00
|
|
|
</div>
|