mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2024-12-26 09:59:18 +01:00
style
This commit is contained in:
parent
346c16dbf6
commit
b876b66fdc
1 changed files with 1 additions and 11 deletions
|
@ -54,17 +54,7 @@ app.controller( 'BalanceCtrl',
|
|||
};
|
||||
|
||||
$scope.coloring_score = function( score ) {
|
||||
var color_scale = [ '#99f',
|
||||
'#0f0',
|
||||
'#3f0',
|
||||
'#6f0',
|
||||
'#9f0',
|
||||
'#cf0',
|
||||
'#fc0',
|
||||
'#f90',
|
||||
'#f60',
|
||||
'#f30',
|
||||
'#f00' ];
|
||||
var color_scale = [ '#99f', '#0f0', '#3f0', '#6f0', '#9f0', '#cf0', '#fc0', '#f90', '#f60', '#f30', '#f00' ];
|
||||
return color_scale[ score ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue