-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompetition.html
More file actions
417 lines (388 loc) · 15.7 KB
/
competition.html
File metadata and controls
417 lines (388 loc) · 15.7 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
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
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
<!--Originally designed by @lin714093880-->
<!--Revise by @Clarence-->
<!DOCTYPE html>
<html>
<head>
<title>成都理工大学信息安全协会</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<!-- <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/semantic-ui/2.2.13/semantic.min.css"> -->
<link rel="stylesheet" type="text/css" href="css/semantic.min.css">
<script src="jquery.min.js"></script>
<style type="text/css">
.el-table__expand-icon {
height: 28px;
border: 0.5px solid gray;
border-radius: 50%;
width: 28px;
}
.el-descriptions-item__label {
display: flex;
justify-content: center;
align-items: center;
}
table{
width: 100%;
border-collapse: collapse;
}
table caption{
font-size: 2em;
font-weight: bold;
margin: 1em 0;
}
th,td{
border: 1px solid #999;
text-align: center;
padding: 20px 0;
width: 100px;
height: 100px;
}
table thead tr{
background-color: #008c8c;
color: #fff;
}
table tbody tr:nth-child(odd){
background-color: #eee;
}
table tbody td:hover{
background-color: #ccc;
}
.hidden.menu {
display: none;
}
.masthead.segment {
min-height: 150px;
padding: 1em 0em;
}
.masthead .logo.item img {
margin-right: 1em;
}
.masthead .ui.menu .ui.button {
margin-left: 0.5em;
}
.masthead h1.ui.header {
margin-top: 1em;
margin-bottom: 0em;
font-size: 5em;
font-weight: normal;
}
.masthead h2 {
font-size: 1.7em;
font-weight: normal;
}
.ui.vertical.stripe {
padding: 8em 0em;
}
.ui.vertical.stripe h3 {
font-size: 2em;
}
.ui.vertical.stripe .button + h3,
.ui.vertical.stripe p + h3 {
margin-top: 3em;
}
.ui.vertical.stripe .floated.image {
clear: both;
}
.ui.vertical.stripe p {
font-size: 1.33em;
}
.ui.vertical.stripe .horizontal.divider {
margin: 3em 0em;
}
.quote.stripe.segment {
padding: 0em;
}
.quote.stripe.segment .grid .column {
padding-top: 5em;
padding-bottom: 5em;
}
.footer.segment {
padding: 5em 0em;
}
.secondary.pointing.menu .toc.item {
display: none;
}
@media only screen and (max-width: 700px) {
.ui.fixed.menu {
display: none !important;
}
.secondary.pointing.menu .item,
.secondary.pointing.menu .menu {
display: none;
}
.secondary.pointing.menu .toc.item {
display: block;
}
.masthead.segment {
min-height: 350px;
}
.masthead h1.ui.header {
font-size: 2em;
margin-top: 1.5em;
}
.masthead h2 {
margin-top: 0.5em;
font-size: 1.5em;
}
}
</style>
</head>
<body>
<div class="ui large top fixed hidden menu">
<div class="ui container">
<a class="active item">动态</a>
<a class="active item">活动</a>
<a class="active item">比赛</a>
<a class="active item">成员</a>
<a class="active item">制度</a>
<a class="active item">荣誉</a>
<div class="right menu">
<div class="item">
<a class="ui button" target="_blank" href="http://cdutsec.gitee.io/blog/">Dino blog</a>
</div>
</div>
</div>
</div>
<div class="pusher">
<div class="ui inverted vertical masthead center aligned segment">
<div class="ui container">
<div class="ui large secondary inverted pointing menu">
<a class="item" href="index.html">首页</a>
<a class="item" href="active.html">活动</a>
<a class="active item" href="competition.html">比赛</a>
<a class="item" href="member.html">成员</a>
<a class="item" href="system.html">制度</a>
<a class="item" href="honor.html">荣誉</a>
<div class="right item">
<a class="ui inverted button" target="_blank" href="http://cdutsec.gitee.io/blog/">Dino blog</a>
</div>
</div>
</div>
<div class="ui text container">
<h1 style="font-size: 2.5em;">成都理工大学信息安全协会</h1>
</div>
</div>
<br>
<div style="text-align: center;">
年份:
<select class="ui dropdown" id="year">
<option value="1">2022</option>
<option value="0">2023</option>
</select>
月份:
<select class="ui dropdown" id="month">
<option>6</option>
<option>7</option>
<option>8</option>
</select>
</div>
<div id="2022_6" style="display: block;">
<div style="width: 90%;margin: auto;height: 800px;">
<table style="height: 700px;">
<caption>六月竞赛时间表</caption>
<thead>
<tr>
<th>星期一</th>
<th>星期二</th>
<th>星期三</th>
<th>星期四</th>
<th>星期五</th>
<th>星期六</th>
<th>星期天</th>
</tr>
</thead>
<tbody>
<tr>
<td><p>1</p><p> </p></td><td><p>2</p><p> </p></td><td><p>3</p><p> </p></td><td><p>4</p><p> </p></td><td><p>5</p><p> </p></td><td><p>6</p><p> </p></td><td style="background-color:#20d0d6;"><p>7</p><p>红帽杯</p></td>
</tr>
<tr>
<td><p>8</p><p> </p></td><td><p>9</p><p> </p></td><td><p>10</p><p> </p></td><td><p>11</p><p> </p></td><td><p>12</p><p> </p></td><td><p>13</p><p> </p></td><td><p>14</p><p> </p></td>
</tr>
<tr>
<td><p>15</p><p> </p></td><td><p>16</p><p> </p></td><td><p>17</p><p> </p></td><td><p>18</p><p> </p></td><td><p>19</p><p> </p></td><td style="background-color:#20d0d6;"><p>20</p><p>美团杯</p></td><td><p>21</p><p> </p></td>
</tr>
<tr>
<td><p>22</p><p> </p></td><td><p>23</p><p> </p></td><td><p>24</p><p> </p></td><td><p>25</p><p> </p></td><td><p>26</p><p> </p></td><td><p>27</p><p> </p></td><td><p>28</p><p> </p></td>
</tr>
<tr>
<td><p>29</p><p> </p></td><td style="background-color:#20d0d6;"><p>30</p><p>国赛作品赛</p></td><td><p>31</p><p> </p></td>
</tr>
</tbody>
</table>
</div>
<div style="text-align: center;">
<!--edited by cortana&杜煜-->
<h1 style="margin-left: 0%;">报名中</h1>
<div id="available_race">
<race_table :data="dt1"></race_table>
</div>
<br><br><br><br>
<h1 style="margin-left: 0%;">报名已截止</h1>
<div id="unavailable_race">
<race_table :data="dt2"></race_table>
</div>
<br><br><br><br>
</div>
</div>
<div id="2022_7" style="display: none;">
<div style="width: 90%;margin: auto;height: 800px;">
<table style="height: 700px;">
<caption>七月竞赛时间表</caption>
<thead>
<tr>
<th>星期一</th>
<th>星期二</th>
<th>星期三</th>
<th>星期四</th>
<th>星期五</th>
<th>星期六</th>
<th>星期天</th>
</tr>
</thead>
<tbody>
<tr>
<td><p>1</p><p> </p></td><td><p>2</p><p> </p></td><td><p>3</p><p> </p></td><td><p>4</p><p> </p></td><td><p>5</p><p> </p></td><td><p>6</p><p> </p></td><td style="background-color:#20d0d6;"><p>7</p><p>红帽杯</p></td>
</tr>
<tr>
<td><p>8</p><p> </p></td><td><p>9</p><p> </p></td><td><p>10</p><p> </p></td><td><p>11</p><p> </p></td><td><p>12</p><p> </p></td><td><p>13</p><p> </p></td><td><p>14</p><p> </p></td>
</tr>
<tr>
<td><p>15</p><p> </p></td><td><p>16</p><p> </p></td><td><p>17</p><p> </p></td><td><p>18</p><p> </p></td><td><p>19</p><p> </p></td><td style="background-color:#20d0d6;"><p>20</p><p>美团杯</p></td><td><p>21</p><p> </p></td>
</tr>
<tr>
<td><p>22</p><p> </p></td><td><p>23</p><p> </p></td><td><p>24</p><p> </p></td><td><p>25</p><p> </p></td><td><p>26</p><p> </p></td><td><p>27</p><p> </p></td><td><p>28</p><p> </p></td>
</tr>
<tr>
<td><p>29</p><p> </p></td><td style="background-color:#20d0d6;"><p>30</p><p>国赛作品赛</p></td><td><p>31</p><p> </p></td>
</tr>
</tbody>
</table>
</div>
<div style="text-align: center;">
<!--edited by cortana&杜煜-->
<h1 style="margin-left: 0%;">报名中</h1>
<div id="available_race">
<race_table :data="dt1"></race_table>
</div>
<br><br><br><br>
<h1 style="margin-left: 0%;">报名已截止</h1>
<div id="unavailable_race">
<race_table :data="dt2"></race_table>
</div>
<br><br><br><br>
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script src="./race_data.js"></script>
<script src="./race.js"></script>
</div>
</div>
<div id="2022_8" style="display: none;">
<div style="width: 90%;margin: auto;height: 800px;">
<table style="height: 700px;">
<caption>八月竞赛时间表</caption>
<thead>
<tr>
<th>星期一</th>
<th>星期二</th>
<th>星期三</th>
<th>星期四</th>
<th>星期五</th>
<th>星期六</th>
<th>星期天</th>
</tr>
</thead>
<tbody>
<tr>
<td><p>1</p><p> </p></td><td><p>2</p><p> </p></td><td><p>3</p><p> </p></td><td><p>4</p><p> </p></td><td><p>5</p><p> </p></td><td><p>6</p><p> </p></td><td style="background-color:#20d0d6;"><p>7</p><p>红帽杯</p></td>
</tr>
<tr>
<td><p>8</p><p> </p></td><td><p>9</p><p> </p></td><td><p>10</p><p> </p></td><td><p>11</p><p> </p></td><td><p>12</p><p> </p></td><td><p>13</p><p> </p></td><td><p>14</p><p> </p></td>
</tr>
<tr>
<td><p>15</p><p> </p></td><td><p>16</p><p> </p></td><td><p>17</p><p> </p></td><td><p>18</p><p> </p></td><td><p>19</p><p> </p></td><td style="background-color:#20d0d6;"><p>20</p><p>美团杯</p></td><td><p>21</p><p> </p></td>
</tr>
<tr>
<td><p>22</p><p> </p></td><td><p>23</p><p> </p></td><td><p>24</p><p> </p></td><td><p>25</p><p> </p></td><td><p>26</p><p> </p></td><td><p>27</p><p> </p></td><td><p>28</p><p> </p></td>
</tr>
<tr>
<td><p>29</p><p> </p></td><td style="background-color:#20d0d6;"><p>30</p><p>国赛作品赛</p></td><td><p>31</p><p> </p></td>
</tr>
</tbody>
</table>
</div>
<div style="text-align: center;">
<!--edited by cortana&杜煜-->
<h1 style="margin-left: 0%;">报名中</h1>
<div id="available_race">
<race_table :data="dt1"></race_table>
</div>
<br><br><br><br>
<h1 style="margin-left: 0%;">报名已截止</h1>
<div id="unavailable_race">
<race_table :data="dt2"></race_table>
</div>
<br><br><br><br>
</div>
</div>
<div class="ui inverted vertical footer segment">
<div class="ui container">
<div class="ui stackable inverted divided equal height stackable grid">
<div class="three wide column">
<h4 class="ui inverted header">官方网站</h4>
<div class="ui inverted link list">
<a href="http://www.cdut.edu.cn/" target="_blank" class="item">成都理工大学</a>
<a href="http://www.cist.cdut.edu.cn/" target="_blank" class="item">计算机与网络安全学院</a>
<a href="http://wxc.cdut.edu.cn/" target="_blank" class="item">网络与信息化处</a>
</div>
</div>
<div class="three wide column">
<h4 class="ui inverted header">分站</h4>
<div class="ui inverted link list">
<a href="http://cdutsec.gitee.io/blog/" class="item">信息安全协会博客</a>
</div>
</div>
<div class="seven wide column">
<h4 class="ui inverted header">2019-2021 © 成都理工大学信息安全协会</h4>
<p>By <a href="http://cdutsec.gitee.io/blog/" target="_blank">Dino</a>.</p>
<p>地址:成都理工大学成都校区网安楼209室</p>
<!-- <p><a href="http://beian.miit.gov.cn">蜀ICP备2021020791号</a></p> -->
</div>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function() {
$('.masthead').visibility({
once: false,
onBottomPassed: function() {
$('.fixed.menu').transition('fade in');
},
onBottomPassedReverse: function() {
$('.fixed.menu').transition('fade out');
}
});
});
$('#year').change(function(){
change_table();
});
$('#month').change(function(){
change_table();
});
function none_all(year_all_members)
{
for(num=1;num<=12;num++)
{
id = "#"+year_all_members+"_"+num;
$(id).css('display','none');
}
}
function change_table(){
none_all('2022');
none_all('2023');
id = '#'+$('#year option:selected').text()+"_"+$('#month option:selected').text();
$(id).css('display','block');
}
</script>
</body>
</html>