Diff -- /var/www/vhosts/3dshawn.com/site1/TEMPLATES/named_releases.html

O Operator
Diff

/var/www/vhosts/3dshawn.com/site1/TEMPLATES/named_releases.html

modified on local at 2026-07-11 23:34:30

Added
+43
lines
Removed
-10
lines
Context
47
unchanged
Blobs
from 6c6cb10fed88
to dd23bd2d3645
Restore this content →
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.
11<div class="page-head">
22 <span class="page-eyebrow"><span class="dot"></span> Bookmark</span>
33 <h1 class="page-title">Named releases</h1>
4 <p class="page-subtitle">Retroactively bookmark a moment. "Before the schema refactor." "Customer verified this worked." "Before I fired the intern." Every blob referenced by a named release is protected from auto-purge, so restore-to-moment always works.</p>
4 <p class="page-subtitle">Retroactively bookmark a moment. "Before the schema refactor." "Customer verified this worked." "Before I fired the intern." Every blob referenced by a named release is protected from auto-purge, so restore-to-moment always works &mdash; scoped portfolio-wide or to a single site.</p>
55</div>
66
77<div class="module glow-emerald" style="margin-bottom:16px">
88 <div class="module-head"><div class="left">
99 <div class="module-icon"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2"><path d="M20 13V7a2 2 0 0 0-2-2h-4l-2-3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h5"/><path d="M14 19l2 2 4-4"/></svg></div>
1010 <div class="module-title">Create a bookmark</div>
1111 <span class="module-subtitle">Names the current moment. Everything captured up to now becomes restorable from this label forever.</span>
1212 </div></div>
1313 <div class="module-body">
14 <form method="post" action="/named_releases.cgi" style="display:grid;grid-template-columns:1fr 2fr 160px auto;gap:12px;align-items:end">
14 <form method="post" action="/named_releases.cgi" style="display:flex;flex-direction:column;gap:12px">
1515 <input type="hidden" name="save" value="1">
16 <div><label class="dim" style="display:block;font-size:10.5px;letter-spacing:1.4px;text-transform:uppercase;font-weight:700;margin-bottom:5px">Name</label><input type="text" name="name" required placeholder="e.g. before-schema-refactor"></div>
17 <div><label class="dim" style="display:block;font-size:10.5px;letter-spacing:1.4px;text-transform:uppercase;font-weight:700;margin-bottom:5px">Description</label><input type="text" name="description" placeholder="Optional context"></div>
18 <div><label class="dim" style="display:block;font-size:10.5px;letter-spacing:1.4px;text-transform:uppercase;font-weight:700;margin-bottom:5px">By</label><input type="text" name="released_by" value="Operator"></div>
19 <button type="submit" class="btn">Save bookmark</button>
16
17 <div style="display:flex;gap:12px">
18 <label style="flex:1;display:flex;flex-direction:column;gap:4px">
19 <span class="rb-label">Name</span>
20 <input type="text" name="name" required placeholder="e.g. before-schema-refactor"
21 style="background:var(--bg-1);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px 12px;font-family:var(--mono);font-size:12.5px">
22 </label>
23 <label style="flex:2;display:flex;flex-direction:column;gap:4px">
24 <span class="rb-label">Description</span>
25 <input type="text" name="description" placeholder="Optional context"
26 style="background:var(--bg-1);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px 12px;font-size:12.5px">
27 </label>
28 <label style="width:160px;display:flex;flex-direction:column;gap:4px">
29 <span class="rb-label">By</span>
30 <input type="text" name="released_by" value="Operator"
31 style="background:var(--bg-1);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px 12px;font-size:12.5px">
32 </label>
33 </div>
34
35 <label style="display:flex;flex-direction:column;gap:4px">
36 <span class="rb-label">Scope <span class="dim" style="text-transform:none;letter-spacing:0;font-size:10.5px">&mdash; leave "All monitored sites" for a portfolio-wide bookmark</span></span>
37 <select name="scope_monitor_id" style="background:var(--bg-1);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px 12px;font-size:12.5px">
38 <option value="0">All monitored sites (portfolio-wide)</option>
39 [loop:@monitors]
40 <option value="$mid">$label</option>
41 [/loop]
42 </select>
43 </label>
44
45 <div style="display:flex;justify-content:flex-end">
46 <button type="submit" class="tr-chip is-active" style="border:none;padding:8px 18px">Save bookmark</button>
47 </div>
2048 </form>
2149 </div>
2250</div>
2351
2452<div class="module glow-teal">
2553 <div class="module-head"><div class="left">
2654 <div class="module-icon"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2"><line x1="4" y1="9" x2="20" y2="9"/><line x1="4" y1="15" x2="20" y2="15"/><line x1="10" y1="3" x2="8" y2="21"/><line x1="16" y1="3" x2="14" y2="21"/></svg></div>
2755 <div class="module-title">All bookmarks</div>
2856 <span class="module-subtitle">$total bookmarks. Protected ones (default) survive auto-purge; unlocked ones are eligible for cleanup after the retention window.</span>
2957 </div></div>
3058 <div class="module-body tight">
3159 [if:$has_rows]
3260 <table class="tbl">
3361 <thead><tr>
3462 <th>Name</th>
35 <th>By</th>
36 <th style="width:130px">Protection</th>
37 <th style="width:180px">Moment</th>
63 <th style="width:150px">Scope</th>
64 <th style="width:110px">By</th>
65 <th style="width:120px">Protection</th>
66 <th style="width:150px">Moment</th>
3867 </tr></thead>
3968 <tbody>
4069 [loop:@rows]
4170 <tr>
4271 <td><strong>$name</strong><div class="dim" style="font-size:11.5px;margin-top:2px">$description</div></td>
72 <td>
73 <span class="pill $scope_pill" style="font-size:10px">$scope_lbl</span>
74 <div class="mono dim" style="font-size:10.5px;margin-top:3px">$scope_h</div>
75 </td>
4376 <td class="dim">$released_by</td>
4477 <td><span class="pill $lock_pill">$lock_lbl</span></td>
45 <td class="mono dim">$released_h</td>
78 <td class="mono dim"><span class="ts" data-ts="$released_epoch" data-fmt="datetime">$released_h</span></td>
4679 </tr>
4780 [/loop]
4881 </tbody>
4982 </table>
5083 [/if]
5184 [if:!$has_rows]
5285 <div style="padding:36px 14px;text-align:center;color:var(--text-dim);font-size:13.5px">
5386 No bookmarks yet. Save your first one above.
5487 </div>
5588 [/if]
5689 </div>
5790</div>