Files
sccache-dash/crates/ui/index.html
T
swaits b80749ebb5 Dashboard page for sccache-dash (crates/ui)
An eframe/egui page compiled to WebAssembly with trunk. It draws the one
View the server sends: controls on top, three big figures, six cards, and
the collapsible sections Problems, Where compiles went, Over time, Speed,
Extras and Raw counters. The range, refresh interval and theme are
remembered between visits with eframe storage.

mise.toml names trunk 0.22.2 as the build tool.
2026-11-28 11:30:54 -07:00

30 lines
695 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>sccache dash</title>
<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;
background: #111;
}
canvas {
display: block;
width: 100%;
height: 100%;
touch-action: none;
}
</style>
</head>
<body>
<canvas id="the_canvas_id"></canvas>
</body>
</html>