From 132b3199b1daaa2ae6686820ea6ad4e121cc2737 Mon Sep 17 00:00:00 2001 From: zhangke <691259026@qq.com> Date: Fri, 8 Sep 2023 15:23:10 +0800 Subject: [PATCH 1/2] Modify contest detail style --- packages/ui-default/pages/contest.page.styl | 3 +++ packages/ui-default/templates/contest_detail.html | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/packages/ui-default/pages/contest.page.styl b/packages/ui-default/pages/contest.page.styl index 1b00388..8e937c2 100644 --- a/packages/ui-default/pages/contest.page.styl +++ b/packages/ui-default/pages/contest.page.styl @@ -195,3 +195,6 @@ $highlight-button-color = #F6DF45 .page--contest_user .col--uid width: rem(100px) + +.problem__tag-item a + color: white \ No newline at end of file diff --git a/packages/ui-default/templates/contest_detail.html b/packages/ui-default/templates/contest_detail.html index 1a8ee82..f95f44c 100644 --- a/packages/ui-default/templates/contest_detail.html +++ b/packages/ui-default/templates/contest_detail.html @@ -12,14 +12,14 @@
Tip: You are entering sudo mode.
-After you've performed a sudo-protected action, you'll only be asked to re-authenticate again after a few hours of inactivity.
+{{_('Tip')}}: {{_('You are entering')}} {{_('sudo mode')}}
+{{_("After you've performed a sudo-protected action, you'll only be asked to re-authenticate again after a few hours of inactivity.")}}
{{ _('Or use other methods:') }}