From: Michael Tremer Date: Wed, 1 Jun 2022 17:02:25 +0000 (+0000) Subject: Refactor search page X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bbc0ade2a7a918b4efaa7db5a60de64b6c1b7ac;p=pbs.git Refactor search page Signed-off-by: Michael Tremer --- diff --git a/src/templates/search-form.html b/src/templates/search-form.html index ae754760..320bbaa1 100644 --- a/src/templates/search-form.html +++ b/src/templates/search-form.html @@ -1,36 +1,34 @@ {% extends "base.html" %} -{% block title %}{{ _("Advanced search") }}{% end block %} +{% block title %}{{ _("Search") }}{% end block %} -{% block body %} - - {% if pattern %} -

- {{ _("No results for '%s'.") % pattern }} -

- {% else %} -

- {{ _("Search") }} -

- -

- {{ _("Type a search pattern into the box below and hit the button.") }} -

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