summaryrefslogtreecommitdiff
path: root/tpl/study/list.php
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2013-08-17 19:24:07 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2013-08-17 19:24:07 +0200
commit281c96082c00b9382d074ed72e03f22e236b6520 (patch)
tree6c0443b095e9284ef61734cf647c00cab4addaab /tpl/study/list.php
parent8c24f8d84c338de8320596c5a9b8da72c2541080 (diff)
downloadBits-281c96082c00b9382d074ed72e03f22e236b6520.tar.gz
Bits-281c96082c00b9382d074ed72e03f22e236b6520.zip
Nothing...
Diffstat (limited to 'tpl/study/list.php')
-rw-r--r--tpl/study/list.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/tpl/study/list.php b/tpl/study/list.php
index 8d240fb..3bb16dd 100644
--- a/tpl/study/list.php
+++ b/tpl/study/list.php
@@ -14,10 +14,14 @@ foreach ($batches as $batch) {
if ($batch['lr_date']) {
if ($batch['lr_score'] == 100)
$color = "#00AA00";
+ else if ($batch['lr_score'] >= 90)
+ $color = "#22EE22";
else if ($batch['lr_score'] >= 80)
$color = "#55FF55";
- else if ($batch['lr_score'] >= 50)
- $color = "#FFFF00";
+ else if ($batch['lr_score'] >= 60)
+ $color = "#EEEE00";
+ else if ($batch['lr_score'] >= 40)
+ $color = "#FFAA22";
else
$color = "#FF7777";