|
|
@ -25,7 +25,7 @@ Vue.component('submission-item', { |
|
|
|
} else return 'Waiting'; |
|
|
|
} else return 'Waiting'; |
|
|
|
}, |
|
|
|
}, |
|
|
|
submissionLink() { |
|
|
|
submissionLink() { |
|
|
|
return submissionUrl.replace('VanDarkholme', this.data.info.taskId); |
|
|
|
return submissionUrl.replace('VanDarkholme', this.data.info.submissionId); |
|
|
|
}, |
|
|
|
}, |
|
|
|
problemLink() { |
|
|
|
problemLink() { |
|
|
|
return problemUrl.replace('VanDarkholme', this.data.info.problemId); |
|
|
|
return problemUrl.replace('VanDarkholme', this.data.info.problemId); |
|
|
@ -50,7 +50,7 @@ Vue.component('submission-item', { |
|
|
|
|
|
|
|
|
|
|
|
<script id="submissionItemTemplate" type="text/x-template"> |
|
|
|
<script id="submissionItemTemplate" type="text/x-template"> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td><a :href="submissionLink">#{{ data.info.taskId }}</a></td> |
|
|
|
<td><a :href="submissionLink">#{{ data.info.submissionId }}</a></td> |
|
|
|
<td ref="problemLabel"><a style="width: 230px; height: 22px; display: block; margin: 0 auto; line-height: 22px;" :href="problemLink">#{{ config.inContest ? alpha(data.info.problemId) : data.info.problemId }}. {{ data.info.problemName }}</a></td> |
|
|
|
<td ref="problemLabel"><a style="width: 230px; height: 22px; display: block; margin: 0 auto; line-height: 22px;" :href="problemLink">#{{ config.inContest ? alpha(data.info.problemId) : data.info.problemId }}. {{ data.info.problemName }}</a></td> |
|
|
|
<td><a :href="submissionLink"><status-label :status="statusString"></status-label></a></td> |
|
|
|
<td><a :href="submissionLink"><status-label :status="statusString"></status-label></a></td> |
|
|
|
|
|
|
|
|
|
|
|