mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 01:08:41 +00:00
chore(contest/standings): acm standings table style
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a894939f75
commit
3b05222867
@ -1710,19 +1710,19 @@ function getACMStandingsMeta() {
|
|||||||
|
|
||||||
function setACMStandingsTH(th, i, meta) {
|
function setACMStandingsTH(th, i, meta) {
|
||||||
if (i == -3) {
|
if (i == -3) {
|
||||||
return $(th).css('width', '34px').text('#');
|
return $(th).css('width', '3em').text('#');
|
||||||
} else if (i == -2) {
|
} else if (i == -2) {
|
||||||
if (problems.length <= 10) {
|
if (problems.length <= 10) {
|
||||||
$(th).css('width', '114px');
|
$(th).css('width', '14em');
|
||||||
}
|
}
|
||||||
return $(th).text(uojLocale('username'));
|
return $(th).text(uojLocale('username'));
|
||||||
} else if (i == -1) {
|
} else if (i == -1) {
|
||||||
return $(th).css('width', '57px').text(uojLocale('contests::total score'));
|
return $(th).css('width', '5em').text(uojLocale('contests::total score'));
|
||||||
}
|
}
|
||||||
|
|
||||||
var pid = problems[i];
|
var pid = problems[i];
|
||||||
|
|
||||||
$(th).css('width', '57px');
|
$(th).css('width', '5em');
|
||||||
if (("problem_" + pid) in bonus) {
|
if (("problem_" + pid) in bonus) {
|
||||||
$(th).attr('title', '附加题,通过后减免 20 分钟罚时');
|
$(th).attr('title', '附加题,通过后减免 20 分钟罚时');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user