This repository was archived by the owner on Jan 1, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
130 lines (127 loc) · 5.65 KB
/
index.html
File metadata and controls
130 lines (127 loc) · 5.65 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=https://calcourse.huanzhimao.com/" />
</head>
<body>
<script type="text/javascript">
// If JavaScript is enabled, this will override the meta refresh
window.location.href = "https://calcourse.huanzhimao.com/";
</script>
</body>
</html>
<!-- Below is the old frontend code, commented out to redirect to new site -->
<!-- <!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Cal Course</title>
<link rel="shortcut icon" href="assets/favicon.png">
<link rel="stylesheet" type="text/css" href="styles/style.css"></link>
<script src="scripts/jquery-3.5.0.min.js"></script>
<script src="scripts/qrcode.min.js"></script>
<script src="https://accounts.google.com/gsi/client" async defer></script>
<div id="g_id_onload"
data-client_id="250149314571-jen9j3rq3bsds17t8ot35g4efd66gt54.apps.googleusercontent.com"
data-callback="handleCredentialResponse"
data-cancel_on_tap_outside="false">
</div>
<script src="scripts/index.js?v=3"></script>
</head>
<body>
<div id="main-container">
<h1 id="title"><a href="index.html">Cal Course</a></h1>
<div id="filter-container" class="deferred">
<input id="search-input" class="deferred" placeholder="搜索课号"/>
<div id="term-container"></div>
</div>
<div id="wechat-message" class="hidden">
请复制链接在浏览器中打开。
</div>
<div id="login-wrapper" class="hidden">
<div id="login-description">我们需要验证你的学生身份</div>
<div class="hr"></div>
<input type="radio" id="email-login-radio" name="login-type" />
<input type="radio" id="google-login-radio" name="login-type" />
<div class="auth-option-wrapper">
<label class="auth-option" for="email-login-radio" onclick="toggleEmailAuth();">edu邮箱验证码</label>
<label class="auth-option" for="google-login-radio" onclick="toggleGoogleAuth();">Google登录</label>
</div>
<div id="email-auth-wrapper" class="auth-wrapper">
<div>
<input id="email-input" autocomplete="off" autocapitalize="off"
spellcheck="false" maxlength="30" placeholder="oskibear@berkeley.edu"/>
<a href="#" id="email-code-button">获取</a>
<div id="email-code-ani" class="load-ani-small">
<div></div><div></div><div></div><div></div>
</div>
</div>
<div>
<input id="email-code-input" autocomplete="off" autocapitalize="off"
spellcheck="false" maxlength="6" placeholder="请输入验证码"/>
<a href="#" id="email-login-button">登录</a>
<div id="email-login-ani" class="load-ani-small">
<div></div><div></div><div></div><div></div>
</div>
</div>
</div>
<div id="google-auth-outer-wrapper">
<div id="google-auth-wrapper" class="auth-wrapper">
<div id="google-login-button" class="g_id_signin" data-width=200>
</div>
</div>
</div>
</div>
<div id="card-container">
</div>
<div id="footer">
<div>
<button class="button small-button about-toggle">
<div>👥</div>
</button>
<button class="button small-button cookies-toggle">
<div>🍪</div>
</button>
<button class="button small-button help-toggle">
<div>?</div>
</button>
</div>
</div>
</div>
<div id="about-container" class="hidden">
<p class="about-title">
<strong>Made with 💙💛💙 by ... </strong><br />
</p>
<p>
<strong>Prototype</strong><br />
-T.K.-
</p>
<p>
<strong>Front End | 前端</strong><br />
Ruohan Yan, Yuanhan Li, Ruomu Xu, Charlie Cheng-Jie Ji
</p>
<p>
<strong>Full Stack & Maintenance | 全栈 & 技术维护</strong><br />
Huanzhi Mao
</p>
<p>
<strong>Special Thanks | 特别鸣谢</strong><br />
Shufan Li, Uncertainty. CC
</p>
<p>
<strong>Contact Us | 联系我们</strong><br />
<a href="mailto:huanzhimao@berkeley.edu">huanzhimao@berkeley.edu</a>
</p>
<button class="button small-button about-toggle"><div>✔︎</div></button>
</div>
<div id="cookies-container" class="hidden">
<div id="cookies-page-container"></div>
<button class="button small-button cookies-toggle"><div>✔︎</div></button>
</div>
<div id="help-container" class="hidden">
<div id="help-page-container"></div>
<button class="button small-button help-toggle"><div>✔︎</div></button>
</div>
</body>
</html> -->