mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: better acm scoreboard display
This commit is contained in:
1 parent
564b603fe9
commit
32b36a6a4b
7 files changed
+10
-10
No files matched your search
@@ -648,7 +648,7 @@ Size: 크기
|
|||||||
Solutions Liked: 연결된 해설
|
Solutions Liked: 연결된 해설
|
||||||
Solutions: 해설
|
Solutions: 해설
|
||||||
Solve: 해결
|
Solve: 해결
|
||||||
Solved Problems: 해결한 문제
|
Solved: 해결한 문제
|
||||||
Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다.
|
Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다.
|
||||||
Sorry, there is no training plan.: 학습 계획 없음
|
Sorry, there is no training plan.: 학습 계획 없음
|
||||||
Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다.
|
Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hydrooj",
|
"name": "hydrooj",
|
||||||
"version": "3.2.7",
|
"version": "3.2.8",
|
||||||
"bin": "bin/hydrooj.js",
|
"bin": "bin/hydrooj.js",
|
||||||
"main": "src/loader",
|
"main": "src/loader",
|
||||||
"module": "src/loader",
|
"module": "src/loader",
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ const acm: ContestRule = {
|
|||||||
const columns: ScoreboardRow = [
|
const columns: ScoreboardRow = [
|
||||||
{ type: 'rank', value: _('Rank') },
|
{ type: 'rank', value: _('Rank') },
|
||||||
{ type: 'user', value: _('User') },
|
{ type: 'user', value: _('User') },
|
||||||
{ type: 'solved_problems', value: _('Solved Problems') },
|
{ type: 'solved_problems', value: _('Solved') },
|
||||||
];
|
];
|
||||||
if (isExport) {
|
if (isExport) {
|
||||||
columns.push(
|
columns.push(
|
||||||
@@ -140,7 +140,7 @@ const acm: ContestRule = {
|
|||||||
const doc = tsddict[pid] || {};
|
const doc = tsddict[pid] || {};
|
||||||
const accept = doc.status === STATUS.STATUS_ACCEPTED;
|
const accept = doc.status === STATUS.STATUS_ACCEPTED;
|
||||||
const rid = accept ? doc.rid : null;
|
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 colTime = accept ? doc.time : '-';
|
||||||
const colTimeStr = accept ? misc.formatSeconds(colTime) : '-';
|
const colTimeStr = accept ? misc.formatSeconds(colTime) : '-';
|
||||||
if (isExport) {
|
if (isExport) {
|
||||||
|
|||||||
@@ -651,7 +651,7 @@ Size: 크기
|
|||||||
Solutions Liked: 연결된 해설
|
Solutions Liked: 연결된 해설
|
||||||
Solutions: 해설
|
Solutions: 해설
|
||||||
Solve: 해결
|
Solve: 해결
|
||||||
Solved Problems: 해결한 문제
|
Solved: 해결한 문제
|
||||||
Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다.
|
Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다.
|
||||||
Sorry, there is no training plan.: 학습 계획 없음
|
Sorry, there is no training plan.: 학습 계획 없음
|
||||||
Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다.
|
Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다.
|
||||||
|
|||||||
@@ -702,7 +702,7 @@ Size: 大小
|
|||||||
Solutions Liked: 题解被赞
|
Solutions Liked: 题解被赞
|
||||||
Solutions: 题解
|
Solutions: 题解
|
||||||
Solve: 解决
|
Solve: 解决
|
||||||
Solved Problems: 解决题目
|
Solved: 解决
|
||||||
Sorry, there is no problem in the problem set: 题库中没有题目
|
Sorry, there is no problem in the problem set: 题库中没有题目
|
||||||
Sorry, there is no training plan.: 目前没有训练计划。
|
Sorry, there is no training plan.: 目前没有训练计划。
|
||||||
Sorry, there is no user in this domain.: 对不起,此域中没有用户。
|
Sorry, there is no user in this domain.: 对不起,此域中没有用户。
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.27.0",
|
"version": "4.27.1",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
.page--contest_scoreboard
|
.page--contest_scoreboard
|
||||||
.col--rank
|
.col--rank
|
||||||
width: rem(70px)
|
width: rem(60px)
|
||||||
border-right: 1px solid $table-border-color
|
border-right: 1px solid $table-border-color
|
||||||
|
|
||||||
.col--user
|
.col--user
|
||||||
width: rem(140px)
|
min-width: rem(150px)
|
||||||
|
|
||||||
.col--total_score, .col--total_time_str, .col--solved_problems
|
.col--total_score, .col--total_time_str, .col--solved_problems
|
||||||
width: rem(100px)
|
width: rem(100px)
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
.col--problem_detail
|
.col--problem_detail
|
||||||
min-width: rem(100px)
|
width: rem(80px)
|
||||||
border-left: 1px solid $table-border-color
|
border-left: 1px solid $table-border-color
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user