From 46f32a7dc26dad46ffa974de56bf1541b8578e12 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Wed, 18 Jan 2023 01:40:39 -0700 Subject: improve UI --- templates/components/section.html | 9 +++++++++ templates/search_results.html | 30 ++++++++++++++++++++---------- 2 files changed, 29 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/components/section.html b/templates/components/section.html index 563a6a9..ca664fb 100644 --- a/templates/components/section.html +++ b/templates/components/section.html @@ -11,6 +11,15 @@ {{end}} +{{define "navbar"}} + +{{end}} + + {{define "hero-medium"}}
diff --git a/templates/search_results.html b/templates/search_results.html index bb544be..4c053ab 100644 --- a/templates/search_results.html +++ b/templates/search_results.html @@ -5,7 +5,9 @@ {{.OriginalQuery.Query}} - {{.GlobalVars.Name}} - {{ template "hero-medium" . }} +
+ {{ template "navbar" . }} +
+
+ Export Results + Sort by Decision Date (ASC) + Sort by Decision Date (DESC) + Sort by Submission Date (ASC) + Sort by Submission Date (DESC) + Sort by Relevancy (Default) +
-
+ {{ range .SearchResults }}

- {{.applicant}} {{ .id }}

+ {{.applicant}} {{ .id }}

-

{{ .title }}

+ {{ .title }}
@@ -52,16 +62,16 @@
- +

{{ end }} -
+
{{ if .MoreResults }}
@@ -81,7 +91,7 @@