-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
322 lines (271 loc) · 11.2 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
<!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">
<title>星际旅行登机牌 - 星际移民中心</title>
<link rel="stylesheet" href="css/bulma/css/bulma.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
</head>
<body class="has-navbar-fixed-bottom">
<section class="hero is-medium is-primary">
<div class="hero-body">
<div class="container">
<div class="columns">
<div class="column is-8-desktop is-offset-2-desktop">
<h1 class="title is-2 is-spaced">
定制你的星际旅行登机牌
</h1>
<h2 class="subtitle is-4">
已经购买了去其他星球的飞船票?请在这里领取你的专属登机牌。
</h2>
</div>
</div>
</div>
</div>
</section>
<section class="section">
<div class="container">
<div class="columns">
<div class="column is-8-desktop is-offset-2-desktop">
<div class="content" id="app" v-cloak>
<!-- This is the beginning of the contents -->
<div>
<div class="box">
<article class="media">
<div class="media-content">
<div class="content">
<div class="columns">
<div class="column">
<span>我的名字是</span>
</div>
<div class="column"> <input class="input" type="text" v-model="form.name_cn">
</div>
</div>
<div class="columns">
<div class="column">
<span>我要登录的飞船是</span>
</div>
<div class="column"> <input class="input" type="text" v-model="form.ship_cn">
</div>
</div>
<div class="columns">
<div class="column">
<span> 我要从 </span>
</div>
<div class="column">
<div class="astro_selector" style="text-align: left;">
<div class="select">
<select v-model="from_body">
<option v-for="option in options_cn" v-bind:value="option.value">
{{ option.text }}
</option>
</select>
</div>
<span> 到 </span>
<div class="select">
<select v-model="to_body">
<option v-for="option in options_cn" v-bind:value="option.value">
{{ option.text }}
</option>
</select>
</div>
</div>
</div>
</div>
<div class="columns">
<div class="column">
<span>我出发的太空港是 </span>
</div>
<div class="column"> <input class="input" type="text" v-model="form.fromCode">
</div>
</div>
<div class="columns">
<div class="column">
<span>我到达的太空港是 </span>
</div>
<div class="column"> <input class="input" type="text" v-model="form.destinationCode">
</div>
</div>
</div>
</div>
</article>
</div>
<div class="box">
<article class="media">
<div class="media-content">
<div class="content">
<div class="columns">
<div class="column">
<div class="field">
<label class="label">出发日期(e.g., 2020-04-01)</label>
<div class="control">
<input class="input" type="text" v-model="form.departureTime">
</div>
</div>
</div>
<div class="column">
<div class="field">
<label class="label">到达日期(e.g., 2021-09-13)</label>
<div class="control">
<input class="input" type="text" v-model="form.arrivalTime">
</div>
</div>
</div>
</div>
</div>
</div>
</article>
</div>
<div class="box">
<article class="media">
<div class="media-content">
<div class="content">
<div class="columns">
<div class="column">
<span>我在飞船 {{form.ship}} 上的房间号是 </span>
</div>
<div class="column"> <input class="input" type="text" v-model="form.room">
</div>
</div>
<div class="columns">
<div class="column">
<span>我的房间在哪一层平台 </span>
</div>
<div class="column"> <input class="input" type="text" v-model="form.deck">
</div>
</div>
</div>
</div>
</article>
</div>
<div class="box">
<article class="media">
<div class="media-content">
<div class="content">
<div class="columns">
<div class="column">
<span>我购买的飞船 {{ this.form.ship }} 的船票号码是 </span>
</div>
<div class="column"> <input class="input" type="text" v-model="form.ticketNumber">
</div>
</div>
</div>
</div>
</article>
</div>
<div class="box">
<article class="media">
<div class="media-content">
<div class="content">
<p>
请在下方查看船票预览。
</p>
<p>
这张船票的唯一链接请点击这里
<a v-bind:href=generate_link_cn target="_blank">船票链接</a>
</p>
</div>
</div>
</article>
</div>
</div>
<!-- This is the beginning of the contents -->
<div class="content" style="height: 800px;margin-top:5em;">
<iframe :src=generate_link_cn width="100%" frameBorder="0"
style="height: 100%; border: none; x-overflow: hidden">浏览器不兼容,请使用上面提供的船票链接。</iframe>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer has-text-centered">
<div class="container">
<div class="columns">
<div class="column is-8-desktop is-offset-2-desktop">
<p>
<strong class="has-text-weight-semibold">
来自 <a href="http://interimm.org">星际移民中心</a> <a href="about.html">致谢</a>
</strong>
</p>
</div>
</div>
</div>
</footer>
<nav class="navbar is-dark is-fixed-bottom">
<div class="navbar-brand">
<a class="navbar-item" href="//interimm.org/en">
<img src="//interimm.org/assets/ico/favicon-192x192.png" alt="Interplanetary Immigration Center" width="28"
height="28">
</a>
<div class="navbar-burger burger" data-target="navbarExampleTransparentExample">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div id="navbarExampleTransparentExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="//interimm.org/en">
首页
</a>
<div class="navbar-item has-dropdown has-dropdown-up is-hoverable">
<a class="navbar-link" href="//interimm.org/en/archives">
工具
</a>
<div class="navbar-dropdown is-boxed">
<a class="navbar-item" href="//interimm.org/mars-clock/">
火星时钟
</a>
<a class="navbar-item" href="//interimm.org/mars-map/">
火星地图
</a>
<a class="navbar-item" href="//interimm.org/comms-latency/">
星际通信延时计算
</a>
<hr class="navbar-divider">
<a class="navbar-item" href="//interimm.org/en/archives">
更多工具
</a>
</div>
</div>
</div>
<div class="navbar-end">
<div class="navbar-item">
<div class="field is-grouped">
<p class="control">
<a class="nav-link nav-link-icon" href="https://github.com/interimm/boarding-pass" target="blank"
style="color: #ed7a57;">
<i class="fab fa-github-square"></i>
<span class="nav-link-inner--text">
</span>
</a>
</p>
</div>
</div>
<div class="navbar-item">
<div class="field is-grouped">
<p class="control">
<a class="nav-link nav-link-icon" href="en" data-toggle="tooltip" title="Switch Language"
style="color: #ed7a57;">
<i class="fa fa-language"></i>
<span class="nav-link-inner--text">EN</span>
</a>
</p>
</div>
</div>
</div>
</div>
</nav>
<script type="text/javascript" src="lib/vue.js"></script>
<script type="text/javascript" src="lib/moment/moment-with-locales.js"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script src="lib/navbar.js"></script>
<script type="text/javascript" src="lib/util.js"></script>
<script type="text/javascript" src="lib/main.js"></script>
</body>
</html>