From bd79eebb44eaf4e38878a999561e9a4c4c96e7a7 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 24 Sep 2022 08:13:39 +0800 Subject: [PATCH] refactor: submissions_list with bs5 --- web/app/controllers/submissions_list.php | 42 ++++++++++++-- web/app/libs/uoj-html-lib.php | 36 ++++++++++-- web/app/models/Paginator.php | 71 +++++++++++++++++++++--- web/css/uoj-bs5.css | 39 ++++++++++++- 4 files changed, 170 insertions(+), 18 deletions(-) diff --git a/web/app/controllers/submissions_list.php b/web/app/controllers/submissions_list.php index 6ba48c1..974ef1a 100644 --- a/web/app/controllers/submissions_list.php +++ b/web/app/controllers/submissions_list.php @@ -37,6 +37,8 @@ } else { $cond = '1'; } + + $REQUIRE_LIB['bootstrap5'] = ''; ?>
@@ -46,21 +48,37 @@