[PATCH 24/51] dynatable: Use our theming for the table headers

Damien Lespiau damien.lespiau at intel.com
Sat Sep 12 01:54:57 AEST 2015


Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 htdocs/css/style.css                    | 2 +-
 lib/packages/jquery/jquery.dynatable.js | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/htdocs/css/style.css b/htdocs/css/style.css
index 8c8aa80..7588971 100644
--- a/htdocs/css/style.css
+++ b/htdocs/css/style.css
@@ -151,7 +151,7 @@ table#patchlist > tbody > tr > td.tag-T {
     background-color: #b4cfec;
 }
 
-a.colinactive, a.colactive {
+a.colinactive, a.colactive, a.dynatable-sort-header {
 	color: black;
 	text-decoration: none;
 }
diff --git a/lib/packages/jquery/jquery.dynatable.js b/lib/packages/jquery/jquery.dynatable.js
index eb8065d..de04547 100644
--- a/lib/packages/jquery/jquery.dynatable.js
+++ b/lib/packages/jquery/jquery.dynatable.js
@@ -1045,12 +1045,12 @@
 
     this.appendArrowUp = function($link) {
       this.removeArrow($link);
-      $link.append("<span class='dynatable-arrow'> ▲</span>");
+      $link.prepend("<span class='dynatable-arrow glyphicon glyphicon-chevron-up'></span> ");
     };
 
     this.appendArrowDown = function($link) {
       this.removeArrow($link);
-      $link.append("<span class='dynatable-arrow'> ▼</span>");
+      $link.prepend("<span class='dynatable-arrow glyphicon glyphicon-chevron-down'></span> ");
     };
 
     this.removeArrow = function($link) {
-- 
2.1.0



More information about the Patchwork mailing list