Files
ArchyHCL/site/index.html
T
ssmithxandClaude Sonnet 5 c8f6102cfd
Build and validate / build (push) Successful in 11s
Add a real submission form, bypassing the broken Gitea issue-template render
Gitea 1.27.1 on this instance silently ignores the ?template= param for
.github/ISSUE_TEMPLATE/hardware-report.yml — the structured fields never
render, just a blank title/body editor (confirmed live: same URL that's
supposed to load the form shows nothing). Rather than debug Gitea's YAML
issue-forms support, site/report.html is a plain form matching the schema
that builds a title + markdown body (with a ready-to-merge YAML block) and
opens Gitea's issues/new with them pre-filled via query params, which does
work on this instance (verified live).

Verified the full round trip in a real browser: filled the form, submitted,
confirmed the opened Gitea tab has the correct title and a body containing
valid YAML matching every field. Did not actually click "Create Issue" —
no reason to leave a test issue on the tracker.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-03 22:37:27 +00:00

67 lines
2.7 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ArchyHCL — Archipelago Hardware Compatibility List</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1><a href="index.html">ArchyHCL</a></h1>
<p>Community-reported hardware compatibility for <a href="https://source.archipelago-foundation.org/lfg2025/archy" target="_blank" rel="noopener">Archipelago</a>. Every row here is a real install someone tested and reported — see it on GitHub/Gitea as a plain data file, no login required to browse.</p>
<p class="cta">
Tested Archipelago on your own hardware? <a href="report.html">Report it</a> —
takes two minutes and helps the next person know what to expect before they buy or repurpose a machine.
</p>
</header>
<main>
<div class="controls">
<input id="search" type="search" placeholder="Search model, CPU, WiFi chip…" autocomplete="off">
<select id="status-filter">
<option value="">All statuses</option>
<option value="working">Working</option>
<option value="partial">Partial</option>
<option value="broken">Broken</option>
</select>
<select id="form-factor-filter">
<option value="">All form factors</option>
<option value="laptop">Laptop</option>
<option value="desktop">Desktop</option>
<option value="mini-pc">Mini PC</option>
<option value="sbc">SBC</option>
<option value="server">Server</option>
<option value="other">Other</option>
</select>
<span id="count" class="count"></span>
</div>
<table id="table">
<thead>
<tr>
<th data-sort="device_model">Device</th>
<th data-sort="form_factor">Type</th>
<th data-sort="cpu">CPU</th>
<th data-sort="ram_gb">RAM</th>
<th data-sort="storage">Storage</th>
<th data-sort="wifi_chip">WiFi chip</th>
<th data-sort="status">Status</th>
<th data-sort="archy_version">Archy ver.</th>
<th data-sort="tested_date">Tested</th>
</tr>
</thead>
<tbody id="rows"></tbody>
</table>
<p id="empty" class="empty" hidden>No reports match your filters.</p>
</main>
<footer>
<p>Data lives in <code>data/reports/*.yml</code>, one file per report — browse or fork the raw data <a href="https://source.archipelago-foundation.org/ssmithx/ArchyHCL/src/branch/main/data/reports" target="_blank" rel="noopener">here</a>. See <a href="https://source.archipelago-foundation.org/ssmithx/ArchyHCL/src/branch/main/CONTRIBUTING.md" target="_blank" rel="noopener">CONTRIBUTING.md</a> for the two ways to add a report.</p>
</footer>
<script src="app.js"></script>
</body>
</html>