From fa32909781cdf5e46306228901569cb2507d2604 Mon Sep 17 00:00:00 2001 From: TailScan Bot Date: Thu, 2 Apr 2026 16:28:31 +0000 Subject: [PATCH] refactor: full UI rework with Alpine.js + Shoelace - Replace all hand-rolled JS state with Alpine.js reactive data - Replace custom CSS components with Shoelace web components: sl-button, sl-input, sl-dialog, sl-spinner, sl-tag, sl-icon-button - Shoelace themed via CSS custom properties mapping to existing --bg/--surface/--accent/--border/--text vars, so both Dark Slate and Rose Pine themes work automatically - Taskbar and task panels fully integrated into Alpine state - File browser credentials now use sl-dialog with sl-input fields - Port scan queue, countdown, device table all reactive via Alpine - Removed all direct DOM manipulation in favor of x-data/x-show/x-for - Guac and proxy chip handlers bridge into Alpine app via _tsApp ref - elFinder still jQuery-based internally, launched after Alpine mounts --- templates/index.html | 2115 ++++++++++++++++++------------------------ 1 file changed, 927 insertions(+), 1188 deletions(-) diff --git a/templates/index.html b/templates/index.html index b8440cb..99f4925 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,965 +4,347 @@ TailScan - - - - - -
- -
-
- Not connected to exit node -
-
- - - -
- - -
- - - - - -
-
-
🛰️
-

Select an Exit Node

-

Click an exit node on the left to connect and scan its LAN.

-
-
- -
- - - - -
-
- -
- - - + + +.ts-panel.visible { display: flex; } +.ts-panel iframe { flex: 1; border: none; width: 100%; height: 100%; } - - - - - - - - - - - - + + + + + +
+ +
+ +
+ Disconnect + + Logout +
+ + +
+ + + + + +
+ + +
+
🛰️
+

Select an Exit Node

+

Click an exit node on the left to connect and scan its LAN.

+
+ + +
+ +

+
+ + + + +
+
+ + +
+
+ +
+ 🏠 + Home +
+ + +
+ +
+ + +
+ +
+ + + +
+
+ + + +
+ Browse Files +
+ + + + + + +