-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
241 lines (205 loc) · 9.09 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
<!DOCTYPE html>
<html>
<head>
<title>HIT Webinar</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="Jiancheng Yang, 杨健程, HIT Webinar, HIT网络研讨会">
<meta name="description" content="HIT Webinar Homepage">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="vender/bootstrap.min.css" rel="stylesheet">
<script src="vender/vue.min.js"></script>
<link href="assets/favicon.ico" rel="icon" type="image/x-icon" />
</head>
<body>
<div class="container" id="app">
<div class="row">
<div class="col">
<img src="assets/logo.png" class="img-fluid">
</div>
</div>
<hr>
<div class="row">
<div class="col">
<h5>
<span v-for="(count, topic) in topicCounter">
<span class="badge" v-on:click="selectedTopic = topic"
v-bind:class="[ selectedTopic == topic ? 'badge-dark': 'badge-light']">
{{topic}} ({{count}})
</span>
</span>
</h5>
</div>
</div>
<div class="row">
<div class="col">
<div v-for="(item, pid) in reports" style="text-align:justify; text-justify:inter-ideograph"
v-on:click="clickRepId(pid)" v-if="item.topics.includes(selectedTopic)">
<div v-bind:class="{'bg-light': hoverRepId === pid}">
<h4>
<span v-if="item.id.startsWith('routine')" class="badge badge-info">
论文精读第{{item.id.slice(7)}}期
</span>
<span v-else class="badge badge-warning">
特邀报告
</span>
<!-- <span v-if="!item.id.startsWith('routine')">[{{item.speaker}}]</span> -->
<span v-html="item.title"></span>
</h4>
<i>{{item.date}} </i>
<span v-if="item.daytime" style="color: blueviolet;">{{item.daytime}}</span>
<span v-else>周五 20:00</span>
<span v-if="item.id.startsWith('routine')">
<span v-if="item.speakerPaper">[论文分享]
{{item.speakerPaper}}
</span>
<span v-if="item.speakerAuthor">[作者精读]
{{item.speakerAuthor}}
</span>
<span v-if="item.host">[主持人]
{{item.host}}
</span>
<span v-if="item.speakerNews">[新闻分享]
{{item.speakerNews}}
</span>
</span>
<span v-else>
[特邀嘉宾]
{{item.speaker}}
[主持人]
{{item.host}}
</span>
<br>
<span v-if="item.materials">
<span v-for="material in item.materials" v-if="material.href">
[<a v-bind:href="material.href" target="_blank">{{material.tag}}</a>]
</span>
</span>
<span v-bind:class="[ hoverRepId === pid ? 'badge-dark': 'badge-light']" v-if="item.poster">
[<b>点击➚</b>查看海报]
</span>
<span v-else>[海报尚未上传]</span>
</div>
<p v-if="item.link && (new Date() <= new Date(item.date + ' 23:59:59'))">
<a v-bind:href="item.link.href" target="_blank">{{item.link.tag}}</a>
<br>
<span v-on:click="generateICS(item)" class="badge badge-danger">下载ICS日历文件以添加日程</span>
<!-- -->
</p>
<div v-if="item.info && !(item.poster && (hoverRepId === pid)) ">
<p>
<h5>内容简介</h5>
<span v-html="item.info.abstract"></span>
<br><br>
<h5>嘉宾简介</h5>
<span v-html="item.info.bio"></span>
</p>
</div>
<p align="center">
<!-- <img v-if="item.poster && (hoverRepId === pid)" v-bind:src="'assets/poster/'+item.poster"
class="img-fluid" style="max-width:400px;width:100%;height:auto;"> -->
<img v-if="item.poster && (hoverRepId === pid)" v-bind:src="'assets/poster/'+item.poster"
class="img-fluid" style="max-width:600px;width:100%;height:auto;">
</p>
<hr>
</div>
</div>
</div>
<div class="row">
<div class="col">
<div v-for="(item, pid) in tests" style="text-align:justify; text-justify:inter-ideograph"
v-if="item.topics.includes(selectedTopic)">
<div>
<h4>
<span class="badge badge-light">
试运行
</span>
<span v-html="item.title"></span>
</h4>
<i>{{item.date}}</i>
<span v-if="item.speakerPaper">
[论文分享]
{{item.speakerPaper}}
[新闻分享]
{{item.speakerNews}}
</span>
<span v-else>
[特邀嘉宾]
{{item.speaker}}
[主持人]
{{item.host}}
</span>
<br>
<span v-if="item.materials">
<span v-for="material in item.materials" v-if="material.href">
[<a v-bind:href="material.href" target="_blank">{{material.tag}}</a>]
</span>
</span>
</div>
<hr>
</div>
</div>
</div>
<div class="row">
<div class="col">
<h2>
关于 HIT Webinar
</h2>
<p style="text-align:justify; text-justify:inter-ideograph" v-html="about"></p>
</div>
</div>
<!-- <div class="row">
<div class="col">
<h2>
现任组委
</h2>
// TODO:组织者信息(应该分为组委和讲者)
<h2>
往期组委
</h2>
// TODO:组织者信息(应该分为组委和讲者)
<h2>
合作单位
</h2>
// TODO:合作单位信息
</div>
</div> -->
<hr>
<p align="center">
Copyright © {{site.year}} <span class="d-block d-sm-none"></span>
HIT Webinar 团队
</p>
<p align="center">
<small>
This
<a v-bind:href="site.siteURL" target="_blank">website</a>
created by
<a v-bind:href="site.creatorURL" target="_blank">{{site.creator}}</a>
is hosted on
<a v-bind:href="site.repoURL" target="_blank">GitHub</a>.
</small>
</p>
<p align="center" v-show="site.showPageviews">
<!-- Please DO NOT use the following page tracker if you are using my website as template. -->
<small>Pageviews since 2023</small><br>
<a href="https://clustrmaps.com/site/1bso5" title="Visit tracker">
<img
src="https:///www.clustrmaps.com/map_v2.png?d=gL5NFeMPPK6kDESB2pWmbN-2sJuaFntXJno2i7tIv0A&cl=ffffff">
</a>
</p>
</div>
<script src="vender/jquery-3.5.1.min.js"></script>
<script src="vender/bootstrap.min.js"></script>
<script src="assets/data.js"></script>
<script src="assets/app.js"></script>
</body>
</html>