From dde13f309056e1e9ffc6a5c7fb521279322087dc Mon Sep 17 00:00:00 2001 From: virusdefender <1670873886@qq.com> Date: Sun, 25 Oct 2015 18:11:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=A8=E6=88=B7=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=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/global.css | 8 ++++++++ template/src/oj/account/user_index.html | 20 +++++++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/static/src/css/global.css b/static/src/css/global.css index d43735e..796a250 100644 --- a/static/src/css/global.css +++ b/static/src/css/global.css @@ -82,4 +82,12 @@ pre, code { .admin-star{ color: #c0c0c0; +} + +#user-data-number{ + font-size: 20px; +} + +#user-data-text{ + display: block; } \ No newline at end of file diff --git a/template/src/oj/account/user_index.html b/template/src/oj/account/user_index.html index d8ce651..5ab6e44 100644 --- a/template/src/oj/account/user_index.html +++ b/template/src/oj/account/user_index.html @@ -1,6 +1,6 @@ {% extends "oj_base.html" %} {% block title %} - +{{ user.username }}的主页 {% endblock %} {% block body %}
@@ -21,7 +21,7 @@

{{ user.userprofile.mood }}

-
+
{% if user.userprofile.blog %}

@@ -60,10 +60,24 @@ {{ user.create_time }}

+
+
+ {{ user.userprofile.rank }} + Rank +
+
+ {{ user.userprofile.accepted_number }} + AC +
+
+ {{ user.userprofile.submissions_number }} + Submissions +
+
- TODO +
{% endblock %} \ No newline at end of file