forked from ZJU-SE-G04/Teaching-Assistant-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
366 lines (341 loc) · 16.1 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
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>教学辅助系统</title>
<link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap.css">
<link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap-theme.css">
<link rel="stylesheet" href="css/content.css">
<!--<link rel="stylesheet" href="css/stu_learn.css">-->
<link rel="stylesheet" href="css/docs.css">
<!--<link rel="stylesheet" href="css/pt_pages.css">-->
<link rel="stylesheet" href="index/index.css">
<script src="jquery/jquery-3.1.1.js"></script>
<script src="bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<script src="bootstrap-3.3.7-dist/js/npm.js"></script>
<script src="jquery/jquery.cookie.js"></script>
<script src="index/index.js"></script>
</head>
<body>
<!--<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-sm">Small modal</button>-->
<div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
...
</div>
</div>
</div>
<div id="login_detail" class="modal fade" tabindex="-1" role="dialog" style="margin-top: 8%">
<div class="modal-dialog" role="document" style="width: 500px;">
<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">使用帐号登录</h4>
</div>
<div class="modal-body" style="padding-left: 60px; padding-right: 60px; padding-top: 20px;">
<form action="#" method="get" class="form-horizontal">
<div class="form-group">
<input type="text" class="form-control" id="id" placeholder="用户名">
</div>
<div class="form-group">
<input type="password" class="form-control" id="password" placeholder="密码">
</div>
<div class="form-group">
<div class="checkbox">
<!--<label>-->
<!--<input type="checkbox"> 记住我-->
<!--</label>-->
<a style="float: right" onclick="giveId()">忘记登录密码,取回密码</a>
</div>
</div>
<!---->
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="login()">登录</button>
</div>
<!---->
</form>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div id="fe_pwd_modal" class="modal fade" tabindex="-1" role="dialog" style="margin-top: 8%">
<div class="modal-dialog" role="document" style="width: 500px;">
<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">步骤1:输入用户名</h4>
</div>
<div class="modal-body" style="padding-left: 60px; padding-right: 60px; padding-top: 20px;">
<form action="#" id="fe_give_id" method="get" class="form-horizontal">
<div class="form-group">
<input type="text" class="form-control" id="fe_id" placeholder="用户名">
</div>
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="giveIdBa()" >上一步</button>
<button type="button" class="btn btn-primary" onclick="answerQuestion()" >下一步</button>
</div>
<!---->
</form>
<form action="#" id="fe_answer_question" method="get" class="form-horizontal">
<div id="fe_question">后端返回的问题</div>
<div class="form-group">
<input type="text" class="form-control" id="fe_answer" placeholder="回答">
</div>
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="answerQuestionBa()" >上一步</button>
<button type="button" class="btn btn-primary" onclick="verifyQuestion()" >下一步</button>
</div>
<!---->
</form>
<form action="#" id="reset_pwd" method="get" class="form-horizontal">
<div >请设置新密码</div>
<div class="form-group">
<input type="password" class="form-control" id="new_pwd" >
</div>
<div >再次输入新密码</div>
<div class="form-group">
<input type="password" class="form-control" id="re_new_pwd" >
</div>
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="resetPwd()" >确认</button>
</div>
<!---->
</form>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div id="note" class="modal fade" tabindex="-1" role="dialog" style="margin-top: 8%">
<div class="modal-dialog" role="document" style="width: 500px;">
<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">留言板</h4>
</div>
<div class="modal-body" style="padding-left: 60px; padding-right: 60px; padding-top: 20px;">
<form action="#" method="get" class="form-horizontal">
<div class="form-group">
<textarea class="form-control"></textarea>
</div>
<div class="form-group">
<button type="button" class="btn btn-primary" onclick="leaveNote()" >确认</button>
</div>
<!---->
</form>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<nav class="navbar navbar-inverse" style="margin-bottom: 0">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="navbar-brand" href=""#>
<img src="img/logo_no_text_small.png" alt="软件工程教学辅助系统" style="margin-top: -2mm;">
<div style="margin-left: 9mm;margin-top: -7mm">软件工程教学辅助系统</div>
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<!--<li><a href="#">Home <span class="sr-only">(current)</span></a></li>-->
<li><a href="file/网站指南.docx">网站指南</a></li>
<li><a href="#" data-toggle="modal" data-target="#note">我要留言</a></li>
<!--<li class="dropdown">-->
<!--<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"-->
<!--aria-expanded="false">Dropdown <span class="caret"></span></a>-->
<!--<ul class="dropdown-menu">-->
<!--<li><a href="#">Action</a></li>-->
<!--<li><a href="#">Another action</a></li>-->
<!--<li><a href="#">Something else here</a></li>-->
<!--<li role="separator" class="divider"></li>-->
<!--<li><a href="#">Separated link</a></li>-->
<!--<li role="separator" class="divider"></li>-->
<!--<li><a href="#">One more separated link</a></li>-->
<!--</ul>-->
<!--</li>-->
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="login"><a href="#" data-toggle="modal" data-target="#login_detail">登录</a></li>
<li id="info" class="dropdown" style="display: none;">
<a id="hello" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
aria-expanded="false">你好,谢俊西
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<!--<li style="margin-top: 2mm;"><a href="#">我的课程</a></li>-->
<!--<li><a href="#">设置</a></li>-->
<!--<li role="separator" class="divider"></li>-->
<li><a onclick="logout()">退出</a></li>
</ul>
</li>
</ul>
<!--<form class="navbar-form navbar-right">-->
<!--<div class="form-group">-->
<!--<input type="text" class="form-control" placeholder="搜索课程/文章标题">-->
<!--</div>-->
<!--<button type="submit" class="btn btn-default">搜索</button>-->
<!--</form>-->
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<!--
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators --
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides --
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="img/poster_1.jpg" alt="..." style="width: 100%;">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<img src="img/poster_2.jpg" alt="..." style="width: 100%;">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<img src="img/poster_3.jpg" alt="..." style="width: 100%;">
<div class="carousel-caption">
</div>
</div>
</div>
<!-- Controls --
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
-->
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="img/poster_1.jpg" alt="..." style="width: 100%;">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<img src="img/poster_2.jpg" alt="..." style="width: 100%;">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<img src="img/poster_3.jpg" alt="..." style="width: 100%;">
<div class="carousel-caption">
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<br>
<div class="u-cover">
<div class="wrap ">
<a data-id="ABCDE1" onclick="jumpToLesson(this)" class="wrap">
<div class="img">
<div class="pic f-pr">
<img src="img/course_01_thumb.png" alt="" class="imgPic">
</div>
<h3>软件需求工程</h3>
<div class="grey">刘卫 邢育森</div>
</div>
</a>
</div>
</div>
<div class="u-cover">
<div class="wrap ">
<a data-id="ABCDE2" onclick="jumpToLesson(this)" class="wrap">
<div class="img">
<div class="pic f-pr">
<img src="img/course_02_thumb.png" alt="" class="imgPic">
</div>
<h3>软件工程管理</h3>
<div class="grey">金波</div>
</div>
</a>
</div>
</div>
<div class="u-cover">
<div class="wrap ">
<a class="wrap no-underline">
<div class="img">
<div class="pic f-pr">
<img src="img/course_03_thumb.png" alt="" class="imgPic">
</div>
<h3>软件质量保证与测试</h3>
<div class="grey">呼啦圈 爱尔兰魔法师</div>
</div>
</a>
</div>
</div>
<!--
<div id="course-001" class="u-cover u-find-cover">
<div class="wrap f-cb">
<a href="#" class="j-href wrap">
<div class="img">
<div class="pic f-pr">
<img src="img/course_01_thumb.png" alt="" class="imgPic j-img">
</div>
<div class="tit">
<h3 class="f-thide">零基础发表SCI实践课</h3>
<div class="continued sign f-dn">老师参与</div>
<div class="continued sign foxconn2 f-dn"></div>
</div>
<div class="orgName f-fs0 f-thide">医学科研Jake</div>
<div class="thumb">
<div class="desc f-cb">
<span class="hot f-fs0">413</span>
</div>
<div class="btn f-pr btn2">
<span class="normal f-fs0">¥ 5000.00</span>
<span class="discount"></span>
</div>
</div>
<div class="f-dn"></div>
</div>
</a>
<div class="j-mask mask" style="display: none">
<div class="j-del delbtn"></div>
</div>
::after
</div>
</div>测试-->
<div id="footer">
<!--<a href="http://jwbinfosys.zju.edu.cn" target="_blank">浙江大学教务系统</a>-->
<!--<a href="http://cspo.zju.edu.cn" target="_blank">计算机科学与技术学院</a>-->
<!--<a href="http://www.cst.zju.edu.cn/">软件学院</a>-->
<!--<a href="http://zuits.zju.edu.cn">信息化服务</a>-->
<!--<a href="http://zjuem.zju.edu.cn">浙大邮箱</a>-->
<!--<a href="http://zuits.zju.edu.cn">信息化服务</a>-->
<!--<a href="http://zjuem.zju.edu.cn">浙大邮箱</a>-->
<!--<a href="http://cspo.zju.edu.cn" target="_blank">计算机科学与技术学院</a>-->
<!--<a href="http://zjuem.zju.edu.cn">浙大邮箱</a>-->
</div>
</body>
</html>