Diff -- /var/www/vhosts/webstls.com/httpdocs/TEMPLATES/webstls_buyer_login.html
Diff

/var/www/vhosts/webstls.com/httpdocs/TEMPLATES/webstls_buyer_login.html

added on WebSTLs (webstls.com) at 2026-07-01 22:26:58

Added
+70
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 56cfa40e719e
Restore this content →
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.
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.0">
6 <link rel="icon" type="image/svg+xml" href="/assets/images/favicon.svg">
7 <title>Sign in &middot; $store_name</title>
8 <link rel="preconnect" href="https://fonts.googleapis.com">
9 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10 <link href="https://fonts.googleapis.com/css2?family=Inter:wght\@400;500;600;700&family=Space+Grotesk:wght\@500;600;700&display=swap" rel="stylesheet">
11 <!-- site.css is required for the StoreChrome header buttons (.btn,
12 .btn-primary, .btn-secondary) to pick up their normal styling --
13 without it they render as bare underlined text links. -->
14 <link rel="stylesheet" href="/assets/css/site.css">
15 <style>
16 :root { $theme_css_vars }
17 /* Layout: chrome stays at the very top, the auth card fills the
18 remaining viewport and centers itself. Was display:grid on body
19 which centered EVERYTHING (chrome AND card) in the page. */
20 body { background: var(--col-bg, #050a1c); color: var(--col-text, #e6ecf6); font-family: 'Inter', system-ui, sans-serif; margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
21 .auth-wrap { flex: 1; display: grid; place-items: center; padding: 40px 20px; }
22 .auth-card { background: var(--col-surface-1); border: 1px solid var(--col-border); border-radius: 16px; padding: 36px 36px 32px; max-width: 460px; width: 100%; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
23 .auth-eyebrow { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--col-text-3); margin-bottom: 8px; }
24 .auth-title { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; margin: 0 0 6px; color: #fff; }
25 .auth-sub { font-size: 14px; color: var(--col-text-2); margin: 0 0 24px; line-height: 1.5; }
26 .auth-form .field { margin-bottom: 14px; }
27 .auth-form label { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--col-text-3); margin-bottom: 6px; font-weight: 600; }
28 .auth-form input { width: 100%; background: var(--col-surface-2); border: 1px solid var(--col-border); color: var(--col-text); padding: 12px 14px; border-radius: 10px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
29 .auth-form input:focus { outline: none; border-color: var(--col-accent); }
30 .auth-submit { width: 100%; padding: 13px 18px; background: var(--grad-brand, linear-gradient(135deg,#7c3aed,#3b82f6)); color: #fff; border: none; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; letter-spacing: 0.4px; margin-top: 8px; }
31 .auth-error { background: rgba(239,68,68,0.10); border: 1px solid rgba(239,68,68,0.40); color: #fca5a5; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 18px; }
32 .auth-foot { margin-top: 22px; font-size: 13px; color: var(--col-text-2); text-align: center; }
33 .auth-foot a { color: var(--col-accent-bright); text-decoration: none; font-weight: 600; }
34 .auth-back { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--col-text-3); text-decoration: none; }
35 .auth-back:hover { color: var(--col-text-2); }
36 </style>
37</head>
38<body>
39$store_chrome_html
40<div class="auth-wrap">
41 <div class="auth-card">
42 <div class="auth-eyebrow">$store_name</div>
43 <h1 class="auth-title">Welcome back</h1>
44 <p class="auth-sub">Sign in to your buyer account to see your order history and re-download files.</p>
45
46 [if:$has_error]
47 <div class="auth-error">$error_message</div>
48 [/if]
49
50 <form class="auth-form" method="POST" action="/buyer_login.cgi">
51 <input type="hidden" name="id" value="$store_id">
52 <div class="field">
53 <label>Email</label>
54 <input type="email" name="email" value="$email_value" required maxlength="191" autocomplete="email" autofocus>
55 </div>
56 <div class="field">
57 <label>Password</label>
58 <input type="password" name="password" required autocomplete="current-password">
59 </div>
60 <button type="submit" class="auth-submit">Sign in</button>
61 </form>
62
63 <div class="auth-foot">
64 New here? <a href="$signup_href">Create an account</a>
65 </div>
66 <div style="text-align:center"><a href="$back_href" class="auth-back">&larr; Back to store</a></div>
67 </div>
68</div>
69</body>
70</html>
Keyboard: j next diff k previous diff g top G bottom r restore c compile-check ? help