chore(web): display icp

This commit is contained in:
Baoshuo Ren 2022-10-22 19:39:15 +08:00
parent 5758789df4
commit 236a152f51
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -13,14 +13,11 @@
<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>
<?php if (UOJConfig::$data['profile']['ICP-license'] != ''): ?>
| <a class="text-muted text-decoration-none" target="_blank" href="https://beian.miit.gov.cn">
<?= UOJConfig::$data['profile']['ICP-license'] ?>
</a>
<?php endif ?>
</p>
<p>
Based on