91e75e620b
CI: cua-driver distro-compat matrix / debian:12 (glibc 2.36) (push) Has been cancelled
CI: SPDX Headers / Check SPDX headers (warn-only) (push) Has been cancelled
CD: Docs MCP Server / build (linux/amd64) (push) Has been cancelled
CD: Docs MCP Server / build (linux/arm64) (push) Has been cancelled
CD: Docs MCP Server / merge (push) Has been cancelled
CI: cua-driver distro-compat matrix / Resolve release version (push) Has been cancelled
CI: cua-driver distro-compat matrix / fedora:41 (glibc 2.40) (push) Has been cancelled
CI: cua-driver distro-compat matrix / rockylinux:9 (glibc 2.34) (push) Has been cancelled
CI: cua-driver distro-compat matrix / ubuntu:22.04 (glibc 2.35) (push) Has been cancelled
CI: cua-driver distro-compat matrix / ubuntu:24.04 (glibc 2.39) (push) Has been cancelled
CI: cua-driver distro-compat matrix / Distro compat summary (push) Has been cancelled
CI: Rust Linux unit / Rust Linux unit and compile (push) Has been cancelled
CI: Rust Windows unit / Rust Windows unit and compile (push) Has been cancelled
CI: Nix Linux Rust source / Nix / compositor build (push) Has been cancelled
CI: Nix Linux Rust source / Nix / driver package (push) Has been cancelled
CI: Nix Linux Rust source / Nix / Rust unit tests (push) Has been cancelled
41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Static Folder Example</title>
|
|
<link rel="stylesheet" href="styles.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<h1>Static Folder Example</h1>
|
|
<p>This page is served from a static folder using bench-ui!</p>
|
|
|
|
<div class="image-container">
|
|
<img src="logo.svg" alt="Example SVG Logo" class="logo" />
|
|
</div>
|
|
|
|
<div class="info">
|
|
<p>This example demonstrates:</p>
|
|
<ul>
|
|
<li>Serving a static folder with bench-ui</li>
|
|
<li>Loading external CSS files (styles.css)</li>
|
|
<li>Loading SVG images (logo.svg)</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<button id="testButton" class="btn">Click Me!</button>
|
|
<p id="status"></p>
|
|
</div>
|
|
|
|
<script>
|
|
document.getElementById('testButton').addEventListener('click', function () {
|
|
document.getElementById('status').textContent = 'Button clicked! ✓';
|
|
this.disabled = true;
|
|
this.textContent = 'Clicked!';
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|