Skip to content

Commit

Permalink
feat: rename the copywriting of WA and AC to Submitted Successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangt2333 committed Feb 25, 2024
1 parent a147f1d commit 0dada8b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions src/components/JudgeResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ export default {
font-weight: bold;
}

// partial accepted
.verdict-partial-accepted {
color: #2d8cf0;
font-weight: bold;
}

// judge failed
.verdict-failed {
color: #d9534f;
Expand Down
10 changes: 5 additions & 5 deletions src/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const JUDGE_RESULT = {
icon: 'md-information'
},
[JUDGE_RESULT_TYPE.AC]: {
name: 'Accepted',
name: 'Submitted Successfully',
abbr: 'AC',
css: 'verdict-accepted',
color: '#5cb85c',
Expand Down Expand Up @@ -110,11 +110,11 @@ export const JUDGE_RESULT = {
icon: 'md-close'
},
[JUDGE_RESULT_TYPE.WA]: {
name: 'Wrong Answer',
name: 'Submitted Successfully',
abbr: 'WA',
css: 'verdict-failed',
color: '#d9534f',
icon: 'md-close'
css: 'verdict-partial-accepted',
color: '#2d8cf0',
icon: 'md-checkmark'
},
[JUDGE_RESULT_TYPE.PE]: {
name: 'Presentation Error',
Expand Down

0 comments on commit 0dada8b

Please sign in to comment.