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 @@
@extends('layouts.app')
@section('title', 'VM-Templates')
@section('heading', 'VM-Templates')
@section('content')
<a href="{{ route('admin.templates.create') }}" class="hexahost-btn-primary mb-4 inline-block px-4 py-2 text-sm">Neues Template</a>
<div class="hexahost-card overflow-hidden">
<table class="w-full text-sm">
<thead class="border-b border-white/10 text-left opacity-70"><tr><th class="p-3">Name</th><th>Slug</th><th>VMID</th><th></th></tr></thead>
<tbody>
@foreach($templates as $t)
<tr class="border-b border-white/5">
<td class="p-3">{{ $t->name }}</td>
<td class="font-mono">{{ $t->slug }}</td>
<td>{{ $t->proxmox_template_vmid }}</td>
<td class="p-3 text-right">
<a href="{{ route('admin.templates.edit', $t) }}" class="text-cyan-400 hover:underline">Bearbeiten</a>
<form method="POST" action="{{ route('admin.templates.destroy', $t) }}" class="inline">@csrf @method('DELETE')<button class="ml-2 text-red-400">Löschen</button></form>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endsection