diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2013-08-04 17:05:20 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2013-08-04 17:05:20 +0200 |
commit | d529672a314e188d9effdc14a30c37a990f80ebe (patch) | |
tree | 9ad28a9de239bbe542b99846156f37002dfe7ab4 /js/liststudy.js | |
parent | 187883fd80675211a022a6e98f6d5d84a796373f (diff) | |
download | Bits-d529672a314e188d9effdc14a30c37a990f80ebe.tar.gz Bits-d529672a314e188d9effdc14a30c37a990f80ebe.zip |
Some changes to the way reviews work - custom styles!
Diffstat (limited to 'js/liststudy.js')
-rw-r--r-- | js/liststudy.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/liststudy.js b/js/liststudy.js index 4d715b8..d4a74c8 100644 --- a/js/liststudy.js +++ b/js/liststudy.js @@ -49,7 +49,7 @@ function show_contents_table() { var html = '<table><tr>'; for (var i = 0; i < batch_data.columns.length; i++) { var c = batch_data.columns[i]; - html += '<th>' + c.name + ' - <a class="tool_link" href="#" onclick="ch(' + i + ')" id="chsl' + i + '">hide</a></th>'; + html += '<th>' + c + ' - <a class="tool_link" href="#" onclick="ch(' + i + ')" id="chsl' + i + '">hide</a></th>'; } html += '<th>win</th><th>fail</th><th>score</th></tr>'; for (var i = 0; i < items.length; i++) { @@ -91,7 +91,7 @@ function show_reviews_table() { var color = ''; if (reviews_data[i].score == 100) color = '#00aa00'; - else if (reviews_data[i].score >= 90) + else if (reviews_data[i].score >= 80) color = '#55FF55'; else if (reviews_data[i].score >= 50) color = '#FFFF00'; |