fix(rtty-remote): Add null checks and move to KISS UI System Hub

- Fix TypeError in support.js: add null checks for DOM elements
- Move menu entries from Services to System Hub (KISS UI)
- Menu paths: admin/secubox/system/system-hub/rtty-remote
- Menu paths: admin/secubox/system/system-hub/support

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-03-08 17:01:43 +01:00
parent 2c763c3583
commit 8b65bd64e9
2 changed files with 9 additions and 8 deletions

View File

@ -432,12 +432,14 @@ return view.extend({
appendTerminal: function(text) {
var output = document.getElementById('terminal-output');
if (!output) return;
output.textContent += text;
output.scrollTop = output.scrollHeight;
},
updateSessionsList: function() {
var container = document.getElementById('active-sessions-list');
if (!container) return;
container.innerHTML = '';
var codes = Object.keys(supportSessions);

View File

@ -1,19 +1,18 @@
{
"admin/services/rtty-remote": {
"title": "RTTY Remote",
"order": 85,
"admin/secubox/system/system-hub/rtty-remote": {
"title": "Remote Control",
"order": 15,
"action": {
"type": "view",
"path": "rtty-remote/dashboard"
},
"depends": {
"acl": ["luci-app-rtty-remote"],
"uci": { "rtty-remote": true }
"acl": ["luci-app-rtty-remote"]
}
},
"admin/services/rtty-remote/support": {
"title": "Support Panel",
"order": 10,
"admin/secubox/system/system-hub/support": {
"title": "Remote Support",
"order": 16,
"action": {
"type": "view",
"path": "rtty-remote/support"