From 8b0c35fc8b754f4e2c1eabad5c29b583b96792f4 Mon Sep 17 00:00:00 2001 From: Midas Wollinger Date: Wed, 2 Sep 2026 21:38:22 +0200 Subject: [PATCH] umbau 1.1 --- _to_delete/csp_test.html | 63 ++++++++++++++++++++++++++++++++ scripts/fetch_frontend_assets.sh | 2 + static/js/admin.js | 18 +++++++++ static/js/terminal.js | 20 ++++++++++ templates/admin.html | 1 + templates/terminal.html | 1 + templates/workspace.html | 1 + 7 files changed, 106 insertions(+) create mode 100644 _to_delete/csp_test.html diff --git a/_to_delete/csp_test.html b/_to_delete/csp_test.html new file mode 100644 index 0000000..feaaea5 --- /dev/null +++ b/_to_delete/csp_test.html @@ -0,0 +1,63 @@ + + + + + + + + +
running...
+
+ + + + diff --git a/scripts/fetch_frontend_assets.sh b/scripts/fetch_frontend_assets.sh index f826668..9ea988b 100644 --- a/scripts/fetch_frontend_assets.sh +++ b/scripts/fetch_frontend_assets.sh @@ -21,12 +21,14 @@ npm init -y >/dev/null npm install --no-audit --no-fund \ xterm@5 \ xterm-addon-fit@0.8 \ + xterm-addon-canvas@0.5 \ guacamole-common-js@1.5 echo "==> Kopiere Dist-Dateien nach $VENDOR_DIR" cp node_modules/xterm/lib/xterm.js "$VENDOR_DIR/xterm.js" cp node_modules/xterm/css/xterm.css "$VENDOR_DIR/xterm.css" cp node_modules/xterm-addon-fit/lib/xterm-addon-fit.js "$VENDOR_DIR/xterm-addon-fit.js" +cp node_modules/xterm-addon-canvas/lib/xterm-addon-canvas.js "$VENDOR_DIR/xterm-addon-canvas.js" # guacamole-common-js liefert nur ESM/CJS-Builds aus, keinen fertigen # Browser-Global-Build. Fuer die Einbindung per klassischem + diff --git a/templates/terminal.html b/templates/terminal.html index 9b897a9..321855b 100644 --- a/templates/terminal.html +++ b/templates/terminal.html @@ -21,6 +21,7 @@ + diff --git a/templates/workspace.html b/templates/workspace.html index df88557..d735f6c 100644 --- a/templates/workspace.html +++ b/templates/workspace.html @@ -54,6 +54,7 @@ +