Web changes: Split shared helpers, bootstrap logic, route groups, and upload-sync behavior out of web.js. Kept web.js focused on wiring and server startup. Fixed screen playlist reassignment so changing a screen’s playlist now triggers a refresh. Fixed single-slide playlist refresh behavior so updates do not get stuck behind the current slide. Player changes: Split websocket/runtime handling into runtime.js. Split playlist assembly and revision hashing into playlist.js. Split onboarding and player HTTP routes into dedicated modules. Split render utilities and template loading into render-helpers.js. Kept player.js mostly as startup/orchestration. Validation: Rebuilt both services with Docker Compose. Smoke-checked web and player routes after the refactor. Verified get_errors was clean on the touched modules.
15 lines
389 B
HTML
15 lines
389 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>{{TITLE}}</title>
|
|
<link rel="icon" type="image/png" href="/assets/favicon.png" />
|
|
<link rel="stylesheet" href="/assets/css/player.css" />
|
|
</head>
|
|
<body class="{{BODY_CLASS}}">
|
|
{{{BODY}}}
|
|
{{SCRIPT_BLOCK}}
|
|
</body>
|
|
</html>
|