Skip to content

Commit

Permalink
Merge pull request #206 from skku-npc/hotfix/submission-detail
Browse files Browse the repository at this point in the history
submission-detail 위치 변경 및 단위 ms로 변경
  • Loading branch information
jimin9038 authored Aug 12, 2021
2 parents 1c17c89 + b3ac7ae commit 55cde27
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frontend/src/pages/oj/views/contest/ContestDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
head-variant="light"
@row-clicked="goContestProblem"
>
<template #cell(title)="data">
{{data.value}}
<b-icon
icon="check2-circle"
style="color: #8DC63F;"
font-scale="1.2"
v-if="data.item.my_status===0"></b-icon>
</template>
</b-table>
</div>
<div class="pagination">
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/pages/oj/views/problem/Problem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@
<h2>Hint</h2>
<p v-dompurify-html="problem.hint"></p>
</div>
<b-table
:items="[{time_limit:problem.time_limit + ' ms', memory_limit:problem.memory_limit + ' MB'}]"
:fields="['time_limit', 'memory_limit']"
class="text-light"
>
</b-table>
</b-col>
<b-col id="console" cols="7">
<b-row id="editor">
Expand Down

0 comments on commit 55cde27

Please sign in to comment.