diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 09:01:02 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 09:01:02 -0400 |
| commit | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (patch) | |
| tree | 5cd72f6ef9ac078b8d3c70bad5f1ae970c0dc7fd /static | |
| parent | 711594636704defae873be1a355a292505585afd (diff) | |
feat: Get OSes from Database
The OS drop down now uses HTMX to get the OSes from the database on
load.
Diffstat (limited to 'static')
| -rw-r--r-- | static/index.html | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/static/index.html b/static/index.html index 72a178d5..a1bd7acd 100644 --- a/static/index.html +++ b/static/index.html @@ -14,14 +14,9 @@ <option value="8">8 - System Manager's Manual</option> <option value="9">9 - Kernel Developer's Manual</option> </select> - <select name="os" id="os"> - <option value="openbsd">OpenBSD</option> - <option value="freebsd">FreeBSB</option> - <option value="netbsd">NetBSD</option> - <option value="v10">Unix V10</option> + <select name="os" id="os" hx-get="/os" hx-swap="innerHTML" hx-target="this" hx-trigger="load"> + <option selected hidden disabled>OS</option> </select> </form> -<hr> <div id="results"> </div> -<hr> |
