From 04e51503f690626118e8071cd5f8f7afd9ad4cf1 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Sat, 23 Aug 2008 11:31:10 +0800 Subject: [PATCH] Use up/down arrows as sorting indicator .. rather than a red heading, which implies an error. Signed-off-by: Jeremy Kerr --- htdocs/css/style.css | 11 ++++++----- htdocs/images/16-arrow-down.png | Bin 0 -> 354 bytes htdocs/images/16-arrow-up.png | Bin 0 -> 332 bytes templates/patchwork/help/about.html | 2 ++ templates/patchwork/patch-list.html | 18 +++++++++++++++++- 5 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 htdocs/images/16-arrow-down.png create mode 100644 htdocs/images/16-arrow-up.png diff --git a/htdocs/css/style.css b/htdocs/css/style.css index 3b10edb..3604148 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -124,6 +124,10 @@ table.patchlist th { padding-left: 6px; } +table.patchlist th img { + vertical-align: bottom; +} + table.patchlist td { padding: 2px 6px 2px 6px; margin: 0px; @@ -145,14 +149,11 @@ table.patchlist tr.even { background: #e8e8e8; } -a.colactive { - color: red; -} - -a.colinactive { +a.colinactive, a.colactive { color: black; text-decoration: none; } + a.colinactive:hover { color: red; } diff --git a/htdocs/images/16-arrow-down.png b/htdocs/images/16-arrow-down.png new file mode 100644 index 0000000000000000000000000000000000000000..fa0ff7b3204cde4110c41b9c907896325697401f GIT binary patch literal 354 zcmV-o0iFJdP)m9?_pRd6f#0H6h zF(XPV2sOl zd_`7?H)@J%ZqDCR`?iG;1qbGk`G6AZ&mIpYzN$J;3zU`$uuAVZvp*nyewi z*I#eI7{tcq3Y=chQ8r@u_VX1OgV;oS0c4Ymlo-RaADb9{{(TP?V`mm*0Eyjsw(mcB zfMRulvZ4UPpMT#N{{8y}#vnFGjGz}lwkycUGcYnTF)%Z6Ft9T7f-#5<5(CMhhXo6! ziEIoUETRmIK&gNKe?i0;*%;Va1c7od@P`4=e~ovZ?5n@` href="http://code.google.com/p/django-registration/">django-registration application. +

Icons from the Sweetie icon set. + {% endblock %} diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html index a0a8cec..57491e2 100644 --- a/templates/patchwork/patch-list.html +++ b/templates/patchwork/patch-list.html @@ -31,6 +31,10 @@ {% ifequal order.name "name" %} Patch {% else %} Patch @@ -40,6 +44,10 @@ {% ifequal order.name "date" %} Date {% else %} Date @@ -49,7 +57,11 @@ {% ifequal order.name "submitter" %} Submiter + href="{% listurl order=order.reversed_name %}"> Submitter {% else %} Submitter {% endifequal %} @@ -58,6 +70,10 @@ {% ifequal order.name "state" %} State {% else %} State -- 2.39.2