mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
feat: add xcpcio
This commit is contained in:
8 files changed
+241
-26
No files matched your search
@@ -0,0 +1,33 @@
|
||||
{% set page_name = 'contest_scoreboard_xcpcio' %}
|
||||
{% extends "layout/basic.html" %}
|
||||
{% block content %}
|
||||
<script>
|
||||
function normalizePath(_) {
|
||||
for (; _.endsWith("/");)_ = _.slice(0, -1);
|
||||
return `${_}/`;
|
||||
}
|
||||
window.CDN_HOST = "/";
|
||||
window.__toAssetUrl = url => window.CDN_HOST + url;
|
||||
window.DATA_HOST = "/";
|
||||
window.DATA_REGION = "CN";
|
||||
window.DEFAULT_LANG = "{{ 'zh-CN' if _('__id').startsWith('zh') else 'en' }}";
|
||||
window.DATA_SOURCE = "{{ dataSource }}";
|
||||
if (document.documentElement.classList.contains("theme--dark")) document.documentElement.classList.toggle("dark", !0);
|
||||
setInterval(() => {
|
||||
const location = window.location.href;
|
||||
if (location.includes("%2F")) {
|
||||
window.history.replaceState(null, "", location.replace(/%2F/g, "/"));
|
||||
}
|
||||
}, 500);
|
||||
</script>
|
||||
<style>
|
||||
#app .nav, .omnibar-toggle { display: none; }
|
||||
table { border-spacing: 2px; }
|
||||
th { text-align: center; }
|
||||
td.unattempted, td.empty { background-color: transparent !important; }
|
||||
</style>
|
||||
<script type="module" crossorigin src="/assets/index-{{ js }}.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-{{ css }}.css">
|
||||
<div id="app"></div>
|
||||
<noscript>This website requires JavaScript to function properly. Please enable JavaScript tocontinue.</noscript>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user