From 04e51503f690626118e8071cd5f8f7afd9ad4cf1 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Sat, 23 Aug 2008 11:31:10 +0800 Subject: 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 0000000..fa0ff7b Binary files /dev/null and b/htdocs/images/16-arrow-down.png differ diff --git a/htdocs/images/16-arrow-up.png b/htdocs/images/16-arrow-up.png new file mode 100644 index 0000000..60c4eb9 Binary files /dev/null and b/htdocs/images/16-arrow-up.png differ diff --git a/templates/patchwork/help/about.html b/templates/patchwork/help/about.html index fa5094f..4cae691 100644 --- a/templates/patchwork/help/about.html +++ b/templates/patchwork/help/about.html @@ -15,5 +15,7 @@ web framework.

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 -- cgit v1.2.3