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

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

added on WebSTLs (webstls.com) at 2026-07-01 22:27:05

Added
+77
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 25b4aa0eb60e
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 <link rel="icon" type="image/svg+xml" href="/assets/images/favicon.svg">
6 <title>Subscribe &middot; $plan_name</title>
7 <link rel="stylesheet" href="/assets/css/site.css">
8 <style>:root { $theme_css_vars }</style>
9 <style>
10 body { background:var(--col-bg); color:var(--col-text); font-family:var(--font-ui,sans-serif); margin:0; }
11 .sub-wrap { max-width:560px; margin:0 auto; padding:60px 24px 80px; }
12 .sub-card { background:var(--col-surface-1); border:1px solid var(--col-border); border-radius:16px; padding:32px; }
13 h1 { font-family:var(--font-display,inherit); margin:0 0 6px; color:var(--col-text); }
14 .lead { color:var(--col-text-2); margin:0 0 24px; }
15 .price-strip { font-family:var(--font-mono,monospace); font-size:34px; font-weight:800; color:var(--col-accent-bright); }
16 .price-sub { font-size:14px; color:var(--col-text-3); margin-top:4px; }
17 .field { margin:14px 0; }
18 label { display:block; font-size:12px; color:var(--col-text-2); letter-spacing:0.5px; text-transform:uppercase; margin-bottom:4px; }
19 input { width:100%; padding:10px 12px; background:var(--col-surface-2); border:1px solid var(--col-border); color:var(--col-text); border-radius:8px; font-size:14px; box-sizing:border-box; }
20 button { width:100%; padding:14px; background:linear-gradient(135deg, var(--col-accent), var(--col-accent-bright)); color:#fff; border:0; border-radius:10px; font-size:15px; font-weight:700; cursor:pointer; margin-top:14px; }
21 button:hover { filter:brightness(1.05); }
22 .small { font-size:12px; color:var(--col-text-3); margin-top:14px; line-height:1.5; }
23 </style>
24</head>
25<body>
26<main class="sub-wrap">
27 <div class="sub-card">
28 <p style="font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--col-text-3);margin:0 0 8px">$store_name &middot; Subscribe</p>
29 <h1>$plan_name</h1>
30 <p class="lead">$plan_tagline</p>
31
32 <div class="price-strip">$price_label</div>
33 <div class="price-sub">every $cadence days &middot; $quota item(s) per period</div>
34
35 [if:$plan_desc]
36 <div style="margin:20px 0;padding:14px 16px;background:var(--col-surface-2);border-radius:10px;font-size:14px;color:var(--col-text-2);line-height:1.55;white-space:pre-wrap">$plan_desc</div>
37 [/if]
38
39 <form method="POST" action="/subscribe.cgi">
40 <input type="hidden" name="plan" value="$plan_id">
41
42 <div class="field">
43 <label>Account</label>
44 <input type="text" value="$buyer_email" disabled>
45 </div>
46
47 [if:$is_ship_kind]
48 <div class="field">
49 <label>Ship name</label>
50 <input type="text" name="ship_name" required maxlength="120">
51 </div>
52 <div class="field">
53 <label>Street address</label>
54 <input type="text" name="ship_addr1" required maxlength="200">
55 </div>
56 <div class="field">
57 <label>City</label>
58 <input type="text" name="ship_city" required maxlength="120">
59 </div>
60 <div class="field">
61 <label>Postal code</label>
62 <input type="text" name="ship_postal" required maxlength="20">
63 </div>
64 <div class="field">
65 <label>Country (2-letter ISO)</label>
66 <input type="text" name="ship_country" required maxlength="2" placeholder="US" style="text-transform:uppercase">
67 </div>
68 [/if]
69
70 <button type="submit">Confirm subscription</button>
71
72 <p class="small">By subscribing you agree to recurring monthly charges via your card on file at $store_name. Cancel anytime from your <strong>My Subscription</strong> page; benefits continue until the end of the current period.</p>
73 </form>
74 </div>
75</main>
76</body>
77</html>
Keyboard: j next diff k previous diff g top G bottom r restore c compile-check ? help