-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
61 lines (55 loc) · 1.44 KB
/
home.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<title>Login Page</title>
<style>
body {
background-color: #f2f2f2;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
text-align: center;
}
h1 {
color: #333;
font-size: 24px;
margin-bottom: 20px;
}
button {
background-color: #4CAF50;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
margin-right: 10px;
}
button:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="container">
<h1>学生学籍管理系统</h1>
<button onclick="adminLogin()">Administrator Login</button>
<button onclick="studentLogin()">Student Login</button>
</div>
<script>
function adminLogin() {
window.location.href = "/admin_system/"; // 替换为管理员登录的URL
}
function studentLogin() {
window.location.href = "/stu_system/"; // 替换为学生登录的URL
}
</script>
</body>
</html>