From 386a6dd17382a06afbe5583246e7f93d2ee9feee Mon Sep 17 00:00:00 2001 From: virusdefender Date: Sat, 20 Aug 2016 23:04:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E5=AE=8C=E6=88=90=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E9=A2=98=E7=9B=AE=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/admin/src/App.vue | 8 + .../admin/src/components/account/userList.vue | 2 +- .../announcement/announcementList.vue | 2 +- .../src/components/problem/createProblem.vue | 165 ++++++++++++------ .../src/components/problem/problemList.vue | 2 +- .../src/components/problem/specialJudge.vue | 78 +++++++++ frontend/admin/src/components/problem/spj.vue | 9 - .../admin/src/components/utils/codeMirror.vue | 16 +- .../src/components/utils/problemSample.vue | 29 +-- .../src/components/utils/testCaseMgnt.vue | 41 ++--- frontend/admin/src/locales.js | 16 +- frontend/admin/src/main.js | 20 +-- 12 files changed, 253 insertions(+), 135 deletions(-) create mode 100644 frontend/admin/src/components/problem/specialJudge.vue delete mode 100644 frontend/admin/src/components/problem/spj.vue diff --git a/frontend/admin/src/App.vue b/frontend/admin/src/App.vue index 53255943..17ee4df9 100644 --- a/frontend/admin/src/App.vue +++ b/frontend/admin/src/App.vue @@ -28,6 +28,14 @@ font-size: 16px; } + .sub-label { + font-size: 12px; + display: inline-block; + max-width: 100%; + margin-bottom: 5px; + font-weight: bold; + } + \ No newline at end of file diff --git a/frontend/admin/src/components/problem/problemList.vue b/frontend/admin/src/components/problem/problemList.vue index 13d02a73..acb6c83c 100644 --- a/frontend/admin/src/components/problem/problemList.vue +++ b/frontend/admin/src/components/problem/problemList.vue @@ -28,7 +28,7 @@ {{ problem.created_by.username }} {{ $t(problemStatus[problem.visible?1:0]) }} - + diff --git a/frontend/admin/src/components/problem/specialJudge.vue b/frontend/admin/src/components/problem/specialJudge.vue new file mode 100644 index 00000000..d407af2b --- /dev/null +++ b/frontend/admin/src/components/problem/specialJudge.vue @@ -0,0 +1,78 @@ + + + + + \ No newline at end of file diff --git a/frontend/admin/src/components/problem/spj.vue b/frontend/admin/src/components/problem/spj.vue deleted file mode 100644 index 8504d1f1..00000000 --- a/frontend/admin/src/components/problem/spj.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/admin/src/components/utils/codeMirror.vue b/frontend/admin/src/components/utils/codeMirror.vue index 109a3dc5..a970b834 100644 --- a/frontend/admin/src/components/utils/codeMirror.vue +++ b/frontend/admin/src/components/utils/codeMirror.vue @@ -1,18 +1,18 @@