change/modify/delete/add private keys

This commit is contained in:
Andras Bacsai
2023-05-03 12:38:57 +02:00
parent 906b4ce158
commit 612460ca16
16 changed files with 169 additions and 24 deletions

View File

@@ -0,0 +1,4 @@
<x-layout>
<h1>Select a private Key</h1>
<livewire:server.private-key />
</x-layout>

View File

@@ -1,6 +1,10 @@
<x-layout>
<h1>Server</h1>
<livewire:server.form :server_id="$server->id" />
<h2>Private Key <a
href="{{ route('server.private-key', ['server_uuid' => $server->uuid]) }}"><button>Change</button></a>
</h2>
<p>{{ $server->privateKey->name }}</p>
<h2>Destinations <a href="{{ route('destination.new', ['server_id' => $server->id]) }}"><button>New</button></a></h2>
@if ($server->standaloneDockers)
@foreach ($server->standaloneDockers as $docker)