From b00907588e756e3ed908f770d5b10a34cde1daf0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 25 Nov 2020 23:53:38 +0000 Subject: [PATCH] people: Update design of search Signed-off-by: Michael Tremer --- .../people/modules/accounts-list.html | 27 +++++++------------ src/templates/people/search.html | 18 +++++++++---- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/src/templates/people/modules/accounts-list.html b/src/templates/people/modules/accounts-list.html index 0c8fe035..bc72b179 100644 --- a/src/templates/people/modules/accounts-list.html +++ b/src/templates/people/modules/accounts-list.html @@ -1,17 +1,10 @@ -{% for group in grouper(accounts, 2) %} -
- {% for account in group %} -
-
-
-
- {{ account }} - - {{ account }} -
-
-
-
- {% end %} -
-{% end %} +
+ {% for account in accounts %} + + {{ account }} +
{{ account }}
+
+ {% end %} +
diff --git a/src/templates/people/search.html b/src/templates/people/search.html index d15b767d..cd10b89b 100644 --- a/src/templates/people/search.html +++ b/src/templates/people/search.html @@ -2,11 +2,19 @@ {% block title %}{{ _("Search Results for \"%s\"") % q }}{% end block %} -{% block content %} -
-
-

{{ _("Search Results for \"%s\"") % q }}

+{% block container %} +
+
+

{{ _("Search Results") }}

+

+ {{ _("For '%s'") % q }} +

+
+
+ +
+
{% if accounts %} {% module AccountsList(accounts) %} {% else %} @@ -14,6 +22,6 @@ {{ _("There are no results for \"%s\"") % q }}

{% end %} -
+
{% end block %} -- 2.47.2