Skip to content

Commit 55cde27

Browse files
authored
Merge pull request #206 from skku-npc/hotfix/submission-detail
submission-detail 위치 변경 및 단위 ms로 변경
2 parents 1c17c89 + b3ac7ae commit 55cde27

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

frontend/src/pages/oj/views/contest/ContestDetail.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@
2828
head-variant="light"
2929
@row-clicked="goContestProblem"
3030
>
31+
<template #cell(title)="data">
32+
{{data.value}}
33+
<b-icon
34+
icon="check2-circle"
35+
style="color: #8DC63F;"
36+
font-scale="1.2"
37+
v-if="data.item.my_status===0"></b-icon>
38+
</template>
3139
</b-table>
3240
</div>
3341
<div class="pagination">

frontend/src/pages/oj/views/problem/Problem.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@
171171
<h2>Hint</h2>
172172
<p v-dompurify-html="problem.hint"></p>
173173
</div>
174+
<b-table
175+
:items="[{time_limit:problem.time_limit + ' ms', memory_limit:problem.memory_limit + ' MB'}]"
176+
:fields="['time_limit', 'memory_limit']"
177+
class="text-light"
178+
>
179+
</b-table>
174180
</b-col>
175181
<b-col id="console" cols="7">
176182
<b-row id="editor">

0 commit comments

Comments
 (0)