This repository has been archived by the owner on Dec 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
277 lines (277 loc) · 12.3 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
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>Puzzle & Dragons 素材管理程式</title>
<link rel=stylesheet type="text/css" href="./css/main.css" />
<link rel=stylesheet type="text/css" href="./css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="./css/tooltipster.bundle.min.css" />
<link rel="stylesheet" type="text/css" href="./css/sweetalert.css">
<script type="text/javascript" src="./lib/Blob.js"></script>
<script type="text/javascript" src="./lib/FileSaver.min.js"></script>
<script type="text/javascript" src="./lib/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="./lib/bootstrap.min.js"></script>
<script type="text/javascript" src="./lib/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="./lib/tooltipster.bundle.min.js"></script>
<script type="text/javascript" src="./lib/underscore-min.js"></script>
<script type="text/javascript" src="./lib/sweetalert.min.js"></script>
<script type="text/javascript" src="./js/const.js"></script>
<script type="text/javascript" src="./js/data.js"></script>
<script type="text/javascript" src="./js/setting.js"></script>
<script type="text/javascript" src="./js/index.js"></script>
<script type="text/javascript" src="./js/box.js"></script>
<script type="text/javascript" src="./js/material.js"></script>
<script type="text/javascript" src="./js/main.js"></script>
</head>
<body>
<div class="main">
<!--<div class="pageHeader"> </div>-->
<div class="body">
<div class="nav">
<div class="nav-left">
<ul class="nav nav-pills">
<li class="active"><a href="#" id="btn-box" style="font-size:18px;">box</a></li>
<li><a href="#" id="btn-material" style="font-size:18px;">素材</a></li>
<li><a href="#" id="btn-about" style="font-size:18px;">關於/設定</a></li>
</ul>
</div>
<div class="nav-right">
<ul class="nav nav-pills">
<li><button type="button" id="btn-add" class="btn btn-primary btn-lg">新增寵物</button></li>
<li><button type="button" id="backup" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#backup-modal">備份</button></li>
<li><button type="button" id="import" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#import-modal">匯入</button></li>
<li><button type="button" id="update" class="btn btn-primary btn-lg">資料更新</button></li>
<li><button type="button" id="clear" class="btn btn-primary btn-lg">清空</button></li>
</ul>
</div>
</div>
<div id="add" style="display:none" class="form-inline" role="form">
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">No.</div>
<input type="text" class="form-control" style="width:70px;" name="no"></input>
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">數量</div>
<input type="text" class="form-control" style="width:50px;" value="1" name="quantity"></input>
</div>
</div>
<button id="btn-add-enter"class="btn btn-default">新增</button>
<button id="btn-add-preview"class="btn btn-default" data-toggle="modal" data-target="#preview-modal" disabled="disabled">預覽</button>
<button class="btn-add-hide btn btn-default">取消</button>
</div>
<div class="mainTable" id="mainTable">
<!--
<table>
<thead>
<tr>
<th>No.</th>
<th>中文名</th>
<th>日文名</th>
<th>進化素材</th>
<th>動作</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
-->
</div>
<div id="material" style="display:none" class="container-fluid">
</div>
<div id="about" style="display:none">
<h2>Puzzle & Dragons 素材管理程式</h2>
<p style="font-size:16px;">版本號碼:<span class="version"></span><br>
資料產生日期:<span class="data-date"></span><br>
圖片更新日期:<span class="icon-date"></span><br>
GitHub:<a href="https://github.com/vrabe/padboxer/">https://github.com/vrabe/padboxer/</a><br>
made by sdw113322</p>
<h3>設定</h3>
<div class="container-fluid">
<div class="panel panel-default col-md-4">
<div class="panel-body">
<h4>BOX分頁顯示欄位</h4>
<div class="checkbox"><label><input type="checkbox" name="setting3[]" id="setting30"></input>編號</label></div>
<div class="checkbox"><label><input type="checkbox" name="setting3[]" id="setting31"></input>圖案</label></div>
<div class="checkbox"><label><input type="checkbox" name="setting3[]" id="setting32"></input>中文名</label></div>
<div class="checkbox"><label><input type="checkbox" name="setting3[]" id="setting33"></input>日文名</label></div>
<div class="checkbox"><label><input type="checkbox" name="setting3[]" id="setting34"></input>素材</label></div>
<div class="checkbox"><label><input type="checkbox" name="setting3[]" id="setting35"></input>目標</label></div>
<div class="checkbox"><label><input type="checkbox" name="setting3[]" id="setting36"></input>數量</label></div>
<div class="checkbox"><label><input type="checkbox" name="setting3[]" id="setting37"></input><span class='glyphicon glyphicon-star'></span>數量</label></div>
<div class="checkbox"><label><input type="checkbox" name="setting3[]" id="setting38"></input>動作</label></div>
</div>
</div>
<div class="panel panel-default col-md-6 col-md-offset-1">
<div class="panel-body">
<div class="checkbox"><label><input type="checkbox" id="setting0"></input>自動將已進化的寵物加至box中</label></div>
<div class="checkbox"><label><input type="checkbox" id="setting4"></input>隱藏素材分頁中的優先欄位</label></div>
</div>
</div>
<div class="panel panel-default col-md-6 col-md-offset-1">
<div class="panel-body">
<h4>變更以下設定後,請立刻重新整理</h4>
<div class="checkbox"><label><input type="checkbox" id="setting1"></input>在BOX分頁中顯示進化素材數量</label></div>
外部連結網站
<select id="setting2">
<option value="NULL">不啟用</option>
<option value="http://pad.skyozora.com/pets/">戰友網</option>
<option value="http://zh.pad.wikia.com/wiki/">WIKI</option>
</select><br>
<button type="button" id="update2" class="btn btn-primary" style="float: right;">重新整理</button>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
Puzzle & Dragons 素材管理程式 - version <span class="version"></span>
</div>
</div>
<div class="modal fade" id="ultimateBranch" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">關閉</span></button>
<h4 class="modal-title" id="myModalLabel">選擇究極進化分支</h4>
</div>
<div class="modal-body">
<form></form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">關閉</button>
<button type="submit" class="btn btn-primary">儲存變更</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="material-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">關閉</span></button>
<h4 class="modal-title" id="myModalLabel2">請輸入數量</h4>
</div>
<div class="modal-body">
<form class="form-inline">
<div class="form-group">
<input type="text" class="form-control">
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">關閉</button>
<button type="submit" class="btn btn-primary">儲存變更</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="backup-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">關閉</span></button>
<h4 class="modal-title" id="myModalLabel2">備份</h4>
</div>
<div class="modal-body">
<textarea style="width: 100%; height: 300px;"></textarea>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">關閉</button>
<button type="submit" class="btn btn-primary">儲存</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="import-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">關閉</span></button>
<h4 class="modal-title" id="myModalLabel2">請輸入備份資料</h4>
</div>
<div class="modal-body">
<textarea style="width: 100%; height: 300px;"></textarea>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary" id="importOld">儲存變更(v2.4以下)</button>
<button type="submit" class="btn btn-primary" id="importNew">儲存變更(v2.5以上)</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">關閉</button>
<div class="fileUpload btn btn-primary">
<span>從檔案匯入</span>
<input type="file" id="importFromFile" />
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="preview-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">關閉</span></button>
<h4 class="modal-title" id="myModalLabel2"></h4>
</div>
<div class="modal-body">
<span id="preview-status"></span><br>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">關閉</button>
<button type="submit" class="btn btn-primary">新增</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="loading-modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<h3>資料更新中...</h3><br>
<table class="table table-bordered">
<tr class="danger" id="loading1"><td>未完成</td><td>進化資訊</td></tr>
<tr class="danger" id="loading2"><td>未完成</td><td>究極進化資訊</td></tr>
<tr class="danger" id="loading3"><td>未完成</td><td>中日文名稱</td></tr>
</table>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div class="modal fade" id="box-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">關閉</span></button>
<h4 class="modal-title" id="myModalLabel2">請輸入數量</h4>
</div>
<div class="modal-body">
<form class="form-inline">
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">All</div>
<input type="text" class="form-control" id="allQty">
</div>
</div>
</form>
<br>
<form class="form-inline">
<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon-star"></span></div>
<input type="text" class="form-control" id="starQty">
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">關閉</button>
<button type="submit" class="btn btn-primary">儲存變更</button>
</div>
</div>
</div>
</div>
</body>
</html>