40 lines
1.7 KiB
HTML
40 lines
1.7 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="dark light" />
|
|
<title>sccache dash</title>
|
|
<!-- A gauge in the page's own colours. -->
|
|
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22%3E%3Crect width=%2232%22 height=%2232%22 rx=%227%22 fill=%22%23161a22%22/%3E%3Cpath d=%22M6 22a10 10 0 0 1 20 0%22 fill=%22none%22 stroke=%22%233a4254%22 stroke-width=%224%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M6 22a10 10 0 0 1 15-8.66%22 fill=%22none%22 stroke=%22%234cc38a%22 stroke-width=%224%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M16 22l6-8%22 stroke=%22%23e6e9ef%22 stroke-width=%222.5%22 stroke-linecap=%22round%22/%3E%3Ccircle cx=%2216%22 cy=%2222%22 r=%222.5%22 fill=%22%23e6e9ef%22/%3E%3C/svg%3E" />
|
|
<link data-trunk rel="rust" data-bin="sccache-dash-ui" />
|
|
<style>
|
|
/* The page is one canvas that fills the window and scrolls inside itself. */
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
height: 100dvh;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
/* The page colour of each theme (crates/ui/src/theme.rs), so nothing flashes while the page loads. */
|
|
background: #0e1116;
|
|
}
|
|
@media (prefers-color-scheme: light) {
|
|
html,
|
|
body {
|
|
background: #f5f6f8;
|
|
}
|
|
}
|
|
canvas {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
touch-action: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<canvas id="the_canvas_id"></canvas>
|
|
</body>
|
|
</html>
|