improve front page

This commit is contained in:
Dict Xiong 2023-05-17 11:52:10 +08:00
parent 631da6652a
commit 4ece102919

View File

@ -42,14 +42,14 @@
<script src="https://tools.beardic.cn/js/pagemap.min.js"></script> <script src="https://tools.beardic.cn/js/pagemap.min.js"></script>
<script src="https://tools.beardic.cn/js/page.js"></script> <script src="https://tools.beardic.cn/js/page.js"></script>
<title>ibd.ink / mirrors</title> <title>Status of Mirrors</title>
</head> </head>
<body> <body>
<section class="container md-shadow"> <section class="container md-shadow">
<article> <article>
<header> <header>
<h1>ibd.ink / mirrors: Status</h1> <h1><span id="hostname"></span>/mirrors: status</h1>
</header> </header>
<table align="center"> <table align="center">
<thead> <thead>
@ -70,6 +70,7 @@
</section> </section>
<script> <script>
$("#hostname").text(window.location.hostname);
$.get("index", function(data){ $.get("index", function(data){
const list = data.split('\n') const list = data.split('\n')
for (i in list) { for (i in list) {