[feat](trx-frontend-http): add clear button to CW decoder output

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-02-08 15:31:28 +01:00
parent af50c2b6ee
commit ef1ffb11ec
2 changed files with 4 additions and 0 deletions
@@ -147,6 +147,7 @@
<div id="subtab-cw" class="sub-tab-panel" style="display:none;">
<div class="cw-controls">
<button id="cw-toggle-btn" type="button">Start CW</button>
<button id="cw-clear-btn" type="button">Clear</button>
<small id="cw-status" style="color:var(--text-muted);">Stopped</small>
<div id="cw-signal-indicator" class="cw-signal-off"></div>
</div>
@@ -435,3 +435,6 @@ function stopCw() {
}
cwToggleBtn.addEventListener("click", startCw);
document.getElementById("cw-clear-btn").addEventListener("click", () => {
cwOutputEl.innerHTML = "";
});