From 3f3589db19700aeb2198230ea47940706535e272 Mon Sep 17 00:00:00 2001 From: peterdd Date: Fri, 29 Oct 2021 19:00:07 +0200 Subject: [PATCH 1/2] CSS for search result order_by highlighting adds an example background-color and unicode up/down arrows --- www/css/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/www/css/style.css b/www/css/style.css index cc59017f..065353a2 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -504,6 +504,17 @@ th.results { background-color: #aaaaaa; text-align: left; } + +th.results.asc, th.results.desc{ + background-color:#ddf; +} +th.results.asc:after{ + content:'▲'; +} +th.results.desc:after{ + content:'▼'; +} + table#details td { vertical-align: top; } From 120b01db7b3577055f48570597124252495650ad Mon Sep 17 00:00:00 2001 From: peterdd Date: Fri, 29 Oct 2021 19:11:59 +0200 Subject: [PATCH 2/2] asc/desc CSS class for order_by column in search result table Improves usablity as user sees by what column the result table is sorted and also the direction. --- www/search.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/www/search.php b/www/search.php index 38ad03b7..18029480 100644 --- a/www/search.php +++ b/www/search.php @@ -134,18 +134,18 @@ - ID# - Date - Last Modified + ID# + Date + Last Modified - Package + Package - Type - Status - PHP Version - OS - Summary - Assigned + Type + Status + PHP Version + OS + Summary + Assigned