From 728974657454697b48a49398cda345e81b2d55e2 Mon Sep 17 00:00:00 2001 From: Charles Holbrow Date: Mon, 14 Jan 2013 18:53:31 -0500 Subject: [PATCH] Adding sorter arrows for course list. #37 Next: filtering --- karmaworld/assets/css/table_sort.css | 14 ++++++++++++++ karmaworld/assets/img/asc.gif | Bin 0 -> 54 bytes karmaworld/assets/img/bg.gif | Bin 0 -> 64 bytes karmaworld/assets/img/desc.gif | Bin 0 -> 54 bytes karmaworld/templates/courses/course_list.html | 1 + 5 files changed, 15 insertions(+) create mode 100644 karmaworld/assets/css/table_sort.css create mode 100644 karmaworld/assets/img/asc.gif create mode 100644 karmaworld/assets/img/bg.gif create mode 100644 karmaworld/assets/img/desc.gif diff --git a/karmaworld/assets/css/table_sort.css b/karmaworld/assets/css/table_sort.css new file mode 100644 index 0000000..41bcae3 --- /dev/null +++ b/karmaworld/assets/css/table_sort.css @@ -0,0 +1,14 @@ +table.tablesorter thead tr .header { + background-image: url(/static/img/bg.gif); + background-repeat: no-repeat; + background-position: center right; + cursor: pointer; +} + +table.tablesorter thead tr .headerSortUp { + background-image: url(/static/img/asc.gif); +} + +table.tablesorter thead tr .headerSortDown { + background-image: url(/static/img/desc.gif); +} \ No newline at end of file diff --git a/karmaworld/assets/img/asc.gif b/karmaworld/assets/img/asc.gif new file mode 100644 index 0000000000000000000000000000000000000000..74157867f25acbc146704d43399d6c3605ba7724 GIT binary patch literal 54 zcmZ?wbhEHb6lGvxXkcJa);0M5|G(l-7DfgJMg|=QAOOiQF!A=tFW`Q0{?_dDi`go= G4AuZ#-wosd literal 0 HcmV?d00001 diff --git a/karmaworld/assets/img/bg.gif b/karmaworld/assets/img/bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..fac668fcf42af844a3af0a239fa638ddbc08443c GIT binary patch literal 64 zcmZ?wbhEHb6lLIKXkcJa);0M5|G(l-7DfgJMg|=QAOOiQFp2l{H=O3Yl~fU8)V1~= QTew|n!uOuePzDBT00piR0RR91 literal 0 HcmV?d00001 diff --git a/karmaworld/assets/img/desc.gif b/karmaworld/assets/img/desc.gif new file mode 100644 index 0000000000000000000000000000000000000000..3b30b3c58eabdb47a1c420ad03c8e30b966cc858 GIT binary patch literal 54 zcmZ?wbhEHb6lGvxXkcJa);0M5|G(l-7DfgJMg|=QAOOiQF!A>EGoD<#VNP?1QCB1* GgEatI(+xQQ literal 0 HcmV?d00001 diff --git a/karmaworld/templates/courses/course_list.html b/karmaworld/templates/courses/course_list.html index 29d67bc..d2db158 100644 --- a/karmaworld/templates/courses/course_list.html +++ b/karmaworld/templates/courses/course_list.html @@ -8,6 +8,7 @@ {% block pagestyle %} + {% endblock %} {% block pagescripts %} -- 2.25.1