From 781d1183badd8287c4c8582dc2e2954cddbcb8bf Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 27 Dec 2022 11:23:44 +0800 Subject: [PATCH] chore(web/contest/problem): hide tags and difficulty in contest --- web/app/controllers/problem.php | 74 +++++++++++++++++---------------- 1 file changed, 38 insertions(+), 36 deletions(-) diff --git a/web/app/controllers/problem.php b/web/app/controllers/problem.php index cf6678c..d9ef9c6 100644 --- a/web/app/controllers/problem.php +++ b/web/app/controllers/problem.php @@ -392,48 +392,50 @@ if (UOJContest::cur()) { getUploaderLink() ?> -
  • - - - - - getDifficultyHTML() ?> - -
  • - + progress() >= CONTEST_FINISHED) : ?>
  • - + - UOJProblem::info('id'), "submitter" => Auth::id()]]) ?> + + getDifficultyHTML() ?> + +
  • + +
  • + + + + UOJProblem::info('id'), "submitter" => Auth::id()]]) ?> - - - + + + +
  • + +
  • + + + + + + + + + + + + + queryTags() as $tag) : ?> + 'uoj-problem-tag'], + HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag)) + ) ?> + +
  • -
  • - - - - - - - - - - - - - queryTags() as $tag) : ?> - 'uoj-problem-tag'], - HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag)) - ) ?> - - -