From ba1cfb30a3158b407c7b8cd0feae6642145b09c3 Mon Sep 17 00:00:00 2001 From: Charles Holbrow Date: Wed, 20 Feb 2013 14:58:29 -0500 Subject: [PATCH] modifying css and image links to support our altered folder structure --- .../css/datatables-css/jquery.dataTables.css | 22 ++++++++-------- karmaworld/templates/courses/course_list.html | 26 +++++++------------ 2 files changed, 20 insertions(+), 28 deletions(-) diff --git a/karmaworld/assets/css/datatables-css/jquery.dataTables.css b/karmaworld/assets/css/datatables-css/jquery.dataTables.css index 7da7fae..b426848 100644 --- a/karmaworld/assets/css/datatables-css/jquery.dataTables.css +++ b/karmaworld/assets/css/datatables-css/jquery.dataTables.css @@ -124,13 +124,13 @@ table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; } margin-left: 10px; } -.paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; } -.paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; } -.paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; } +.paginate_enabled_previous { background: url('../../img/datatables-images/back_enabled.png') no-repeat top left; } +.paginate_enabled_previous:hover { background: url('../../img/datatables-images/back_enabled_hover.png') no-repeat top left; } +.paginate_disabled_previous { background: url('../../img/datatables-images/back_disabled.png') no-repeat top left; } -.paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; } -.paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; } -.paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; } +.paginate_enabled_next { background: url('../../img/datatables-images/forward_enabled.png') no-repeat top right; } +.paginate_enabled_next:hover { background: url('../../img/datatables-images/forward_enabled_hover.png') no-repeat top right; } +.paginate_disabled_next { background: url('../../img/datatables-images/forward_disabled.png') no-repeat top right; } /* Full number pagination */ .paging_full_numbers { @@ -194,12 +194,12 @@ table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; } /* * Sorting */ -.sorting { background: url('../images/sort_both.png') no-repeat center right; } -.sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; } -.sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; } +.sorting { background: url('../../img/datatables-images/sort_both.png') no-repeat center right; } +.sorting_asc { background: url('../../img/datatables-images/sort_asc.png') no-repeat center right; } +.sorting_desc { background: url('../../img/datatables-images/sort_desc.png') no-repeat center right; } -.sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; } -.sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; } +.sorting_asc_disabled { background: url('../../img/datatables-images/sort_asc_disabled.png') no-repeat center right; } +.sorting_desc_disabled { background: url('../../img/datatables-images/sort_desc_disabled.png') no-repeat center right; } table.dataTable thead th:active, table.dataTable thead td:active { diff --git a/karmaworld/templates/courses/course_list.html b/karmaworld/templates/courses/course_list.html index 845853f..7482188 100644 --- a/karmaworld/templates/courses/course_list.html +++ b/karmaworld/templates/courses/course_list.html @@ -10,6 +10,7 @@ + {% endblock %} {% block pagescripts %} @@ -17,7 +18,14 @@ - + + + {% endblock %} {% block lightboxen %} @@ -40,22 +48,6 @@
- -
-
- - - - - - -
-
-- 2.25.1