all repos — searchix @ 408aed03d3454330120475ca53838a2f4fe28ea3

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: display results in a table, showing details on click

Alan Pearce
commit

408aed03d3454330120475ca53838a2f4fe28ea3

parent

d40c0e188a7fe1b36887f59c4a9958faa81b3d44

1 file changed, 8 insertions(+), 3 deletions(-)

changed files
M frontend/templates/blocks/search.gotmplfrontend/templates/blocks/search.gotmpl
@@ -16,9 +16,14 @@ />
<button>Search</button> </fieldset> </form> - {{- if .Results }} - {{ block "results" . }}{{ end }} - {{- end }} + <section id="results" role="list" aria-label="search results"> + {{- if .Results }} + {{ block "results" . }}{{ end }} + {{- end }} + </section> + <dialog id="dialog"> + <button autofocus>Close</button> + </dialog> {{- end }} {{- define "head" }}