From 4449bfc646ae0a2a4a6e625dae409eeba4be0a1e Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Sat, 30 May 2026 21:02:27 -0400 Subject: [PATCH] Partnership phase 0: terminal link + clickable command block At phase 0, show below the buttons: - 'Open Terminal' link using HOST1's Tailscale IP (/webterminal/ttyd/) - Clickable command code block (click to copy) with the Phase 1 script path - Note that tab auto-updates on next poll when the script completes Tailscale IP comes from selfNode.ts_ip already in the API response. --- Plugin/unraid/pages/partnership.php | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Plugin/unraid/pages/partnership.php b/Plugin/unraid/pages/partnership.php index 03a87a9..96285e2 100644 --- a/Plugin/unraid/pages/partnership.php +++ b/Plugin/unraid/pages/partnership.php @@ -382,9 +382,21 @@ function _renderActions(nodes, cfg) { html += ''; if (phase === 0) { - html += `
- Phase 1 pushes SSH keys and master.conf to ${remote.hostname} before it has Varaverk installed. - ${remote.id} can then install the plugin — the wizard will detect the conf and complete setup automatically. + const termUrl = selfNode && selfNode.ts_ip ? `https://${selfNode.ts_ip}/webterminal/ttyd/` : null; + const termCmd = `bash /mnt/user/appdata/Varaverk/Partnership/partnership_onboard.sh --phase1-only`; + html += `
+
First run requires terminal access for SSH key password.
+
+ ${termUrl ? `🖥 Open Terminal` : ''} + ${termCmd} +
+
Tab auto-updates when complete · or click Push Conf if key already installed.
`; } else if (phase === 1) { html += `