Build and validate / build (push) Successful in 11s
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>
127 lines
4.6 KiB
HTML
127 lines
4.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Report hardware — ArchyHCL</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1><a href="index.html">ArchyHCL</a></h1>
|
|
<p>Fill this in, hit submit — it opens a pre-filled issue on Gitea with everything formatted and ready for a maintainer to merge. You'll still need a (free) Gitea account to actually post it.</p>
|
|
</header>
|
|
|
|
<main>
|
|
<form id="report-form" class="report-form">
|
|
<div class="field">
|
|
<label for="device_model">Device model *</label>
|
|
<input id="device_model" required placeholder="Lenovo ThinkPad T430">
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="form_factor">Form factor *</label>
|
|
<select id="form_factor" required>
|
|
<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>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="cpu">CPU *</label>
|
|
<input id="cpu" required placeholder="Intel Core i5-3320M">
|
|
</div>
|
|
|
|
<div class="field-row">
|
|
<div class="field">
|
|
<label for="ram_gb">RAM (GB) *</label>
|
|
<input id="ram_gb" type="number" min="1" step="1" required placeholder="8">
|
|
</div>
|
|
<div class="field">
|
|
<label for="storage_type">Storage type *</label>
|
|
<select id="storage_type" required>
|
|
<option value="ssd">SSD</option>
|
|
<option value="nvme">NVMe</option>
|
|
<option value="hdd">HDD</option>
|
|
<option value="emmc">eMMC</option>
|
|
<option value="sd">SD card</option>
|
|
</select>
|
|
</div>
|
|
<div class="field">
|
|
<label for="storage_size_gb">Storage size (GB) *</label>
|
|
<input id="storage_size_gb" type="number" min="1" step="1" required placeholder="256">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="wifi_chip">WiFi chip *</label>
|
|
<input id="wifi_chip" required placeholder="Intel Centrino Advanced-N 6205 (or \"none\" if wired-only)">
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="ethernet">Ethernet chip (optional)</label>
|
|
<input id="ethernet" placeholder="Intel 82579LM">
|
|
</div>
|
|
|
|
<div class="field-row">
|
|
<div class="field">
|
|
<label for="archy_version">Archipelago version tested *</label>
|
|
<input id="archy_version" required placeholder="1.8.4-alpha">
|
|
</div>
|
|
<div class="field">
|
|
<label for="install_method">Install method *</label>
|
|
<select id="install_method" required>
|
|
<option value="usb-iso">USB ISO</option>
|
|
<option value="netboot">Netboot</option>
|
|
<option value="existing-os-script">Existing-OS script</option>
|
|
<option value="other">Other</option>
|
|
</select>
|
|
</div>
|
|
<div class="field">
|
|
<label for="tested_date">Date tested *</label>
|
|
<input id="tested_date" type="date" required>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="status">Status *</label>
|
|
<select id="status" required>
|
|
<option value="working">Working — no known issues</option>
|
|
<option value="partial">Partial — runs, with specific known issues</option>
|
|
<option value="broken">Broken — does not install or run</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="issues">Issues <span id="issues-required" class="required-hint" hidden>(required for partial/broken)</span></label>
|
|
<textarea id="issues" rows="4" placeholder="What broke, and how you noticed. Include any workaround you found."></textarea>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="notes">Other notes (optional)</label>
|
|
<textarea id="notes" rows="3" placeholder="BIOS/UEFI settings needed, quirks, links to a fuller writeup."></textarea>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="submitted_by">Attribution (optional)</label>
|
|
<input id="submitted_by" placeholder="Your npub, Gitea username, or leave blank">
|
|
</div>
|
|
|
|
<p id="form-error" class="form-error" hidden></p>
|
|
|
|
<button type="submit">Open pre-filled issue on Gitea →</button>
|
|
</form>
|
|
</main>
|
|
|
|
<footer>
|
|
<p>Prefer git? See <a href="https://source.archipelago-foundation.org/ssmithx/ArchyHCL/src/branch/main/CONTRIBUTING.md" target="_blank" rel="noopener">CONTRIBUTING.md</a> for opening a PR directly instead.</p>
|
|
</footer>
|
|
|
|
<script src="report.js"></script>
|
|
</body>
|
|
</html>
|