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