diff options
author | emkael <emkael@tlen.pl> | 2018-08-24 14:22:40 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-08-24 14:22:40 +0200 |
commit | 8bf5aa4a9faffadbdfe05ebcb32eaf26fea3e88d (patch) | |
tree | 6abb266c88c856026c94559767168470012d253a /http/_res | |
parent | e9fd55f587aed7e9afbfd27c4ab56e4bc96d2c26 (diff) |
Adding information to hidden player rows
Diffstat (limited to 'http/_res')
-rw-r--r-- | http/_res/ranking.css | 4 | ||||
-rw-r--r-- | http/_res/ranking.js | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/http/_res/ranking.css b/http/_res/ranking.css index 2993dd7..336186e 100644 --- a/http/_res/ranking.css +++ b/http/_res/ranking.css @@ -40,6 +40,10 @@ .table > thead th { text-align: center } .table.history > tbody > tr { cursor: auto } +.table .hidden-filler { + text-align: center +} + .container { position: relative; } .static-menu { position: absolute; diff --git a/http/_res/ranking.js b/http/_res/ranking.js index 3115190..c85df2b 100644 --- a/http/_res/ranking.js +++ b/http/_res/ranking.js @@ -177,10 +177,8 @@ var ranking = { columnCnt++; } }); - var fillerRow = $('<td>').attr('colspan', columnCnt); - filterCategories.forEach(function(category) { - fillerRow.attr('data-' + category, row.category); - }); + var fillerRow = $('<td>').attr('colspan', columnCnt).addClass('hidden-filler'); + fillerRow.append($('<em>ukryte</em>')); tableRow.append(fillerRow); tableRow.find('.rank').text(row['place']); } |