diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 20:10:07 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 20:10:07 -0400 |
| commit | 41039b36ec75467076ada2bb0f6f7866eafaea09 (patch) | |
| tree | fb5733c9cd64c7aa8f3014193cb17011b0dfbbf5 /static/index.html | |
| parent | 1f19f33e45791ea59aed048796fc68672c6723a5 (diff) | |
feat: Main Page to search for man pages
Added a main index page that uses HTMX to search for man pages and
place the contents on the page.
Diffstat (limited to 'static/index.html')
| -rw-r--r-- | static/index.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/static/index.html b/static/index.html new file mode 100644 index 00000000..2eb11ab7 --- /dev/null +++ b/static/index.html @@ -0,0 +1,26 @@ +<h1>Man Pages</h1> +<form hx-get="/search" hx-target="#results" hx-swap="innerHTML"> + <input type="text" name="name"> + <input type="submit" value="man"> + <br><br> + <select name="section" id="section"> + <option value="1">1 - General Commands Manual</option> + <option value="2">2 - System Calls Manual</option> + <option value="3">3 - Library Functions Manual</option> + <option value="4">4 - Kernel Interfaces Manual</option> + <option value="5">5 - File Formats Manual</option> + <option value="6">6 - Games Manual</option> + <option value="7">7 - Miscellaneous Information Manual</option> + <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> + </select> +</form> +<hr> +<div id="results"> +</div> +<hr> |
