33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title><%= title %></title>
|
|
<style>
|
|
body { font-family: Arial, sans-serif; background: #f3f4f6; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; }
|
|
.card { width: 360px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 18px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
|
|
h2 { margin: 0 0 8px 0; font-size: 20px; }
|
|
p { margin: 0 0 14px 0; color: #6b7280; font-size: 13px; }
|
|
input { width: 100%; padding: 10px; border: 1px solid #d1d5db; border-radius: 8px; box-sizing: border-box; margin-bottom: 10px; }
|
|
button { width: 100%; padding: 10px; border: 1px solid #1d4ed8; border-radius: 8px; background: #1d4ed8; color: #fff; cursor: pointer; }
|
|
button:hover { background: #1e40af; }
|
|
.err { color: #b91c1c; font-size: 13px; margin-bottom: 10px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="card">
|
|
<h2>IPI Demo Access</h2>
|
|
<p>Enter `IPI_DEMO_KEY` to access demo dashboard.</p>
|
|
<% if (error) { %>
|
|
<div class="err"><%= error %></div>
|
|
<% } %>
|
|
<form method="post" action="/ipi-demo-auth">
|
|
<input type="password" name="key" placeholder="Enter demo key" required />
|
|
<button type="submit">Unlock Demo</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|