mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-26 04:28:41 +00:00
chore: move "back to bs4" button
This commit is contained in:
parent
f8966c2b26
commit
c624d2ceee
@ -131,18 +131,6 @@ mb-4" role="navigation">
|
|||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<hr class="d-lg-none text-muted">
|
<hr class="d-lg-none text-muted">
|
||||||
<ul class="nav navbar-nav ms-md-auto">
|
<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">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
<i class="bi bi-translate"></i>
|
<i class="bi bi-translate"></i>
|
||||||
|
@ -13,6 +13,14 @@
|
|||||||
<a class="text-decoration-none" href="<?= HTML::url('/') ?>">S2OJ</a>
|
<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>)
|
(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 ?>
|
<?= 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>
|
||||||
<p>
|
<p>
|
||||||
Based on
|
Based on
|
||||||
|
Loading…
Reference in New Issue
Block a user