126 lines
3.7 KiB
HTML
126 lines
3.7 KiB
HTML
<!doctype html>
|
|
|
|
<head>
|
|
<title>小爱的网站</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />
|
|
<meta name="color-scheme" content="light" />
|
|
<style>
|
|
* {
|
|
font-family: "JetBrains Mono", monospace;
|
|
}
|
|
|
|
:root {
|
|
--footer-height: 80px;
|
|
color-scheme: light;
|
|
}
|
|
|
|
body {
|
|
background-color: #ececec;
|
|
}
|
|
|
|
.main-title {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
footer {
|
|
height: var(--footer-height);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
background-color: #ececec;
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
border-top: 1px solid #939494;
|
|
}
|
|
|
|
.filing-container {
|
|
width: 100%;
|
|
display: flex;
|
|
margin-top: 5px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.main-container {
|
|
padding-bottom: var(--footer-height);
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
window.onload = () => {
|
|
fetch("./website-update-logs.json")
|
|
.then(res => {
|
|
return res.json()
|
|
})
|
|
.then(data => {
|
|
for (let i = 0; i < data.length; i++) {
|
|
const date = data[i]["date"]
|
|
const detail = data[i]["detail"]
|
|
const liEle = document.createElement("li")
|
|
const listEle = document.getElementById("update-list")
|
|
|
|
liEle.innerText = `${date}: ${detail}`
|
|
listEle.appendChild(liEle)
|
|
}
|
|
})
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="main-container">
|
|
<div class="main-title">公开子站点</div>
|
|
<ul>
|
|
<li>API: <a href="https://api.cancerai.top" target="_blank">https://api.cancerai.top</a></li>
|
|
<li>资源站: <a href="https://assets.cancerai.top" target="_blank">https://assets.cancerai.top</a></li>
|
|
</ul>
|
|
<hr>
|
|
|
|
<div class="main-title">Linux 换软件源</div>
|
|
<ul>
|
|
<li>
|
|
debian12 (x86_64): <a
|
|
href="https://assets.cancerai.top/linux-repo/debian_12_x86-64/how_to_use.txt" target="_blank">How to use</a>
|
|
</li>
|
|
|
|
<li>
|
|
debian13 (arm64): <a
|
|
href="https://assets.cancerai.top/linux-repo/debian_13_arm64/how_to_use.txt" target="_blank">How to use</a>
|
|
</li>
|
|
<br>
|
|
</ul>
|
|
<hr>
|
|
|
|
<div class="main-title">个人git仓库地址</div>
|
|
<ul>
|
|
<li>https://git.cancerai.top/cancerai</li>
|
|
<li>https://github.com/CancerXiaoAi</li>
|
|
<li>https://gitee.com/cancerai</li>
|
|
</ul>
|
|
<p></p>
|
|
<hr>
|
|
|
|
<div class="main-title">更新日志</div>
|
|
<ul id="update-list">
|
|
</ul>
|
|
</div>
|
|
|
|
<footer>
|
|
<div class="filing-container">
|
|
<a href="https://beian.miit.gov.cn/" target="_blank">沪ICP备2026028815号-1</a>
|
|
</div>
|
|
|
|
<div class="filing-container" style="margin-top: 5px;">
|
|
<img src="./filing_icon.png" width="20px" height="20px" />
|
|
<div style="width: 10px;"></div>
|
|
<a href="https://beian.mps.gov.cn/#/query/webSearch?code=31011702891982" rel="noreferrer"
|
|
target="_blank">沪公网安备31011702891982号</a>
|
|
</div>
|
|
</footer>
|
|
</body> |