diff --git a/judge/ratings.py b/judge/ratings.py index 549d3c7..9d0f36d 100644 --- a/judge/ratings.py +++ b/judge/ratings.py @@ -190,8 +190,8 @@ def rate_contest(contest): RATING_LEVELS = ['Newbie', 'Amateur', 'Expert', 'Candidate Master', 'Master', 'Grandmaster', 'Target'] -RATING_VALUES = [1000, 1300, 1600, 1900, 2400, 3000] -RATING_CLASS = ['rate-newbie', 'rate-amateur', 'rate-expert', 'rate-candidate-master', +RATING_VALUES = [1000, 1400, 1700, 1900, 2100, 2400, 3000] +RATING_CLASS = ['rate-newbie', 'rate-amateur', 'rate-specialist', 'rate-expert', 'rate-candidate-master', 'rate-master', 'rate-grandmaster', 'rate-target'] diff --git a/resources/ranks.scss b/resources/ranks.scss index 6724099..6bfb650 100644 --- a/resources/ranks.scss +++ b/resources/ranks.scss @@ -32,6 +32,10 @@ svg.rate-box { @include rate-svg-color(#00a900); } + &.rate-specialist { + @include rate-svg-color(#03a89e); + } + &.rate-expert { @include rate-svg-color(#66f); } @@ -73,6 +77,10 @@ svg.rate-box { color: #00a900; } +.rate-specialist, .rate-specialist a { + color: darkcyan; +} + .rate-expert, .rate-expert a { color: blue; } diff --git a/templates/user/user-about.html b/templates/user/user-about.html index a342ebe..748b3cb 100644 --- a/templates/user/user-about.html +++ b/templates/user/user-about.html @@ -467,21 +467,26 @@ }, { begin: 1000, - end: 1300, + end: 1400, color: 'rgb(0, 169, 0, 0.4)' }, { - begin: 1300, - end: 1600, + begin: 1400, + end: 1700, + color: 'rgb(3, 168, 158, 0.4)' + }, + { + begin: 1700, + end: 1900, color: 'rgb(0, 0, 255, 0.4)' }, { - begin: 1600, - end: 1900, + begin: 1900, + end: 2100, color: 'rgb(128, 0, 128, 0.37)' }, { - begin: 1900, + begin: 2100, end: 2400, color: 'rgb(255, 177, 0, 0.4)' },