From 88d16db94bb905e8a4faff010612d0c6cc250ff2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 16 Aug 2022 18:14:10 +0200 Subject: [PATCH] reorder search UI to be more intuitive --- files/templates/search.html | 99 +++++++++++++++++++------------------ 1 file changed, 51 insertions(+), 48 deletions(-) diff --git a/files/templates/search.html b/files/templates/search.html index 5ba32f7b5..22a052868 100644 --- a/files/templates/search.html +++ b/files/templates/search.html @@ -6,10 +6,8 @@ Search for "{{query}}" - {{SITE_NAME}}" {% endblock %} -{% block PseudoSubmitForm %}{% endblock %} - -{% block navbar %} - - {% if not '/users' in request.path %} -
- +{% endblock %} - -
- {% endif %} +{% block navbar %} {% endblock %} {% block content %} @@ -77,7 +34,7 @@
  • -
    +
    {% if not request.path.startswith('/search/users') %} Advanced search parameters (with examples) @@ -97,6 +54,52 @@
    Showing {% block listinglength %}{{listing | length}}{% endblock %} of {{total}} result{{'s' if total != 1 else ''}} for

    {{query}}

    + {% if not '/users' in request.path %} +
    + + + +
    + {% endif %} + +