mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2025-03-26 05:37:02 +00:00
Compare commits
3 Commits
27387a0dea
...
bdd44e7fb8
Author | SHA1 | Date | |
---|---|---|---|
bdd44e7fb8 | |||
c624d2ceee | |||
f8966c2b26 |
@ -36,10 +36,10 @@ EOD;
|
||||
$config = array();
|
||||
$config['table_classes'] = array('table', 'table-hover');
|
||||
|
||||
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
||||
$config['div_classes'] = array('card', 'my-3');
|
||||
$config['table_classes'] = array('table', 'uoj-table', 'mb-0');
|
||||
}
|
||||
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
||||
$config['div_classes'] = array('card', 'my-3');
|
||||
$config['table_classes'] = array('table', 'uoj-table', 'mb-0');
|
||||
}
|
||||
?>
|
||||
<?php echoUOJPageHeader(UOJLocale::get('blogs')) ?>
|
||||
|
||||
|
@ -156,7 +156,9 @@
|
||||
</div>
|
||||
|
||||
<?php if (Auth::check()): ?>
|
||||
<?php uojIncludeView('sidebar') ?>
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<?php uojIncludeView('sidebar') ?>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
|
||||
<div class="card card-default mb-2">
|
||||
|
@ -131,18 +131,6 @@ mb-4" role="navigation">
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<hr class="d-lg-none text-muted">
|
||||
<ul class="nav navbar-nav ms-md-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#" id="back-to-bs4">
|
||||
<i class="bi bi-sign-turn-left"></i>
|
||||
返回旧版
|
||||
</a>
|
||||
<script>
|
||||
$('#back-to-bs4').click(function() {
|
||||
$.cookie('bootstrap4', '1', { expires: 7, path: '/' });
|
||||
location.reload();
|
||||
});
|
||||
</script>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="bi bi-translate"></i>
|
||||
|
@ -13,6 +13,14 @@
|
||||
<a class="text-decoration-none" href="<?= HTML::url('/') ?>">S2OJ</a>
|
||||
(build: <a class="text-decoration-none" href="https://github.com/renbaoshuo/S2OJ<?= UOJConfig::$data['profile']['s2oj-version'] == "dev" ? '' : '/tree/' . UOJConfig::$data['profile']['s2oj-version'] ?>"><?= UOJConfig::$data['profile']['s2oj-version'] ?></a>)
|
||||
<?= UOJLocale::get('server time') ?>: <?= UOJTime::$time_now_str ?>
|
||||
|
|
||||
<a class="text-decoration-none" href="#" id="back-to-bs4">返回旧版</a>
|
||||
<script>
|
||||
$('#back-to-bs4').click(function() {
|
||||
$.cookie('bootstrap4', '1', { expires: 7, path: '/' });
|
||||
location.reload();
|
||||
});
|
||||
</script>
|
||||
</p>
|
||||
<p>
|
||||
Based on
|
||||
|
Loading…
x
Reference in New Issue
Block a user