carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1<!doctype html>
2<html lang="en">
3<head>
4<meta charset="utf-8">
5<meta name="viewport" content="width=device-width, initial-scale=1">
6<meta name="robots" content="noindex, nofollow">
7<title>Password required</title>
8<style>
9:root {
10 --bg: #ffffff; --ink: #1d2029; --muted: #64707f; --accent: #0f5e85;
11 --accent-soft: rgba(15, 94, 133, 0.09); --rule: #e7e9f0; --bad: #b3403a;
12}
13@media (prefers-color-scheme: dark) {
14 :root {
15 --bg: #14151c; --ink: #eef0f6; --muted: #93a4ba; --accent: #5db8dd;
16 --accent-soft: rgba(93, 184, 221, 0.12); --rule: #2a2e38; --bad: #e07b76;
17 }
18}
19* { margin: 0; padding: 0; box-sizing: border-box; }
20body {
21 background: var(--bg); color: var(--ink);
22 font: 400 1rem/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
23 min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.25rem;
24}
25main { width: 100%; max-width: 22rem; }
26h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
27p { color: var(--muted); margin-bottom: 1.25rem; }
28p code { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
29label { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.35rem; }
30input[type=password] {
31 width: 100%; font: inherit; color: var(--ink); background: var(--bg);
32 border: 1px solid var(--rule); border-radius: 0.4rem; padding: 0.55rem 0.7rem; margin-bottom: 0.9rem;
33}
34input[type=password]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
35button {
36 width: 100%; font: inherit; font-weight: 600; color: var(--bg); background: var(--accent);
37 border: 0; border-radius: 0.4rem; padding: 0.6rem 0.9rem; cursor: pointer;
38}
39.error { color: var(--bad); margin: 0 0 0.9rem; }
40</style>
41</head>
42<body>
43<main>
44 <h1>Password required</h1>
45 <p><code>{{.Host}}</code> is private. Enter the password to continue.</p>
46 <form method="post" action="{{.Action}}">
47 <input type="hidden" name="next" value="{{.Next}}">
48 {{if .Error}}<p class="error" role="alert">{{.Error}}</p>{{end}}
49 <label for="password">Password</label>
50 <input type="password" id="password" name="password" autocomplete="current-password" autofocus required>
51 <button type="submit">Continue</button>
52 </form>
53</main>
54</body>
55</html>
56