Update static/webui/index.html

This commit is contained in:
Animan8000 2025-05-21 09:11:02 -07:00
parent 98100356d9
commit 0546d018d4

View File

@ -1,6 +1,11 @@
<!doctype html>
<html lang="en" data-bs-theme="dark">
<html lang="en">
<head>
<script>
// Set theme early to prevent flash of incorrect style
const theme = localStorage.getItem("theme") || "dark";
document.documentElement.setAttribute("data-bs-theme", theme);
</script>
<title>OpenWF WebUI</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/webui/libs/bootstrap.min.css" />