Window / index.html
Aohanah's picture
Update index.html
6b3bb3a verified
raw
history blame
1.5 kB
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Multi-Glau</title>
<style>
body {
text-align: center;
}
.card {
margin: 20px auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
max-width: 400px;
}
.btn {
display: inline-block;
margin: 10px;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
text-decoration: none;
border-radius: 5px;
}
.btn:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="card">
<h1>Multi-Glau</h1>
<p>Welcome to Multi-Glau! Please click on the required model to proceed to the next step.</p>
<a href="javascript:void(0)" onclick="customRedirect('https://huggingface.co/spaces/Aohanah/Exp1')" class="btn">Screening module</a>
<a href="javascript:void(0)" onclick="customRedirect('https://huggingface.co/spaces/Aohanah/Exp2')" class="btn">Pre-Diagnosis Module</a>
</div>
<script>
function customRedirect(url) {
// 在这里定义您想要的跳转行为,这里我们替换当前窗口
//window.location.href = url; // 替换当前窗口
// 如果您想在新窗口打开链接,可以使用以下代码:
window.open(url);
}
</script>
</body>
</html>