#pragma once #include // Embedded HTML page for web remote control // Split into parts to avoid MSVC string literal limit (16KB) inline std::string GetWebPageHTML() { std::string html; // Part 1: Head and base styles html += R"HTML( SimpleRemoter )HTML"; // Part 6: HTML body html += R"HTML(
Total: 0
Showing: 0
Connecting...
100%
Terminal
Connecting...
)HTML"; // 加载 xterm.js + FitAddon(终端)。放在 app script 前,保证 Terminal/FitAddon 全局可用。 html += R"HTML( )HTML"; // Part 7: JavaScript - State and WebSocket html += R"HTML( )HTML"; return html; }