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