farmcontrol-ui/index.html
Tom Butcher 6895f21c20
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
Update Loader Styles and Fix HTML Element ID
- Adjusted the loader width from 35px to 26px and stroke width from 7px to 5px for improved visual consistency.
- Corrected the HTML element ID from "rooot" to "root" to ensure proper functionality.
2026-09-25 21:19:02 +01:00

86 lines
2.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="./favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="./logo192.png" />
<link rel="manifest" href="./manifest.json" />
<link rel="stylesheet" href="./fonts/fonts.css" preload />
<style>
.fc-preload {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
/* HTML: <div class="loader"></div> */
.fc-loader {
width: 26px;
aspect-ratio: 1;
}
.fc-loader svg {
width: 100%;
height: 100%;
}
.fc-loader svg path {
stroke-width: 5px;
stroke: #008eff;
}
</style>
<script type="module" src="/src/index.jsx"></script>
<title>Farm Control</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
<div class="fc-preload">
<div class="fc-loader">
<svg
width="100%"
height="100%"
viewBox="0 0 64 64"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:space="preserve"
class="th-icon"
style="
fill-rule: evenodd;
clip-rule: evenodd;
stroke-linecap: round;
stroke-linejoin: round;
stroke-miterlimit: 1.5;
"
>
<g>
<path
d="M32,5.131C46.829,5.131 58.869,17.171 58.869,32"
style="fill: none"
/>
<animateTransform
attributeName="transform"
attributeType="XML"
type="rotate"
from="0 32 32"
to="360 32 32"
dur="1s"
repeatCount="indefinite"
/>
</g>
</svg>
</div>
</div>
</div>
</body>
</html>