Files
ladill-transfer/resources/views/public/transfer/password.blade.php
T
isaaccladandCursor 7a1bc86b9e
Deploy Ladill Transfer / deploy (push) Successful in 1m43s
Use ladl.link URLs for all front-facing QR and short-link surfaces.
Public landing pages, asset paths, payment callbacks, and redirects now go through QrCode::publicPath() / LadillLink instead of ladill.com/q/* routes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 15:46:33 +00:00

32 lines
1.5 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Password required {{ $transfer->title }}</title>
@include('partials.favicon')
@vite(['resources/css/app.css'])
</head>
<body class="flex min-h-screen items-center justify-center bg-slate-100 font-sans antialiased px-4">
<div class="w-full max-w-md rounded-2xl border border-slate-200 bg-white p-8 shadow-sm">
<img src="{{ asset('images/logo/ladilltransfer-logo.svg') }}" alt="Ladill Transfer" class="h-6 w-auto">
<h1 class="mt-6 text-lg font-semibold text-slate-900">{{ $transfer->title }}</h1>
<p class="mt-2 text-sm text-slate-500">This transfer is password protected. Enter the password to view and download files.</p>
@if(session('error'))
<p class="mt-4 rounded-lg bg-red-50 px-3 py-2 text-sm text-red-700">{{ session('error') }}</p>
@endif
<form method="post" action="{{ $qrCode->publicPath('transfer/unlock') }}" class="mt-6 space-y-4">
@csrf
<div>
<label for="password" class="block text-sm font-medium text-slate-700">Password</label>
<input type="password" name="password" id="password" required autofocus
class="mt-1 block w-full rounded-xl border-slate-200 text-sm shadow-sm focus:border-indigo-500 focus:ring-indigo-500">
</div>
<button type="submit" class="btn-primary w-full">Unlock</button>
</form>
</div>
</body>
</html>