From 4a3a323769d77287e8540370a0cd69aeacbf7a56 Mon Sep 17 00:00:00 2001 From: virusdefender <1670873886@qq.com> Date: Sun, 23 Aug 2015 19:39:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=98=E7=9B=AE=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=92=8C=E9=A6=96=E9=A1=B5=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/src/css/oj.css | 4 ++ .../oj/contest/contest_problems_list.html | 43 +++++++++++++------ template/oj/index.html | 2 +- 3 files changed, 35 insertions(+), 14 deletions(-) diff --git a/static/src/css/oj.css b/static/src/css/oj.css index 95a16f8..ce1bc0e 100644 --- a/static/src/css/oj.css +++ b/static/src/css/oj.css @@ -87,4 +87,8 @@ li.list-group-item { position: relative; outline: none; +} + +.contest-tab{ + margin-bottom: 5px; } \ No newline at end of file diff --git a/template/oj/contest/contest_problems_list.html b/template/oj/contest/contest_problems_list.html index 543135d..1b40095 100644 --- a/template/oj/contest/contest_problems_list.html +++ b/template/oj/contest/contest_problems_list.html @@ -2,18 +2,31 @@ {% block body %} {% load problem %}
+ +
+
+ + + + +
+
-
-
-
-
- - -
-
-
-
+
@@ -28,8 +41,11 @@ {% for item in contest_problems %} - - + + {% endfor %} @@ -51,10 +67,11 @@ -
{% include "oj/announcement/_announcement_panel.html" %}
+ + {% endblock %} diff --git a/template/oj/index.html b/template/oj/index.html index 67610b9..520f753 100644 --- a/template/oj/index.html +++ b/template/oj/index.html @@ -90,7 +90,7 @@
{{ item.sort_index }}{{ item.title }}{{ item.sort_index }} + {{ item.title }} + {{ item|accepted_radio }}