basics of adding / removing hetzner servers

This commit is contained in:
Andras Bacsai
2025-10-09 10:41:29 +02:00
parent c1bcc41546
commit 215301fa8f
15 changed files with 744 additions and 119 deletions

View File

@@ -2,11 +2,17 @@
<div class="flex flex-col gap-4">
@can('viewAny', App\Models\CloudProviderToken::class)
<div>
<h3 class="pb-2">Add Server from Cloud Provider</h3>
<div class="flex gap-2 flex-wrap">
<x-modal-input
buttonTitle="+ Hetzner"
title="Connect to Hetzner">
<x-modal-input title="Connect to Hetzner">
<x-slot:button-title>
<div class="flex items-center gap-2">
<svg class="w-5 h-5" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<rect width="200" height="200" fill="#D50C2D" rx="8" />
<path d="M40 40 H60 V90 H140 V40 H160 V160 H140 V110 H60 V160 H40 Z" fill="white" />
</svg>
<span>Hetzner</span>
</div>
</x-slot:button-title>
<livewire:server.new.by-hetzner :private_keys="$private_keys" :limit_reached="$limit_reached" />
</x-modal-input>
</div>