From 630be8d0488284aa5f9c30f63708d0d151b86e44 Mon Sep 17 00:00:00 2001 From: Lova Andriarimalala <43842786+Xpirix@users.noreply.github.com> Date: Thu, 3 Oct 2024 11:11:36 +0300 Subject: [PATCH] Improve UI of search page --- .../templates/plugins/plugin_list.html | 114 +---------------- .../plugins/plugin_list_grid_card.html | 114 +++++++++++++++++ qgis-app/templates/search/search.html | 120 +++++++----------- 3 files changed, 162 insertions(+), 186 deletions(-) create mode 100644 qgis-app/plugins/templates/plugins/plugin_list_grid_card.html diff --git a/qgis-app/plugins/templates/plugins/plugin_list.html b/qgis-app/plugins/templates/plugins/plugin_list.html index 97fb32fd..7ccaa15b 100644 --- a/qgis-app/plugins/templates/plugins/plugin_list.html +++ b/qgis-app/plugins/templates/plugins/plugin_list.html @@ -1,4 +1,4 @@ -{% extends 'plugins/plugin_base.html' %}{% load i18n bootstrap_pagination humanize static sort_anchor range_filter thumbnail %} +{% extends 'plugins/plugin_base.html' %}{% load i18n humanize static sort_anchor range_filter thumbnail %} {% load local_timezone %} {% load plugin_utils %} {% block extrajs %} @@ -77,117 +77,7 @@
{{ object.name }}
- -{{ object.description|truncatewords:20 }}
- -- - - - - {{ object.latest_version_date|local_timezone:"SHORT_NATURAL_DAY" }} - -
-{{ object.name }}
+ +{{ object.description|truncatewords:20 }}
+ ++ + + + + {{ object.latest_version_date|local_timezone:"SHORT_NATURAL_DAY" }} + +
+