From 408aed03d3454330120475ca53838a2f4fe28ea3 Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Sat, 8 Jun 2024 20:34:37 +0200
Subject: feat: display results in a table, showing details on click
---
frontend/templates/blocks/options.gotmpl | 75 ++++++++++----------------------
1 file changed, 23 insertions(+), 52 deletions(-)
(limited to 'frontend/templates/blocks/options.gotmpl')
diff --git a/frontend/templates/blocks/options.gotmpl b/frontend/templates/blocks/options.gotmpl
index de31696..5a08bae 100644
--- a/frontend/templates/blocks/options.gotmpl
+++ b/frontend/templates/blocks/options.gotmpl
@@ -1,54 +1,25 @@
{{- define "hits" }}
- {{- range . }}
- {{- with .Data }}
-
-
- {{ markdown .Description }}
- {{ .Name }}
-
- {{- with .Type }}
-
- {{ . }}
- {{- end }}
- {{ .Text }}
- {{- end }}
- {{ .Text }}
Title | +Description | +
---|---|
+ {{ .Name }} + | ++ {{ markdown (firstSentence .Description) }} + + | +