-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
executable file
·334 lines (314 loc) · 15.6 KB
/
index.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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="Xiaoxing Ye, Computer @nd Comity">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<title>Website Collection for CUHK-Shenzhen</title>
<!-- Bootstrap core CSS -->
<link href="dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="album.css" rel="stylesheet">
</head>
<body>
<section class="jumbotron text-xs-center">
<div class="container">
<img src="final-transparent.png" style="position: absolute;opacity: 0;filter: alpha(opacity=0); " />
<h1 class="jumbotron-heading">Website Collection for CUHK-Shenzhen</h1>
<p class="lead text-muted"> </p>
<div class="form-group row">
<div class="">
<div class="input-group">
<div class="input-group-btn">
<button id="what-to-search" type="button" class="btn btn-secondary btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Google</button>
<div class="dropdown-menu">
<a class="dropdown-item" id="search-google">Google</a>
<a class="dropdown-item" id="search-wikipedia-en">Wikipedia EN</a>
<a class="dropdown-item" id="search-wikipedia-cn">Wikipedia CN</a>
<a class="dropdown-item" id="search-library">Library</a>
</div>
</div>
<form id="form"><input hidden type="submit">
<input type="search" id="searching" class="form-control form-control-sm" aria-label="Search" placeholder="Do some search?"></form>
<span class="input-group-btn">
<button class="btn btn-primary btn-sm" type="button" id="search">Search</button>
</span>
</div>
</div>
</div>
<div class="row">
<div class="text-muted">
Links with a star(*) need campus network.
</div>
</div>
</div>
</section>
<div class="album text-muted">
<div class="container">
<div class="row">
<div class="col-md-5 col-md-offset-1">
<div class="card">
<div class="card-block">
<h4 class="card-title">Room Booking</h4>
<p class="card-text">Choose the kind of room you want to book.</p>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="https://librooms.cuhk.edu.cn" class="card-link">Library Group Study Room *</a></li>
<li class="list-group-item"><a href="http://i.cuhk.edu.cn/views/cbmapp/form/sitereservation" class="card-link">Other Room in Campus</a></li>
</ul>
</div>
</div>
<div class="col-md-5">
<div class="card">
<div class="card-block">
<h4 class="card-title">E-Learning</h4>
<p class="card-text">Useful for learning in CUHK(SZ)</p>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="https://bb.cuhk.edu.cn" class="card-link">BlackBoard</a></li>
<li class="list-group-item"><a href="https://outlook.office.com/owa/" class="card-link">Students Email</a></li>
<li class="list-group-item"><a href="http://sis.cuhk.edu.cn:81/psp/csprd/?cmd=login" class="card-link">Student Information System *</a></li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col-md-5 col-md-offset-1">
<div class="card">
<div class="card-block">
<h4 class="card-title">Campus Service</h4>
<p class="card-text">Service offered by the campus.</p>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="https://cloudprint.cuhk.edu.cn" class="card-link">Cloud Printing *</a></li>
<li class="list-group-item"><a href="https://vpn.cuhk.edu.cn/" class="card-link">Cisco Anyconnect VPN</a></li>
<li class="list-group-item"><a href="https://www.cuhk.edu.cn/en/page/46" class="card-link">Academic Calendar</a></li>
<li class="list-group-item"><a href="https://myid.cuhk.edu.cn/" class="card-link">Change CUHK(SZ) Password</a></li>
</ul>
</div>
</div>
<div class="col-md-5">
<div class="card">
<div class="card-block">
<h4 class="card-title">E-Resources</h4>
<p class="card-text">E-Resources offered/bought by the Library.</p>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="http://www.cnki.net/" class="card-link">CNKI</a></li>
<li class="list-group-item"><a href="https://www.jstor.org/" class="card-link">JSTOR</a></li>
<li class="list-group-item"><a href="http://www.duxiu.com/" class="card-link">读秀学术搜索</a></li>
<li class="list-group-item"><a href="http://www.cuhk.edu.cn/library/e_resources.html" class="card-link">Other e-resources</a></li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col-md-5 col-md-offset-1">
<div class="card">
<div class="card-block">
<h4 class="card-title">External Resources</h4>
<p class="card-text">External websites recommended.</p>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="https://www.github.com" class="card-link">GitHub</a></li>
<li class="list-group-item"><a href="https://stackoverflow.com" class="card-link">StackOverflow</a></li>
<li class="list-group-item"><a href="https://www.wolframalpha.com/" class="card-link">Wolfram|Alpha</a></li>
<li class="list-group-item"><a href="https://qianjian.space" class="card-link">浅见 (Qianjian) - 为 CUHK 而生的自媒体</a></li>
<li class="list-group-item"><a href="http://www.zhihu.com" class="card-link">Zhihu</a></li>
<li class="list-group-item"><a href="http://music.163.com" class="card-link">NetEase Music</a></li>
<li class="list-group-item"><a href="http://www.bilibili.com" class="card-link">Bilibili</a></li>
<li class="list-group-item"><a href="https://www.youtube.com" class="card-link">YouTube</a></li>
</ul>
</div>
</div>
<div class="col-md-5">
<div class="card">
<div class="card-block">
<h4 class="card-title">Social Media</h4>
<p class="card-text">Social media accounts of CUHK(SZ).</p>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="https://www.cuhk.edu.cn" class="card-link">CUHK(SZ) Official Website</a></li>
<li class="list-group-item"><a href="https://www.instagram.com/cuhksz/" class="card-link">CUHK(SZ) Instagram</a></li>
<li class="list-group-item"><a href="https://www.facebook.com/cuhksz" class="card-link">CUHK(SZ) Facebook</a></li>
<li class="list-group-item"><a data-toggle="modal" data-target="#myModal-wc" class="card-link">CUHK(SZ) Wechat</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<footer class="text-muted">
<div class="container">
<p class="pull-xs-right">
<a href="#">Back to top</a>
</p>
<p>By Computer @nd Comity, CUHK-Shenzhen<br>
Last Update:
<a href="https://github.com/computercomity/website-nav">GitHub</a></p>
</div>
</footer>
<!-- Classroom booking guide -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="myModalLabel">How to book a classroom?</h4>
</div>
<div class="modal-body">
You need to book via <a href="https://i.cuhk.edu.cn">CUHK-Shenzhen Portal</a>.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Password guide
<div class="modal fade" id="myModal-pw" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="myModalLabel">How to change my password?</h4>
</div>
<div class="modal-body">
<p>If you are in campus or using VPN, click <a href="https://rds.cuhk.edu.cn/rdweb/pages/zh-CN/password.aspx" class="card-link">Change CUHK(SZ) Password</a>.</p>
<p><a href="http://mail.cuhk.edu.cn/owa/auth/changepassword.aspx" class="card-link">Change CUHK(SZ) Password</a> if you are not in campus.</p>
<p>
Please be noted that, you need to change your password every 90 days, otherwises you will be unable to access your CUHK(SZ) account until the password has been reset.<br> The password should not be the same as passwords used last 3 times.<br> At least 8 characters long, and the following 4 types of characters should be included.
<ul>
<li>Uppercase letters (A, B, C, ...)</li>
<li>Lowercase letters (a, b, c, ...)</li>
<li>Numbers (1,2,3,.....)</li>
<li>Special characters (! @, #,...)</li>
</ul>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>-->
<!-- Wechat -->
<div class="modal fade" id="myModal-wc" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="myModalLabel">CUHK(SZ) Wechat Accounts</h4>
</div>
<div class="modal-body">
<p>
The following ids are wechat public accounts of CUHK(SZ). Search then and add them!
<ul>
<li>CUHK(SZ): <a href="weixin://profile/cuhksz2014">cuhksz2014</a></li>
<li>CUHK(SZ) SME: <a href="weixin://profile/cuhkszsme">cuhkszsme</a></li>
<li>CUHK(SZ) SSE: <a href="weixin://profile/cuhksz-sse">cuhksz-sse</a></li>
<li>CUHK(SZ) HSS: <a href="weixin://profile/cuhkszshss">cuhkszshss</a></li>
<li>CUHK(SZ) OSA: <a href="weixin://profile/cuhkszosa">cuhkszosa</a></li>
<li>CUHK(SZ) Students Union: <a href="weixin://profile/CUHKSZStudentUnion">CUHKSZStudentUnion</a></li>
<li>Academic Department, CUHK(SZ) Students Union: <a href="weixin://profile/CUHKSZAD">CUHKSZAD</a></li>
<li>CUHK(SZ) Admissions Office: <a href="weixin://profile/CUHKSZ_AO">CUHKSZ_AO</a></li>
</ul>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="assets/js/vendor/jquery.min.js"></script>
<script>
var search_option = "google";
$(document).ready(function() {
$("#search-google").click(function() {
search_option = "google";
$("#what-to-search").html("Google");
});
$("#search-library").click(function() {
search_option = "library";
$("#what-to-search").html("Library");
});
$("#search-wikipedia-en").click(function() {
search_option = "wikipedia-en";
$("#what-to-search").html("Wikipedia EN");
});
$("#search-wikipedia-cn").click(function() {
search_option = "wikipedia-cn";
$("#what-to-search").html("Wikipedia CN");
});
function open_url(url) {
var redirectWindow = window.open(url, '_blank');
redirectWindow.location;
}
$("#form").submit(function() {
$("#search").click();
})
$("#search").click(function() {
var searching = $("#searching").val();
console.log(search_option);
console.log(searching);
switch (search_option) {
case "google":
open_url("https://www.google.com/search?q=" + searching);
break;
case "wikipedia-en":
open_url("https://en.wikipedia.org/w/index.php?title=Special%3ASearch&go=Go&search=" + searching);
break;
case "wikipedia-cn":
open_url("https://zh.wikipedia.org/w/index.php?title=Special:搜索&fulltext=搜索&search=" + searching);
break;
case "library":
open_url("http://cuhksz-edu-primo.hosted.exlibrisgroup.com/primo_library/libweb/action/dlSearch.do?institution=86CUHKSZ&vid=86CUHKSZ&search_scope=default_scope&onCampus=false&group=GUEST&pcAvailabiltyMode=true&query=any,contains," + searching);
break;
default:
$.pass();
break;
}
});
})
</script>
<script src="dist/js/bootstrap.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-84544688-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>