forked from pmcamp/lucky
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpanel.html
More file actions
66 lines (66 loc) · 3.25 KB
/
Copy pathpanel.html
File metadata and controls
66 lines (66 loc) · 3.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>PyCon 2014 Lucky</title>
<link rel="stylesheet" href="stylesheets/style.css">
</head>
<body>
<div class="nav">
<div class="header">
<img src="./images/pycon_logo.png" /><a class="main">PyCon China 2014</a>
</div>
</div>
<div class="container panel">
<div class="top-links">
<a href="./lucky.html" class="top-link">抽奖</a>
<a href="./checkin.html" class="top-link">签到</a>
<a href="./panel.html" class="top-link">面板</a>
</div>
<h1 class="text-center">面板</h1>
<h2 class="section-header" data-target="#import-checkin-section">导入签到数据</h2>
<section id="import-checkin-section">
<p> 所有xls文件另存为CSV文件(格式要求见README)后,按照下面的提示导入文件。</p>
<p> 1. 导入普通购票数据:
<button class="fake-import-btn btn btn-primary" data-target="#import-tickets">导入</button>
<input id="import-tickets" type="file" class="hide">
<span class="import-status import-tickets-status"></span>
</p>
<p>2. 导入个人捐赠数据:
<button class="fake-import-btn btn btn-primary" data-target="#import-donators">导入</button>
<input id="import-donators" type="file" class="hide">
<span class="import-status import-donators-status"></span>
</p>
<p>3. 导入赠票数据:
<button class="fake-import-btn btn btn-primary" data-target="#import-sponsors">导入</button>
<input id="import-sponsors" type="file" class="hide">
<span class="import-status import-sponsors-status"></span>
</p>
</section>
<h2 class="section-header" data-target="#export-checked-section">导出签到名单</h2>
<section id="export-checked-section">
<p>导出已签到的用户名单(“签到码,门票,姓名,Email”):
<button id="export-checked" class="btn btn-primary">导出</button>
<span class="export-status export-checked-status"></span>
</p>
</section>
<h2 class="section-header" data-target="#export-checked-section">导入签到名单</h2>
<section id="import-checked-section">
<p>导入已签到的用户名单(“签到码,门票,姓名,Email”):
<button class="fake-import-btn btn btn-primary" data-target="#import-checked">导入</button>
<input id="import-checked" type="file" class="hide">
<span class="import-status import-checked-status"></span>
</p>
</section>
<hr>
<section>
<p>正式使用之前,请先清除数据:
<button class="btn btn-danger" onclick="if(confirm('危险!确认将删除所有本地数据!')){localStorage.clear()}">清除</button>
</p>
</section>
</div>
</body>
<script type="text/javascript" src="js/lib/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="./js/utils.js"></script>
<script type="text/javascript" src="./js/panel.js"></script>
</html>