From 5242cd8867f02f7af204d5e47b15adb8b8d2d54b Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 15:31:20 -0500 Subject: [PATCH] Add Install Commands card: copy-to-clipboard JARVIS agent + FusionPBX installer one-liners Both are plain text buttons (not links) so they never navigate/click through, just copy to clipboard. JARVIS command intentionally omits the registration key (site is password-protected, but kept the same interactive-prompt pattern used for the public install scripts anyway) -- it prompts for the key when run. --- index.html | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/index.html b/index.html index 6cefb96..3b61f9b 100644 --- a/index.html +++ b/index.html @@ -128,6 +128,31 @@ } .link-item:hover .arrow { opacity: 1; } + .copy-item { + display: flex; + align-items: center; + gap: 0.75rem; + padding: 0.6rem 1rem; + color: var(--text); + font-size: 0.9rem; + transition: background 0.15s; + cursor: pointer; + border: none; + background: none; + width: 100%; + text-align: left; + font-family: inherit; + } + .copy-item:hover { background: var(--surface2); } + .copy-item .copy-icon { + color: var(--muted); + font-size: 0.7rem; + opacity: 0; + transition: opacity 0.15s; + flex-shrink: 0; + } + .copy-item:hover .copy-icon { opacity: 1; } + .dot-blue { background: var(--accent); } .dot-purple { background: var(--accent2); } .dot-green { background: var(--green); } @@ -220,6 +245,22 @@ + +
+
+
📋
+

Install Commands

+
+ +
+
@@ -701,6 +742,18 @@ } tick(); setInterval(tick, 1000); + // ── Install Commands card: copy-to-clipboard, never auto-navigates ── + function copyCmd(btn, text) { + navigator.clipboard.writeText(text).then(() => { + const iconEl = btn.querySelector('.copy-icon'); + const prev = iconEl.textContent; + iconEl.textContent = 'copied!'; + iconEl.style.opacity = '1'; + setTimeout(() => { iconEl.textContent = prev; iconEl.style.opacity = ''; }, 1500); + }); + } + + // ── Backup Status card — reads daily-refreshed JSON from MSP360 collector ── async function loadBackupStatus() { const el = document.getElementById('backup-status-list');