feat(web/ranklist): drop bs4

This commit is contained in:
Baoshuo Ren 2022-10-14 16:21:50 +08:00
parent b532a5d319
commit c77c40c341
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -14,12 +14,12 @@
become404Page();
}
if (!isset($_COOKIE['bootstrap4'])) {
$REQUIRE_LIB['bootstrap5'] = '';
requireLib('bootstrap5');
$config['div_classes'] = array('card', 'mb-3');
$config['table_classes'] = array('table', 'uoj-table', 'mb-0', 'text-center');
}
$config = [
'div_classes' => ['card', 'mb-3'],
'table_classes' => ['table', 'uoj-table', 'mb-0', 'text-center'],
];
?>
<?php echoUOJPageHeader($title) ?>
<h1 class="h2"><?= $title ?></h1>