Window / index.html
Aohanah's picture
Update index.html
25f1b3d verified
raw
history blame
1.65 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: #00B4F4;
color: #fff;
text-decoration: none;
border-radius: 5px;
width: 200px; /* 设置按钮的固定宽度 */
}
.btn:hover {
background-color: #008CBA;
}
.btn.gray {
background-color: #808080; /* 修改第三个按钮的颜色为灰色 */
}
</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>
<a class="btn gray">Definitive diagnosis module is being deployed.</a> <!-- 添加了 "gray" 类 -->
</div>
<script>
function customRedirect(url) {
//window.location.href = url;
window.open(url);
}
</script>
</body>
</html>