Diff -- /var/www/vhosts/3dshawn.com/site1/TEMPLATES/page_wrapper.html
Diff
/var/www/vhosts/3dshawn.com/site1/TEMPLATES/page_wrapper.html
modified on local at 2026-07-12 00:48:48
Added
+21
lines
Removed
-0
lines
Context
100
unchanged
Blobs
from 6640cb7f87ca
to d521961d3da4
to d521961d3da4
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | 1 | <!doctype html> |
| 2 | 2 | <html lang="en"> |
| 3 | 3 | <head> |
| 4 | 4 | <meta charset="utf-8"> |
| 5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | 6 | <title>$page_title -- $brand_name</title> |
| 7 | 7 | <link rel="stylesheet" href="/assets/styles/drift_sense.css?v=$asset_version"> |
| 8 | 8 | <link rel="stylesheet" href="/assets/styles/help_tips.css?v=$asset_version"> |
| 9 | 9 | </head> |
| 10 | 10 | <body> |
| 11 | 11 | <div class="app"> |
| 12 | 12 | |
| 13 | 13 | <aside class="sidebar"> |
| 14 | 14 | <a class="sidebar-brand" href="[url:dashboard]"> |
| 15 | 15 | <div class="logo">DS</div> |
| 16 | 16 | <div> |
| 17 | 17 | <div class="name">Drift<span class="accent">Sense</span></div> |
| 18 | 18 | <div class="role">$brand_tagline</div> |
| 19 | 19 | </div> |
| 20 | 20 | </a> |
| 21 | 21 | |
| 22 | 22 | <div class="sidebar-section-label">Monitor</div> |
| 23 | 23 | <a href="[url:dashboard]" class="sidebar-link[if:$active_dashboard] active[/if]"> |
| 24 | 24 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="7" height="9"/><rect x="14" y="3" width="7" height="5"/><rect x="14" y="12" width="7" height="9"/><rect x="3" y="16" width="7" height="5"/></svg> |
| 25 | 25 | <span>Dashboard</span> |
| 26 | 26 | </a> |
| 27 | 27 | <a href="[url:file_changes]" class="sidebar-link[if:$active_file_changes] active[/if]"> |
| 28 | 28 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/></svg> |
| 29 | 29 | <span>File changes</span> |
| 30 | 30 | </a> |
| 31 | 31 | <a href="[url:schema_changes]" class="sidebar-link[if:$active_schema_changes] active[/if]"> |
| 32 | 32 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 5v6c0 1.7 4 3 9 3s9-1.3 9-3V5"/><path d="M3 11v6c0 1.7 4 3 9 3s9-1.3 9-3v-6"/></svg> |
| 33 | 33 | <span>Schema changes</span> |
| 34 | 34 | </a> |
| 35 | 35 | <a href="[url:table_locks]" class="sidebar-link[if:$active_table_locks] active[/if]"> |
| 36 | 36 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg> |
| 37 | 37 | <span>Table locks</span> |
| 38 | 38 | </a> |
| 39 | 39 | <a href="[url:named_releases]" class="sidebar-link[if:$active_named_releases] active[/if]"> |
| 40 | 40 | <svg viewBox="0 0 24 24" 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> |
| 41 | 41 | <span>Named releases</span> |
| 42 | 42 | </a> |
| 43 | ||
| 44 | [if:$has_stables] | |
| 45 | <div class="sidebar-section-label">Stable versions</div> | |
| 46 | [loop:@stable_releases] | |
| 47 | <a href="$restore_url" class="sidebar-link ds-stable-link" title="Restore all pinned to this stable version"> | |
| 48 | <span class="ds-stable-tag">v</span> | |
| 49 | <span>$label</span> | |
| 50 | </a> | |
| 51 | [/loop] | |
| 52 | [/if] | |
| 53 | ||
| 54 | [if:$has_sites] | |
| 55 | <div class="sidebar-section-label">Sites monitored ($has_sites)<span class="ds-help" data-help-title="Sites monitored" data-help-body="Every active File Monitor becomes a link here. Click one to see a focused view of that site's captures, releases, and quick actions. Dot color: <strong>green</strong> = 5+ changes in the last 24h, <strong>amber</strong> = 1-4, <strong>gray</strong> = quiet."></span></div> | |
| 56 | [loop:@sites] | |
| 57 | <a href="$site_url" class="sidebar-link ds-site-link[if:$is_active] active[/if]"> | |
| 58 | <span class="ds-site-badge">$initials</span> | |
| 59 | <span class="ds-site-label">$label</span> | |
| 60 | <span class="ds-site-dot ds-dot-$activity_dot" title="$changes_24h changes in last 24h"></span> | |
| 61 | </a> | |
| 62 | [/loop] | |
| 63 | [/if] | |
| 43 | 64 | |
| 44 | 65 | <div class="sidebar-section-label">Notify & export</div> |
| 45 | 66 | <a href="/alerts.cgi" class="sidebar-link[if:$active_alerts] active[/if]"> |
| 46 | 67 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg> |
| 47 | 68 | <span>Alerts</span> |
| 48 | 69 | </a> |
| 49 | 70 | <a href="/export.cgi" class="sidebar-link[if:$active_export] active[/if]"> |
| 50 | 71 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg> |
| 51 | 72 | <span>Compliance export</span> |
| 52 | 73 | </a> |
| 53 | 74 | <a href="/purge_log.cgi" class="sidebar-link[if:$active_purge_log] active[/if]"> |
| 54 | 75 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="3 6 5 6 21 6"/><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"/><line x1="10" y1="11" x2="10" y2="17"/><line x1="14" y1="11" x2="14" y2="17"/></svg> |
| 55 | 76 | <span>Purge log</span> |
| 56 | 77 | </a> |
| 57 | 78 | |
| 58 | 79 | <div class="sidebar-section-label">Configuration</div> |
| 59 | 80 | <a href="[url:databases]" class="sidebar-link[if:$active_databases] active[/if]"> |
| 60 | 81 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M21 12c0 1.7-4 3-9 3s-9-1.3-9-3"/><path d="M3 5v14c0 1.7 4 3 9 3s9-1.3 9-3V5"/></svg> |
| 61 | 82 | <span>Databases</span> |
| 62 | 83 | </a> |
| 63 | 84 | <a href="[url:file_monitors]" class="sidebar-link[if:$active_file_monitors] active[/if]"> |
| 64 | 85 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/></svg> |
| 65 | 86 | <span>File monitors</span> |
| 66 | 87 | </a> |
| 67 | 88 | <a href="[url:servers]" class="sidebar-link[if:$active_servers] active[/if]"> |
| 68 | 89 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="2" width="20" height="8" rx="2"/><rect x="2" y="14" width="20" height="8" rx="2"/><line x1="6" y1="6" x2="6.01" y2="6"/><line x1="6" y1="18" x2="6.01" y2="18"/></svg> |
| 69 | 90 | <span>Servers & agents</span> |
| 70 | 91 | </a> |
| 71 | 92 | <a href="[url:containers]" class="sidebar-link[if:$active_containers] active[/if]"> |
| 72 | 93 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><polyline points="7.5 4.21 12 6.81 16.5 4.21"/><polyline points="7.5 19.79 7.5 14.6 3 12"/><polyline points="21 12 16.5 14.6 16.5 19.79"/></svg> |
| 73 | 94 | <span>Containers</span> |
| 74 | 95 | </a> |
| 75 | 96 | <a href="[url:settings]" class="sidebar-link[if:$active_settings] active[/if]"> |
| 76 | 97 | <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"/><path d="M12 1v6m0 10v6M4.22 4.22l4.24 4.24m7.08 7.08l4.24 4.24M1 12h6m10 0h6M4.22 19.78l4.24-4.24m7.08-7.08l4.24-4.24"/></svg> |
| 77 | 98 | <span>Settings</span> |
| 78 | 99 | </a> |
| 79 | 100 | </aside> |
| 80 | 101 | |
| 81 | 102 | <main class="app-main"> |
| 82 | 103 | <header class="topbar"> |
| 83 | 104 | <h1>$page_title</h1> |
| 84 | 105 | <div class="topbar-spacer"></div> |
| 85 | 106 | <div class="topbar-user"> |
| 86 | 107 | <span class="initials">$user_initials</span> |
| 87 | 108 | <span>$user_name</span> |
| 88 | 109 | </div> |
| 89 | 110 | </header> |
| 90 | 111 | <div class="app-content"> |
| 91 | 112 | $page_body |
| 92 | 113 | </div> |
| 93 | 114 | </main> |
| 94 | 115 | |
| 95 | 116 | </div> |
| 96 | 117 | <script src="/assets/js/tz_localize.js?v=$asset_version"></script> |
| 97 | 118 | <script src="/assets/js/ds_charts.js?v=$asset_version"></script> |
| 98 | 119 | <script src="/assets/js/ds_help.js?v=$asset_version"></script> |
| 99 | 120 | </body> |
| 100 | 121 | </html> |