Files
hamprint/demo/detail-pending.html

154 lines
8.6 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>cheerful_curie · pending confirmation — hamprint</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
body { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
</style>
</head>
<body class="min-h-screen bg-slate-50 text-slate-900">
<div class="bg-slate-900 text-slate-200 text-xs">
<div class="mx-auto max-w-6xl px-4 py-2 flex flex-wrap items-center gap-x-3 gap-y-1">
<span class="font-semibold text-amber-400">PROTOTYPE</span>
<a class="hover:text-white underline-offset-2 hover:underline" href="index.html">Dashboard</a>
<a class="hover:text-white underline-offset-2 hover:underline" href="submit.html">Submit (guest)</a>
<a class="hover:text-white underline-offset-2 hover:underline" href="submit-signed-in.html">Submit (signed-in)</a>
<a class="hover:text-white underline-offset-2 hover:underline" href="login.html">Sign in</a>
<a class="hover:text-white underline-offset-2 hover:underline" href="my-prints.html">My prints</a>
<span class="text-slate-500">|</span>
<a class="hover:text-white underline-offset-2 hover:underline font-semibold text-amber-300" href="detail-pending.html">Detail: pending</a>
<a class="hover:text-white underline-offset-2 hover:underline" href="detail-queued.html">queued</a>
<a class="hover:text-white underline-offset-2 hover:underline" href="detail-printing.html">printing</a>
<a class="hover:text-white underline-offset-2 hover:underline" href="detail-completed.html">completed</a>
<a class="hover:text-white underline-offset-2 hover:underline" href="detail-rejected.html">rejected</a>
<a class="hover:text-white underline-offset-2 hover:underline" href="confirmed.html">confirmation link</a>
</div>
</div>
<nav class="border-b border-slate-200 bg-white">
<div class="mx-auto max-w-6xl px-4 py-3 flex items-center justify-between">
<a href="index.html" class="flex items-center gap-2">
<span class="inline-grid place-items-center w-8 h-8 rounded-md bg-amber-500 text-white font-bold">h</span>
<span class="font-bold text-lg tracking-tight">hamprint</span>
<span class="hidden sm:inline text-xs text-slate-500 ml-1">· hamlab.lt</span>
</a>
<div class="flex items-center gap-1">
<a href="index.html" class="px-3 py-1.5 text-sm rounded-md text-slate-700 hover:bg-slate-100">Dashboard</a>
<a href="submit.html" class="px-3 py-1.5 text-sm rounded-md bg-amber-500 text-white hover:bg-amber-600 font-medium">+ Submit a print</a>
<a href="login.html" class="px-3 py-1.5 text-sm rounded-md text-slate-700 hover:bg-slate-100">Sign in</a>
</div>
</div>
</nav>
<main class="mx-auto max-w-4xl px-4 py-8">
<!-- Pending confirmation banner -->
<div class="rounded-lg border-2 border-yellow-300 bg-yellow-50 p-5 mb-6 flex items-start gap-4">
<svg class="w-8 h-8 text-yellow-600 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75" /></svg>
<div class="flex-1">
<h2 class="font-semibold text-yellow-900">Check your inbox to confirm this submission</h2>
<p class="text-sm text-yellow-900/80 mt-1">We sent a confirmation link to <span class="font-mono font-medium">y••••@example.com</span>. Click it within <span class="font-medium">1 hour</span> or this submission will be permanently deleted (along with the uploaded STL).</p>
<div class="mt-3 flex flex-wrap items-center gap-3 text-sm">
<button class="px-3 py-1.5 rounded-md bg-yellow-600 text-white hover:bg-yellow-700 font-medium">Resend confirmation email</button>
<span class="text-yellow-900/70">Expires in <span class="font-mono font-medium">52 min</span> · 0 / 3 resends used</span>
</div>
</div>
</div>
<!-- Header -->
<header class="mb-6">
<div class="flex items-center gap-3 mb-2">
<span class="inline-flex items-center gap-1.5 px-2.5 py-0.5 rounded-full bg-yellow-100 text-yellow-900 text-xs font-medium border border-yellow-200">Pending confirmation</span>
<span class="text-xs text-slate-500">Not yet visible on the dashboard</span>
</div>
<h1 class="mono text-3xl font-bold tracking-tight text-amber-700">cheerful_curie</h1>
</header>
<div class="grid lg:grid-cols-3 gap-6">
<!-- Main -->
<section class="lg:col-span-2 space-y-4">
<div class="bg-white border border-slate-200 rounded-lg p-5">
<h3 class="font-semibold text-sm uppercase tracking-wide text-slate-500 mb-3">Source</h3>
<div class="flex items-center gap-3 p-3 rounded-md bg-slate-50 border border-slate-200">
<svg class="w-8 h-8 text-slate-400" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z" /></svg>
<div class="flex-1">
<p class="font-medium text-sm">spool_holder_v3.stl</p>
<p class="text-xs text-slate-500">2.1 MB · uploaded just now</p>
</div>
<span class="text-xs text-slate-400">Hidden until confirmed</span>
</div>
</div>
</section>
<!-- Sidebar -->
<aside class="space-y-4">
<div class="bg-white border border-slate-200 rounded-lg p-5">
<h3 class="font-semibold text-sm uppercase tracking-wide text-slate-500 mb-3">Timeline</h3>
<ol class="space-y-3 text-sm">
<li class="flex gap-3">
<span class="w-2 h-2 rounded-full bg-yellow-500 mt-1.5 flex-shrink-0 ring-4 ring-yellow-100"></span>
<div>
<p class="font-medium">Submitted</p>
<p class="text-xs text-slate-500">Just now · awaiting email confirmation</p>
</div>
</li>
<li class="flex gap-3 opacity-50">
<span class="w-2 h-2 rounded-full bg-slate-300 mt-1.5 flex-shrink-0"></span>
<div>
<p class="font-medium">Confirmed</p>
<p class="text-xs text-slate-500">Click the email link</p>
</div>
</li>
<li class="flex gap-3 opacity-50">
<span class="w-2 h-2 rounded-full bg-slate-300 mt-1.5 flex-shrink-0"></span>
<div>
<p class="font-medium">Queued</p>
<p class="text-xs text-slate-500">Operator picks it up</p>
</div>
</li>
<li class="flex gap-3 opacity-50">
<span class="w-2 h-2 rounded-full bg-slate-300 mt-1.5 flex-shrink-0"></span>
<div>
<p class="font-medium">Printing</p>
</div>
</li>
<li class="flex gap-3 opacity-50">
<span class="w-2 h-2 rounded-full bg-slate-300 mt-1.5 flex-shrink-0"></span>
<div>
<p class="font-medium">Completed</p>
</div>
</li>
</ol>
</div>
<div class="bg-white border border-slate-200 rounded-lg p-5 text-sm">
<h3 class="font-semibold text-sm uppercase tracking-wide text-slate-500 mb-3">Details</h3>
<dl class="space-y-2">
<div class="flex justify-between"><dt class="text-slate-500">Source</dt><dd>.stl upload</dd></div>
<div class="flex justify-between"><dt class="text-slate-500">Submitter</dt><dd>Guest</dd></div>
<div class="flex justify-between"><dt class="text-slate-500">Created</dt><dd>Just now</dd></div>
</dl>
</div>
<div class="bg-amber-50 border border-amber-200 rounded-lg p-4 text-xs text-amber-900">
<p class="font-medium mb-1">Bookmark this page</p>
<p>This URL is the only way to find this submission. Save it now, or sign in with Google before submitting next time.</p>
</div>
</aside>
</div>
</main>
<footer class="mt-12 border-t border-slate-200 bg-white">
<div class="mx-auto max-w-6xl px-4 py-6 text-sm text-slate-500 text-center">
A community service of <a href="https://hamlab.lt" class="font-medium text-slate-700 hover:underline">hamlab.lt</a>
</div>
</footer>
</body>
</html>