27 lines
1.3 KiB
Plaintext
27 lines
1.3 KiB
Plaintext
KRONIC BORG — STAGE 2: REVERSIBLE UI SHELL
|
|
|
|
1. Back up your working mediaserver directory (especially html/index.html).
|
|
2. Extract this archive to a temporary directory on your server.
|
|
3. cd /home/admin/mediaserver
|
|
4. python /path/to/extracted/install_borg_ui.py
|
|
5. Hard-refresh your Kronic Media browser tab. Restart mediaserver.service if it caches HTML.
|
|
|
|
The script:
|
|
- backs up html/index.html with a timestamp;
|
|
- adds the room backdrop, navigation rail and floating media container;
|
|
- copies CSS/borg_shell.css and JS/borg_shell.js;
|
|
- preserves all existing Media DOM ids (#content, #toolbar, #breadcrumb, video player, etc.) and JS/app.js.
|
|
|
|
This is UI SHELL STAGE ONLY.
|
|
- Chat avatar and voice UI are placeholders, not wired to port 8001 yet.
|
|
- Libraries and Manage call original Media buttons.
|
|
- Movies, TV, Music, IPTV, Tube, Twitch buttons open the media window but do not yet change media section. Wiring depends on the CURRENT live JS/app.js navigation functions.
|
|
- Media's existing topbar is kept for backward compatibility until the sidebar fully replaces it.
|
|
- No Python, DB, LiveKit, or systemd changes.
|
|
|
|
To roll back:
|
|
cp html/index.html.borg-backup-<timestamp> html/index.html
|
|
rm CSS/borg_shell.css JS/borg_shell.js
|
|
|
|
This should be deployed first to a test copy if possible. The supplied archive snapshot may differ from the deployed HTML/CSS.
|