initial commit

This commit is contained in:
TheOnlyMace
2026-05-17 13:26:14 +02:00
commit 75299b723d
176 changed files with 20327 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<div class="device-row rounded-lg border border-slate-700 bg-slate-800/50 p-4">
<div class="mb-3 flex items-center justify-between">
<span class="text-sm font-medium text-slate-300">Zusatzgerät</span>
<button type="button" class="remove-device text-xs text-red-400 hover:underline">Entfernen</button>
</div>
<div class="grid gap-3 sm:grid-cols-3">
<label>
<span class="text-xs text-slate-500">Typ</span>
<select name="devices[{{ $index }}][type]" class="mt-1 w-full rounded border border-slate-600 bg-slate-800 px-2 py-1.5 text-sm">
<option value=""> wählen </option>
@foreach($deviceTypes as $value => $label)
<option value="{{ $value }}" @selected(($device['type'] ?? '') === $value)>{{ $label }}</option>
@endforeach
</select>
</label>
<label>
<span class="text-xs text-slate-500">Slot (z.B. scsi1)</span>
<input name="devices[{{ $index }}][slot]" value="{{ $device['slot'] ?? '' }}" class="mt-1 w-full rounded border border-slate-600 bg-slate-800 px-2 py-1.5 text-sm">
</label>
<label>
<span class="text-xs text-slate-500">Konfiguration (JSON-Felder)</span>
<input name="devices[{{ $index }}][config][size_gb]" placeholder="size_gb (Disk)" value="{{ $device['config']['size_gb'] ?? '' }}" class="mt-1 w-full rounded border border-slate-600 bg-slate-800 px-2 py-1.5 text-sm">
</label>
</div>
</div>