From edc98d5c354d46c622c32e128f848429c355d49c Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Mon, 5 Dec 2022 16:25:14 +0800 Subject: [PATCH] fix(web/problem): tag in problem info card --- web/app/controllers/problem.php | 10 +++++----- web/app/controllers/problem_solutions.php | 10 +++++----- web/app/controllers/problem_statistics.php | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/web/app/controllers/problem.php b/web/app/controllers/problem.php index 88c8acb..0bb6425 100644 --- a/web/app/controllers/problem.php +++ b/web/app/controllers/problem.php @@ -406,11 +406,11 @@ if (UOJContest::cur()) { 标签 queryTags() as $tag) : ?> - - - - - + 'uoj-problem-tag'], + HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag)) + ) ?> diff --git a/web/app/controllers/problem_solutions.php b/web/app/controllers/problem_solutions.php index 66c69fc..71ef636 100644 --- a/web/app/controllers/problem_solutions.php +++ b/web/app/controllers/problem_solutions.php @@ -269,11 +269,11 @@ $pag = new Paginator($pag_config); 标签 queryTags() as $tag) : ?> - - - - - + 'uoj-problem-tag'], + HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag)) + ) ?> diff --git a/web/app/controllers/problem_statistics.php b/web/app/controllers/problem_statistics.php index 8e9844e..d87c49b 100644 --- a/web/app/controllers/problem_statistics.php +++ b/web/app/controllers/problem_statistics.php @@ -341,11 +341,11 @@ $submissions_sort_by_choice = !isset($_COOKIE['submissions-sort-by-code-length'] 标签 queryTags() as $tag) : ?> - - - - - + 'uoj-problem-tag'], + HTML::tag('span', ['class' => 'badge bg-secondary'], HTML::escape($tag)) + ) ?>