From e80f71ced6d5fa6d01845fe53106aebb71e99903 Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sun, 1 Mar 2026 19:30:59 +0100 Subject: [PATCH] [style](trx-frontend-http): make bookmark decoders selectable; gate add on control role Replace the free-text decoder input with FT8/WSPR checkboxes so users cannot enter arbitrary decoder strings. Hide the "+ Add Bookmark" button by default and show it only when the authenticated role is `control` (or auth is disabled), matching the server-side write-endpoint guard. Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Stan Grams --- .../trx-frontend-http/assets/web/index.html | 11 ++-- .../assets/web/plugins/bookmarks.js | 50 ++++++++++++++----- 2 files changed, 45 insertions(+), 16 deletions(-) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html index aa33639..6097b70 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html @@ -266,7 +266,7 @@ - +