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/KernelName.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/KernelName.Uptime.HTML.expected')
| -rw-r--r-- | fixtures/KernelName.Uptime.HTML.expected | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fixtures/KernelName.Uptime.HTML.expected b/fixtures/KernelName.Uptime.HTML.expected new file mode 100644 index 0000000..862be60 --- /dev/null +++ b/fixtures/KernelName.Uptime.HTML.expected @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="utf-8"> +<title>Top 3 Uptime's by KernelName</title> +</head> +<body> +<h1>Top 3 Uptime's by KernelName</h1> +<p>Uptime is the total uptime of a host over the entire lifespan.</p> +<pre>+-----+------------+-----------------------------+ +| Pos | KernelName | Uptime | ++-----+------------+-----------------------------+ +| 1. | Linux | 19 years, 4 months, 18 days | +| 2. | FreeBSD | 9 years, 11 months, 29 days | +| 3. | OpenBSD | 3 years, 1 months, 18 days | ++-----+------------+-----------------------------+ +</pre> +</body> +</html> |
