diff --git a/Plugin/unraid/pages/partnership.php b/Plugin/unraid/pages/partnership.php index 5d250b5..c1adedd 100644 --- a/Plugin/unraid/pages/partnership.php +++ b/Plugin/unraid/pages/partnership.php @@ -1023,7 +1023,22 @@ function _nodeCard(node) { style="font-size:9px;padding:1px 8px;background:#1a3a1a;color:#6fcf97;border:1px solid #2e6b2e; border-radius:2px;cursor:pointer;margin-left:6px;white-space:nowrap;">+ Create `) - : ''; + // Remotes get the same row, minus the buttons — the key belongs to that host and is renewed + // there. Two facts, kept apart: the key is configured (read from the partner's conf in the + // RAM cache) and the key is answering (that host's API served this page's stats). A key that + // is set but no longer authenticates is the interesting case, and merging them would hide it. + : (node.api_key_set + ? `
+ 🔑 API key: ${node.api_key_preview} + + ${node.api_live ? '● live' : '○ set, not answering'} +
` + : `
+ ⚡ No API key on this host — create it there, then Save Conf to share it +
`); // ── Metrics strip ──────────────────────────────────────────────────────────── const m = node.metrics || {};