ui: better acm scoreboard display

This commit is contained in:
undefined committed 2021-12-04 00:14:24 +08:00
1 parent 564b603fe9
commit 32b36a6a4b
7 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -648,7 +648,7 @@ Size: 크기
Solutions Liked: 연결된 해설
Solutions: 해설
Solve: 해결
Solved Problems: 해결한 문제
Solved: 해결한 문제
Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다.
Sorry, there is no training plan.: 학습 계획 없음
Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다.
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "3.2.7",
"version": "3.2.8",
"bin": "bin/hydrooj.js",
"main": "src/loader",
"module": "src/loader",
+2 -2
View File
@@ -74,7 +74,7 @@ const acm: ContestRule = {
const columns: ScoreboardRow = [
{ type: 'rank', value: _('Rank') },
{ type: 'user', value: _('User') },
{ type: 'solved_problems', value: _('Solved Problems') },
{ type: 'solved_problems', value: _('Solved') },
];
if (isExport) {
columns.push(
@@ -140,7 +140,7 @@ const acm: ContestRule = {
const doc = tsddict[pid] || {};
const accept = doc.status === STATUS.STATUS_ACCEPTED;
const rid = accept ? doc.rid : null;
const colAccepted = `${accept ? `${_('Accepted')} ` : ''}${doc.naccept ? ` (-${doc.naccept})` : ''}`;
const colAccepted = `${(accept && isExport) ? `${_('Accepted')} ` : ''}${doc.naccept ? ` (-${doc.naccept})` : ''}`;
const colTime = accept ? doc.time : '-';
const colTimeStr = accept ? misc.formatSeconds(colTime) : '-';
if (isExport) {
+1 -1
View File
@@ -651,7 +651,7 @@ Size: 크기
Solutions Liked: 연결된 해설
Solutions: 해설
Solve: 해결
Solved Problems: 해결한 문제
Solved: 해결한 문제
Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다.
Sorry, there is no training plan.: 학습 계획 없음
Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다.
+1 -1
View File
@@ -702,7 +702,7 @@ Size: 大小
Solutions Liked: 题解被赞
Solutions: 题解
Solve: 解决
Solved Problems: 解决题目
Solved: 解决
Sorry, there is no problem in the problem set: 题库中没有题目
Sorry, there is no training plan.: 目前没有训练计划。
Sorry, there is no user in this domain.: 对不起,此域中没有用户。
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.27.0",
"version": "4.27.1",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
@@ -1,17 +1,17 @@
.page--contest_scoreboard
.col--rank
width: rem(70px)
width: rem(60px)
border-right: 1px solid $table-border-color
.col--user
width: rem(140px)
min-width: rem(150px)
.col--total_score, .col--total_time_str, .col--solved_problems
width: rem(100px)
text-align: center
.col--problem_detail
min-width: rem(100px)
width: rem(80px)
border-left: 1px solid $table-border-color
text-align: center