-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
147 lines (128 loc) · 4.46 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<title>东南大学2017校史校情知识竞赛</title>
<link rel="stylesheet" href="assets/css/index.css" />
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/index.js"></script>
<script type="text/javascript">
$(function(){
window.onbeforeunload=function(event){
var warning="closing...";
$.ajax({
url: '/api/Account/Logout',
contentType: "application/json",
dataType: "json",
async: true,
type: "POST",
success: function (req) {
//console.log(req);
},
error: function (xhr) {
//console.log(xhr);
}
});
// alert("closing");
return;
}
$.ajaxSetup({
beforeSend: function (xhr) {
var match = window.document.cookie.match(/(?:^|\s|;)XSRF-TOKEN\s*=\s*([^;]+)(?:;|$)/);
xhr.setRequestHeader("X-XSRF-TOKEN", match && match[1]);
}
});
})
</script>
</head>
<body>
<!--Header-->
<div id="header">
<div class="header_1">校史校情知识竞赛</div>
<div class="header_2 time"></div>
</div>
<!--Footer-->
<div id="footer" style="display:none">
<div id="answerCard">
<a href="#q1" id="question1" class="answered">1</a>
</div>
</div>
<!-- Page Wrapper -->
<div id="page-wrapper">
<!-- Wrapper -->
<div id="wrapper">
<!-- 欢迎页 -->
<section class="panel banner " id="welcome-container">
<div class="image filtered span-1-75" data-position="25% 25%">
<img src="Images/pic01.jpg" alt="" />
</div>
<div class="content color4 span-3-75">
<h1 class="major">你好,欢迎来到<br /> 校史校情知识竞赛系统
</h1>
<p>本次竞赛共有 <strong><span id="multiple-sum">20</span>道选择题,<span id="TF-sum">10</span>道判断题,限时30分钟。</strong></p>
<ul class="actions ">
<li><a href="#q1" class="button color1 circle icon fa-angle-right" id="start">Next</a></li>
</ul>
</div>
<section class="panel spotlight large right">
<div class="image tinted" data-position="top left">
<img src="Images/banner.jpg" alt="" />
</div>
</section>
</section>
<!--问题-->
<div id="quiz-container" class="panel" style="display:none">
</div>
<div id="submit-container" class="panel" style="display:none">
<section class="panel spotlight large right">
<div class="image tinted" data-position="top left">
<img src="Images/banner.jpg" alt="" />
</div>
</section>
<section class="panel" id="submission">
<div class="gallery">
<div class="group span-3">
<a class="image filtered span-3" data-position="bottom"><img src="Images/background3.jpg" alt="" /></a>
<a class="image filtered span-1-5" data-position="center"><img src="Images/background4.jpg" alt="" /></a>
<a class="image filtered span-1-5" data-position="bottom"><img src="Images/background5.jpg" alt="" /></a>
</div>
</div>
<div class="intro color4">
<h2 class="major">感谢!</h2>
<input type="submit" value="Submit" onclick="submit()" class="special color4" />
</div>
<div class="gallery">
<div class="group span-3">
<a class="image filtered span-3" data-position="bottom"><img src="Images/background0.jpg" alt="" /></a>
<a class="image filtered span-1-5" data-position="center"><img src="Images/background1.jpg" alt="" /></a>
<a class="image filtered span-1-5" data-position="bottom"><img src="Images/background2.jpg" alt="" /></a>
</div>
</div>
</section>
</div>
<div id="result-container" class="panel" style="display:none">
<section class="panel color4-alt">
<div class="inner columns">
<div class="span-3-25">
<h3 class="major">您的分数是:<span id="score"></span>分</h3>
<p id="result-message">页面将于<span id="seconds-left">30</span>秒后自动跳转至首页...</p>
<div class="table-wrapper" id="result-table">
<table class="alt">
<tbody id="table-content"></tbody>
<tfoot>提示:鼠标移到题号上可以查看原题哦!</tfoot>
</table>
</div>
</div>
<div id="review-container" class="span-4" style="display:none">
</div>
</div>
</section>
</div>
</div>
</div>
<!--End of Page Wrapper-->
</body>
</html>