From 55e9b6c2a49be009b27361b48a527ec1c6356514 Mon Sep 17 00:00:00 2001 From: Matheus Fernandes Date: Thu, 5 Nov 2015 17:47:01 -0200 Subject: [PATCH] Added order filter to search --- src/colab-spb-theme-plugin/colab_spb_theme/static/css/search.css | 4 ++++ src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html | 49 ++++++++++++++++++++++++++++++++----------------- 2 files changed, 36 insertions(+), 17 deletions(-) diff --git a/src/colab-spb-theme-plugin/colab_spb_theme/static/css/search.css b/src/colab-spb-theme-plugin/colab_spb_theme/static/css/search.css index 9f23830..d2437d3 100644 --- a/src/colab-spb-theme-plugin/colab_spb_theme/static/css/search.css +++ b/src/colab-spb-theme-plugin/colab_spb_theme/static/css/search.css @@ -43,6 +43,10 @@ font-size: 14px; } +.btn:hover { + color: white; +} + .search-divisor { margin-top: 0px; } diff --git a/src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html b/src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html index ea0b892..e860b7d 100644 --- a/src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html +++ b/src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html @@ -32,35 +32,50 @@ {% block main-content %}
-
-
-
-
-

{% trans "BUSCAR NO PORTAL" %}

- -
+ +
+
+
+
+

{% trans "BUSCAR NO PORTAL" %}

- +
-
-
-
-
-

- {% trans "Total de "%}{{ page.paginator.count }}{% trans " respostas na sua pesquisa"%} -

+
+
+
+

+ {% trans "Total de "%}{{ page.paginator.count }}{% trans " respostas na sua pesquisa"%} +

+
+
+
+
+

{% trans "Ordenar por:" %} + +

+
+
-
-
+
-- libgit2 0.21.2