diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-14 10:10:50 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-14 10:10:50 +0300 |
| commit | c053f1e04ffb0fb89743cc7bc5154efaf6e8a0bf (patch) | |
| tree | 282736aff772a899f1f1a0884c380cc82d1544c6 /fixtures/KernelMajor.Uptime.HTML.expected | |
| parent | 00a015a9642baee69def9a104602b4d59f980c63 (diff) | |
Add HTML OutputFormat and report API support (ask task 03)
- Add FormatHTML with parse/string and HTMLReporter on existing report path
- Emit minimal HTML document with escaped title, description, and pre table
- Daemon /report sets text/html Content-Type for HTML format
- Integration fixtures and tests for HTML
Made-with: Cursor
Diffstat (limited to 'fixtures/KernelMajor.Uptime.HTML.expected')
| -rw-r--r-- | fixtures/KernelMajor.Uptime.HTML.expected | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fixtures/KernelMajor.Uptime.HTML.expected b/fixtures/KernelMajor.Uptime.HTML.expected new file mode 100644 index 0000000..c77248e --- /dev/null +++ b/fixtures/KernelMajor.Uptime.HTML.expected @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="utf-8"> +<title>Top 3 Uptime's by KernelMajor</title> +</head> +<body> +<h1>Top 3 Uptime's by KernelMajor</h1> +<p>Uptime is the total uptime of a host over the entire lifespan.</p> +<pre>+-----+----------------+-----------------------------+ +| Pos | KernelMajor | Uptime | ++-----+----------------+-----------------------------+ +| 1. | Linux 3... | 11 years, 2 months, 11 days | +| 2. | FreeBSD 10... | 5 years, 9 months, 9 days | +| 3. | Linux 5... | 3 years, 12 months, 2 days | ++-----+----------------+-----------------------------+ +</pre> +</body> +</html> |
