From 95df518900675d091503ccb8f48857d59720edac Mon Sep 17 00:00:00 2001 From: Christian Heubaum Date: Mon, 31 Aug 2026 16:57:36 +0200 Subject: [PATCH] Auto-Aktivierung per URL-Parameter + Start-Datei pro Chapter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit index.html liest jetzt ?chapter= aus der URL und aktiviert das Chapter automatisch, ohne dass der Lizenzcode manuell eingegeben werden muss. start-helios.html ist ein Beispiel: eine kleine Redirect-Datei, die man statt index.html verschickt/öffnet und die direkt zum aktivierten Steuerpult des jeweiligen Chapters führt. --- index.html | 7 +++++++ start-helios.html | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 start-helios.html diff --git a/index.html b/index.html index 0a6e1ba..d0c5675 100644 --- a/index.html +++ b/index.html @@ -5857,6 +5857,13 @@ async function showCoordinatorReport() { // ============================================================ initChannel(); if (activeChapter) applyChapterUI(activeChapter.config); +if (!activeChapter) { + const urlChapterCode = new URLSearchParams(window.location.search).get('chapter'); + if (urlChapterCode) { + document.getElementById('activation-code-input').value = urlChapterCode; + activateChapter(); + } +} renderCurrentView(); updateTimerDisplays(); checkLicenseAndUpdates(); diff --git a/start-helios.html b/start-helios.html new file mode 100644 index 0000000..1499ce7 --- /dev/null +++ b/start-helios.html @@ -0,0 +1,11 @@ + + + + + +BNI Chapter Helios – Steuerpult + + +

Öffne das Steuerpult für BNI Chapter Helios… Falls sich nichts tut, hier klicken.

+ +