From b532a5d319d499589a87caa7c5cdf82bd342715b Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Fri, 14 Oct 2022 16:19:59 +0800 Subject: [PATCH] feat(web/problem/statistics): drop bs4 --- web/app/controllers/problem_statistics.php | 80 +++++++--------------- 1 file changed, 24 insertions(+), 56 deletions(-) diff --git a/web/app/controllers/problem_statistics.php b/web/app/controllers/problem_statistics.php index f1b5331..cc2a11a 100644 --- a/web/app/controllers/problem_statistics.php +++ b/web/app/controllers/problem_statistics.php @@ -7,9 +7,7 @@ become404Page(); } - if (!isset($_COOKIE['bootstrap4'])) { - $REQUIRE_LIB['bootstrap5'] = ''; - } + requireLib('bootstrap5'); $contest = validateUInt($_GET['contest_id']) ? queryContest($_GET['contest_id']) : null; if ($contest != null) { @@ -78,12 +76,9 @@ ?> -