diff --git a/packages/ui-default/misc/section.styl b/packages/ui-default/misc/section.styl index e9cfe15..07ad8fc 100644 --- a/packages/ui-default/misc/section.styl +++ b/packages/ui-default/misc/section.styl @@ -64,6 +64,7 @@ .section__header .section__title line-height: $form-control-height + font-weight: 500 h1.section__title font-size: 1.4rem diff --git a/packages/ui-default/misc/tailwindstylus.styl b/packages/ui-default/misc/tailwindstylus.styl index 63fd3ba..f81d445 100644 --- a/packages/ui-default/misc/tailwindstylus.styl +++ b/packages/ui-default/misc/tailwindstylus.styl @@ -111,7 +111,7 @@ color: #FFC0CB .bg-black - background-color: #000 + background-color: #000 !important .bg-white background-color: #FFF !important diff --git a/packages/ui-default/misc/typography.styl b/packages/ui-default/misc/typography.styl index bcd2e63..d71d123 100644 --- a/packages/ui-default/misc/typography.styl +++ b/packages/ui-default/misc/typography.styl @@ -300,7 +300,10 @@ h1, h2, h3, h4, h5, h6 .typo h2 font-size: 1.4em - font-weight: 400 + font-weight: 500 + margin-top: 100px + &:first-child + margin-top: 0 .typo h3 font-size: 1.17em diff --git a/packages/ui-default/static/favicon-32x32.png b/packages/ui-default/static/favicon-32x32.png index 2372340..548ad68 100644 Binary files a/packages/ui-default/static/favicon-32x32.png and b/packages/ui-default/static/favicon-32x32.png differ diff --git a/packages/ui-default/static/favicon.ico b/packages/ui-default/static/favicon.ico index 98d24cb..c64401a 100644 Binary files a/packages/ui-default/static/favicon.ico and b/packages/ui-default/static/favicon.ico differ diff --git a/packages/ui-default/templates/contest_detail.html b/packages/ui-default/templates/contest_detail.html index 3ade3e8..1a8ee82 100644 --- a/packages/ui-default/templates/contest_detail.html +++ b/packages/ui-default/templates/contest_detail.html @@ -9,7 +9,7 @@
-

{{ tdoc.title }}

+

{{ tdoc.title }}

{{ _(model.contest.statusText(tdoc, tsdoc)) }} diff --git a/packages/ui-default/templates/contest_main.html b/packages/ui-default/templates/contest_main.html index ee73ff8..8fabb37 100644 --- a/packages/ui-default/templates/contest_main.html +++ b/packages/ui-default/templates/contest_main.html @@ -56,7 +56,7 @@

{{ tdoc.title }}

{%- endfor -%}
-

{{ _('All Contests') if not rule else _('All {0} Contests').format(_(model.contest.RULES[rule].TEXT)) }}

+

{{ _('All Contests') if not rule else _('All {0} Contests').format(_(model.contest.RULES[rule].TEXT)) }}

{{ _('Show') }}: @@ -132,7 +132,7 @@

-

+

{{ _('Create Contest') }}

diff --git a/packages/ui-default/templates/domain_group.html b/packages/ui-default/templates/domain_group.html index ecfac79..969ec42 100644 --- a/packages/ui-default/templates/domain_group.html +++ b/packages/ui-default/templates/domain_group.html @@ -2,13 +2,13 @@ {% block domain_content %}
-

{{ _('{0}: Groups').format(domain.name) }}

+

{{ _('Kathy: 小组').format(domain.name) }}

{{ noscript_note.render() }} -
+
diff --git a/packages/ui-default/templates/domain_join_applications.html b/packages/ui-default/templates/domain_join_applications.html index d2b7197..0edad3c 100644 --- a/packages/ui-default/templates/domain_join_applications.html +++ b/packages/ui-default/templates/domain_join_applications.html @@ -3,7 +3,7 @@ {% if joinSettings %}
-

{{ _('Information') }}

+

{{ _('Information') }}

{{ _('User can join this domain by visiting the following URL') }}:

@@ -23,7 +23,7 @@

{{ _('Information') }}

{% endif %}
-

{{ _('Settings') }}

+

{{ _('Settings') }}

{% if rolesWithText.length == 1 %}
diff --git a/packages/ui-default/templates/domain_permission.html b/packages/ui-default/templates/domain_permission.html index 91dec04..6098fdb 100644 --- a/packages/ui-default/templates/domain_permission.html +++ b/packages/ui-default/templates/domain_permission.html @@ -3,7 +3,7 @@
-

{{ _('{0}: Permissions').format(domain.name) }}

+

{{ _('Kathy: 权限').format(domain.name) }}

{% if roles.length == 3 %}
@@ -23,7 +23,7 @@

{{ _('{0}: Permissions').format(domain.name) }}

- + {%- for role in roles -%} {%- endfor -%} @@ -31,7 +31,7 @@

{{ _('{0}: Permissions').format(domain.name) }}

{%- for family, perms in PERMS_BY_FAMILY -%} - + {%- for perm in perms -%} @@ -47,7 +47,7 @@

{{ _('{0}: Permissions').format(domain.name) }}

{%- endfor -%} - + {%- for role in roles -%} diff --git a/packages/ui-default/templates/domain_role.html b/packages/ui-default/templates/domain_role.html index be8d2cc..dd3ea20 100644 --- a/packages/ui-default/templates/domain_role.html +++ b/packages/ui-default/templates/domain_role.html @@ -19,8 +19,8 @@

{{ _('Create Role') }}

-
-

{{ _('{0}: Roles').format(domain.name) }}

+
+

{{ _('Kathy: 角色').format(domain.name) }}

diff --git a/packages/ui-default/templates/domain_user.html b/packages/ui-default/templates/domain_user.html index 2c654ba..0e52404 100644 --- a/packages/ui-default/templates/domain_user.html +++ b/packages/ui-default/templates/domain_user.html @@ -47,8 +47,8 @@

{{ _('Set Role') }}

-
-

{{ _('{0}: Users').format(domain.name) }}

+
+

{{ _('Kathy: 用户').format(domain.name) }}

diff --git a/packages/ui-default/templates/home_domain.html b/packages/ui-default/templates/home_domain.html index 594a822..137e2ad 100644 --- a/packages/ui-default/templates/home_domain.html +++ b/packages/ui-default/templates/home_domain.html @@ -1,8 +1,8 @@ {% extends "layout/home_base.html" %} {% block home_content %}
-
-

{{ _('My Domains') }}

+
+

{{ _('My Domains') }}

{% if handler.user.hasPriv(model.builtin.PRIV.PRIV_CREATE_DOMAIN) %} {{ _('Create Domain') }} diff --git a/packages/ui-default/templates/home_files.html b/packages/ui-default/templates/home_files.html index de0f3b5..d1b3ae1 100644 --- a/packages/ui-default/templates/home_files.html +++ b/packages/ui-default/templates/home_files.html @@ -2,7 +2,7 @@ {% block home_content %}
-

{{ _('Files') }}

+

{{ _('Files') }}

diff --git a/packages/ui-default/templates/manage_config.html b/packages/ui-default/templates/manage_config.html index d25d41e..5d98233 100644 --- a/packages/ui-default/templates/manage_config.html +++ b/packages/ui-default/templates/manage_config.html @@ -6,7 +6,7 @@
- - - - + + + + {% include "partials/manage_user_priv.html" %} diff --git a/packages/ui-default/templates/partials/problem_list.html b/packages/ui-default/templates/partials/problem_list.html index 9233e9f..4819b04 100644 --- a/packages/ui-default/templates/partials/problem_list.html +++ b/packages/ui-default/templates/partials/problem_list.html @@ -12,7 +12,7 @@ {% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %} - + {% endif %} diff --git a/packages/ui-default/templates/partials/setting.html b/packages/ui-default/templates/partials/setting.html index 436793c..9175bee 100644 --- a/packages/ui-default/templates/partials/setting.html +++ b/packages/ui-default/templates/partials/setting.html @@ -1,7 +1,7 @@ {%- for family, family_settings in settings|groupby('family') -%}{%- if family != 'setting_storage' %} -
-

{{ _(family) }}

+
+

{{ _(family) }}

{%- for setting in family_settings -%}
{{ _('Permissions') }}{{ _('Permissions') }}{{ role._id }}
{{ _(family) }}
{{ _(family) }}
{{ _(perm.desc) }}
placeholder
placeholder
placeholder
{{ _('User ID') }}{{ _('Username') }}{{ _('Privilege') }} - {{ _('Value') }}{{ _('Actions') }}{{ _('User ID') }}{{ _('Username') }}{{ _('Privilege') }} + {{ _('Value') }}{{ _('Actions') }}