RSNewWebUI/webui-src/index.html
2026-08-27 19:50:58 +02:00

37 lines
1.3 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="color-scheme" content="light dark" />
<script>
(function () {
var mode = 'system';
try { mode = localStorage.getItem('retroshare-webui-theme') || 'system'; } catch (_) {}
var dark = mode === 'dark' || (mode === 'system' && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches);
document.documentElement.dataset.theme = dark ? 'dark' : 'light';
document.documentElement.dataset.themePreference = mode;
document.documentElement.style.colorScheme = dark ? 'dark' : 'light';
}());
</script>
<link rel="stylesheet" href="styles.css" />
<link href="images/retroshare.svg" rel="icon" data-n-head="true" type="image/svg" />
<title>RetroShare</title>
<script src="app.js"></script>
</head>
<body onload="load_ui();">
<div id="main">
<h3>Javascript not found!</h3>
<script type="text/javascript">
function load_ui() {
var main = require('main');
}
</script>
<noscript>Sorry but JavaScript is needed here! Please enable it in your browser.</noscript>
</div>
<div id="notification-container"></div>
<div id="modal-container"></div>
</body>
</html>