Files
2026-05-17 13:26:14 +02:00

25 lines
1.0 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@extends('layouts.app')
@section('title', 'ISO-Upload')
@section('heading', 'Eigene ISO hochladen')
@section('content')
<div class="hexahost-card mb-6 max-w-xl p-6">
<p class="mb-4 text-sm opacity-80">Max. {{ config('hosting.iso_upload.max_per_customer') }} ISO, {{ config('hosting.iso_upload.max_size_mb') }} MB, {{ config('hosting.iso_upload.retention_hours') }}h Aufbewahrung.</p>
<form method="POST" action="{{ route('iso-uploads.store') }}" enctype="multipart/form-data" class="space-y-4">
@csrf
<input type="file" name="iso" accept=".iso" required class="w-full text-sm">
<button class="hexahost-btn-primary px-4 py-2 text-sm">Hochladen</button>
</form>
</div>
<div class="hexahost-card p-6">
<h2 class="mb-4 font-semibold">Aktive Uploads</h2>
<ul class="space-y-2 text-sm">
@forelse($uploads as $u)
<li>{{ $u->filename }} läuft ab {{ $u->expires_at->format('d.m.Y H:i') }}</li>
@empty
<li class="opacity-60">Keine Uploads.</li>
@endforelse
</ul>
</div>
@endsection