summaryrefslogtreecommitdiffstats
path: root/sitestatic
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-07 21:50:26 +0200
committerDan McGee <dan@archlinux.org>2012-04-07 21:55:07 +0200
commitec7130f6ac194ce7ad53d06e3169030b16da6fed (patch)
tree5267c3917968561219f6365120fa4d207025ec95 /sitestatic
parent068bc8db6bbfd9e1ed078d72169f34da97914c82 (diff)
downloadarchweb-ec7130f6ac194ce7ad53d06e3169030b16da6fed.tar.gz
archweb-ec7130f6ac194ce7ad53d06e3169030b16da6fed.tar.xz
Allow sorting of lower table on master keys page
Add some styling for sortable pretty2 tables to the CSS, and convert the header row into a single row since that is all tablesorter seems to support correctly when assigning styles. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'sitestatic')
-rw-r--r--sitestatic/archweb.css17
1 files changed, 17 insertions, 0 deletions
diff --git a/sitestatic/archweb.css b/sitestatic/archweb.css
index ac0dff5..a7fe6ca 100644
--- a/sitestatic/archweb.css
+++ b/sitestatic/archweb.css
@@ -258,6 +258,23 @@ table.pretty2 {
border: 1px solid #bbb;
}
+ /* additional styles for JS sorting */
+ table.pretty2 th.header {
+ padding-right: 20px;
+ background-image: url(nosort.gif);
+ background-repeat: no-repeat;
+ background-position: center right;
+ cursor: pointer;
+ }
+
+ table.pretty2 th.headerSortDown {
+ background-image: url(desc.gif);
+ }
+
+ table.pretty2 th.headerSortUp {
+ background-image: url(asc.gif);
+ }
+
table.pretty2 td {
padding: 0.35em;
border: 1px dotted #bbb;