mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 13:38:41 +00:00
feat: init bootstrap5
This commit is contained in:
parent
a911142fe3
commit
7d9b043cb9
@ -41,13 +41,24 @@
|
||||
|
||||
<script type="text/javascript">uojHome = ''; // '<?= HTML::url('/') ?>'</script>
|
||||
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<!-- Bootstrap 5 (CSS) -->
|
||||
<?= HTML::css_link('/css/bootstrap5.min.css?v=5.2.1') ?>
|
||||
<!-- Bootstrap Icons -->
|
||||
<?= HTML::css_link('/css/bootstrap-icons.min.css?v=2022.9.23') ?>
|
||||
<?php else: ?>
|
||||
<!-- Bootstrap core CSS -->
|
||||
<?= HTML::css_link('/css/bootstrap.min.css?v=2019.5.31') ?>
|
||||
<!-- Bootstrap Glyphicons CSS-->
|
||||
<?= HTML::css_link('/css/bootstrap-glyphicons.min.css?v=2019.5.31') ?>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<?= HTML::css_link('/css/uoj-bs5.css?v=' . UOJConfig::$data['profile']['css-version']) ?>
|
||||
<?php else: ?>
|
||||
<!-- Custom styles for this template -->
|
||||
<?= HTML::css_link('/css/uoj-theme.css?v=' . UOJConfig::$data['profile']['s2oj-version']) ?>
|
||||
<?php endif ?>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap\'s JavaScript plugins) -->
|
||||
<?= HTML::js_src('/js/jquery.min.js') ?>
|
||||
@ -71,9 +82,13 @@
|
||||
<?= HTML::js_src('/js/jquery.tagcanvas.min.js') ?>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<?= HTML::js_src('/js/bootstrap5.bundle.min.js?v=2022.9.23') ?>
|
||||
<?php else: ?>
|
||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||
<?= HTML::js_src('/js/popper.min.js?v=2019.5.31') ?>
|
||||
<?= HTML::js_src('/js/bootstrap.min.js?v=2019.5.31') ?>
|
||||
<?php endif ?>
|
||||
|
||||
<!-- Color converter -->
|
||||
<?= HTML::js_src('/js/color-converter.min.js') ?>
|
||||
|
1
web/css/bootstrap-icons.min.css
vendored
Normal file
1
web/css/bootstrap-icons.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
web/css/bootstrap5.min.css
vendored
Normal file
6
web/css/bootstrap5.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
0
web/css/uoj-bs5.css
Normal file
0
web/css/uoj-bs5.css
Normal file
BIN
web/fonts/bootstrap-icons/bootstrap-icons.woff
Normal file
BIN
web/fonts/bootstrap-icons/bootstrap-icons.woff
Normal file
Binary file not shown.
BIN
web/fonts/bootstrap-icons/bootstrap-icons.woff2
Normal file
BIN
web/fonts/bootstrap-icons/bootstrap-icons.woff2
Normal file
Binary file not shown.
6
web/js/bootstrap5.bundle.min.js
vendored
Normal file
6
web/js/bootstrap5.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user