diff --git a/static/css/ranking.css b/static/css/ranking.css index e63626d..209bb2f 100644 --- a/static/css/ranking.css +++ b/static/css/ranking.css @@ -3,6 +3,11 @@ height: auto; } +.infoBlue { + background-color: #719bc0 !important; + color: white; +} + .centerInBtn { float: left; text-align: center; diff --git a/static/js/contrib.js b/static/js/contrib.js index cf3a655..6e12052 100644 --- a/static/js/contrib.js +++ b/static/js/contrib.js @@ -269,19 +269,19 @@ function updateProgressHeader(org) { // update color in other dataTables datatableTop.rows().every( function() { var row = this.node(); - if(this.data()[3] == data.org) { row.classList.add('info'); } else { row.classList.remove('info'); } + if(this.data()[3] == data.org) { row.classList.add('infoBlue'); } else { row.classList.remove('info'); } }); datatableFame.rows().every( function() { var row = this.node(); - if(this.data()[3] == data.org) { row.classList.add('info'); } else { row.classList.remove('info'); } + if(this.data()[3] == data.org) { row.classList.add('infoBlue'); } else { row.classList.remove('info'); } }); datatableCateg.rows().every( function() { var row = this.node(); - if(this.data()[3] == data.org) { row.classList.add('info'); } else { row.classList.remove('info'); } + if(this.data()[3] == data.org) { row.classList.add('infoBlue'); } else { row.classList.remove('info'); } }); datatableLast.rows().every( function() { var row = this.node(); - if(this.data()[3] == data.org) { row.classList.add('info'); } else { row.classList.remove('info'); } + if(this.data()[3] == data.org) { row.classList.add('infoBlue'); } else { row.classList.remove('info'); } }); }); } diff --git a/templates/contrib.html b/templates/contrib.html index c1f8dee..ac85920 100644 --- a/templates/contrib.html +++ b/templates/contrib.html @@ -62,7 +62,7 @@ - +
@@ -99,7 +99,7 @@
- Contributor Ranking + Contributor Ranking
@@ -126,7 +126,7 @@
- Last contributors (24h) + Last contributors (24h)
@@ -153,7 +153,7 @@
- Contributors and Categories + Contributors and Categories
@@ -188,7 +188,7 @@
- Hall Of Fame + Hall Of Fame
@@ -213,7 +213,7 @@
- Top 5 Contributor overtime + Top 5 Contributor overtime