-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
323 lines (323 loc) · 15.7 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
323
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Nechigawara's FGO Servant Checklist with NP Count</title>
<link rel="icon" href="favicon.ico">
<!-- OG -->
<meta property="og:title" content="Nechigawara's FGO Servant Checklist with NP Count" />
<meta property="og:description" content="Just another FGO Servant Checklist, but with NP Count. I'm gonna try my best to update the list ASAP." />
<meta property="og:image" content="img/fgo-check-og.jpg" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@Nechigawara">
<meta name="twitter:creator" content="@Nechigawara">
<meta name="twitter:title" content="Nechigawara's FGO Servant Checklist with NP Count">
<meta name="twitter:description" content="Just another FGO Servant Checklist, but with NP Count. I'm gonna try my best to update the list ASAP.">
<meta name="twitter:image" content="img/fgo-check-og.jpg">
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="css/bootstrap/bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/select2/select2.min.css" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/select2/select2-bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/Site.css" crossorigin="anonymous">
<!--link rel="stylesheet" type="text/css" href="css/SitePadoru.css" crossorigin="anonymous"-->
<!-- JS -->
<script src="js/lib/jquery-3.3.1.min.js" crossorigin="anonymous"></script>
<script src="js/lib/popper.min.js" crossorigin="anonymous"></script>
<script src="js/lib/bootstrap.min.js" crossorigin="anonymous"></script>
<script src="js/lib/bootbox.min.js" crossorigin="anonymous"></script>
<script src="js/lib/select2.full.min.js" crossorigin="anonymous"></script>
<script src="js/lib/lz-string.min.js" crossorigin="anonymous"></script>
<script src="js/lib/html2canvas.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.rawgit.com/eligrey/FileSaver.js/5ed507ef8aa53d8ecfea96d96bc7214cd2476fd2/FileSaver.min.js"></script>
<script src="js/lib/tinyURL.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- Start -->
<div class="snowfall">
<!-- Navbar -->
<nav class="navbar navbar-dark bg-secondary">
<span class="navbar-brand" href="#">
<img src="img/DSGO.png" width="30" height="30" class="d-inline-block align-top" alt="">
Nechigawara's FGO Servant Checklist with NP Count 2.0
</span>
<ul class="nav navbar-nav ml-auto">
<li class="nav-item">
<a href="https://github.com/Nechigawara/nechi-fgo-checklist/" class="fab fa-github" target="_blank"> GitHub</a>
</li>
</ul>
</nav>
<!-- Content -->
<div class="container body-content" style="padding-top: 10px;">
<!--div class="alert alert-warning">
<strong>Attention! The site may take a while loading on first visit due to caching images.</strong><br />
Most recent changes:
<ul>
<li>Add Class Categorize & Mashu ★4 SR Option.</li>
<li>Share option changed to <a href="https://is.gd/" target="_blank">is.gd</a>. Thanks, <a href="https://github.com/fbordas" target="_blank">fbordas</a>.</li>
<li>Now you can manually import/export the list as a file. Currently not support Option import/export.</li>
</ul>
</div-->
<div class="alert alert-danger">
<strong>I stop playing FGO. 5 years with it and still no change in that bad gacha. So I'm done with this game. No More Update.</strong>
</div>
<div class="card">
<div class="card-body" style="text-align:center;">
<p>Just another FGO Servant Checklist, but with NP Count. I'm gonna try my best to update the list ASAP.</p>
<hr/>
<form>
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" id="mashuSR">
<label class="form-check-label" for="mashuSR">Mashu is ★4 SR</label>
</div>
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" id="classmode">
<label class="form-check-label" for="classmode">Divide List By Servant Class</label>
</div>
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" id="fastmode">
<label class="form-check-label" for="fastmode">Fast Mode (Left & Right Click Only)</label>
</div>
<button type="button" class="btn btn-secondary" onclick="ToggleEventIcon()">Show/Hide Type Icons</button>
<!-- button type="button" class="btn btn-info" data-toggle="tooltip" data-placement="bottom" title="Disable for Padoru" disabled>Export as Image (Slow)</button -->
<button type="button" class="btn btn-info" onclick="ExportCanvas()">Export as Image (Slow)</button>
<button type="button" class="btn btn-danger" onclick="ClearAllData()">Clear</button>
<hr/>
<button type="button" class="btn btn-primary" onclick="SelectAllData(false)">Mark <i>all</i> Servants as owned at NP1 (will not affect already selected Servants)</button>
</form>
<hr/>
<form>
<button type="button" id="loadbutton" class="btn btn-info" onclick="loadLocalData()" disabled>Load list from current browser</button>
<button type="button" id="savebutton" class="btn btn-success" onclick="saveLocalData()" disabled>Save list to current browser</button>
</form>
<hr/>
<form>
<div style="display:none">
<input type="file" id="theFile" style="display:none" accept=".fgol"/>
</div>
This function requires a <a href="https://github.com/eligrey/FileSaver.js/#supported-browsers" target="_blank">supported browser</a>.<br/>
<button type="button" id="loadbutton_f" class="btn btn-info" onclick="openFileOption()">Load list from file</button>
<button type="button" id="savebutton_f" class="btn btn-success" onclick="saveLocalFile()" disabled>Save list to file</button>
</form>
<!-- Social Share -->
<hr/>
Share the list to your friends!!
<div id="share">
<!-- Facebook -->
<button type="button" class="btn facebook" onclick="shareURL('facebook')" data-toggle="tooltip" data-placement="bottom" title="Share to Facebook"><i class="fab fa-facebook-f"></i></button>
<!-- Tumblr -->
<button type="button" class="btn tumblr" onclick="shareURL('tumblr')" data-toggle="tooltip" data-placement="bottom" title="Share to Tumblr"><i class="fab fa-tumblr"></i></button>
<!-- Twitter -->
<button type="button" class="btn twitter" onclick="shareURL('twitter')" data-toggle="tooltip" data-placement="bottom" title="Share to Twitter"><i class="fab fa-twitter"></i></button>
<!-- Just Link -->
<button type="button" class="btn btn-info" onclick="shareURL('')" data-toggle="tooltip" data-placement="bottom" title="Just Shorten URL"><i class="fas fa-link"></i></button>
</div>
<!-- small>
<p>Changelog</p>
<ul id="changelog">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
</small -->
</div>
</div>
<hr/>
<div id="capturearea">
<div class="row" id="statisticBox" style="display:none;">
<div class="col padoru_text">
<h3>All Servants</h3>
<h4><small>Overall:</small> <em id="statisticBoxAllPercent"></em>% <small>(<span id="statisticBoxAllHave"></span>/<span id="statisticBoxAllMax"></span>)</small></h4>
<ul>
<li>★5: <span id="ssrBoxAllPercent"></span>% (<span id="ssrBoxAllHave"></span>/<span id="ssrBoxAllMax"></span>)</li>
<li>★4: <span id="srBoxAllPercent"></span>% (<span id="srBoxAllHave"></span>/<span id="srBoxAllMax"></span>)</li>
<li>★3: <span id="rareBoxAllPercent"></span>% (<span id="rareBoxAllHave"></span>/<span id="rareBoxAllMax"></span>)</li>
<li>★2: <span id="uncommonBoxAllPercent"></span>% (<span id="uncommonBoxAllHave"></span>/<span id="uncommonBoxAllMax"></span>)</li>
<li>★1: <span id="commonBoxAllPercent"></span>% (<span id="commonBoxAllHave"></span>/<span id="commonBoxAllMax"></span>)</li>
<li>✩0: <span id="noneBoxAllPercent"></span>% (<span id="noneBoxAllHave"></span>/<span id="noneBoxAllMax"></span>)</li>
</ul>
</div>
<div class="col">
<h3>Exclude Event Prize Servants</h3>
<h4><small>Overall:</small> <em id="statisticBoxNotEventPercent"></em>% <small>(<span id="statisticBoxNotEventHave"></span>/<span id="statisticBoxNotEventMax"></span>)</small></h4>
<ul>
<li>★5: <span id="ssrBoxNotEventPercent"></span>% (<span id="ssrBoxNotEventHave"></span>/<span id="ssrBoxNotEventMax"></span>)</li>
<li>★4: <span id="srBoxNotEventPercent"></span>% (<span id="srBoxNotEventHave"></span>/<span id="srBoxNotEventMax"></span>)</li>
<li>★3: <span id="rareBoxNotEventPercent"></span>% (<span id="rareBoxNotEventHave"></span>/<span id="rareBoxNotEventMax"></span>)</li>
<li>★2: <span id="uncommonBoxNotEventPercent"></span>% (<span id="uncommonBoxNotEventHave"></span>/<span id="uncommonBoxNotEventMax"></span>)</li>
<li>★1: <span id="commonBoxNotEventPercent"></span>% (<span id="commonBoxNotEventHave"></span>/<span id="commonBoxNotEventMax"></span>)</li>
<li>✩0: <span id="noneBoxNotEventPercent"></span>% (<span id="noneBoxNotEventHave"></span>/<span id="noneBoxNotEventMax"></span>)</li>
</ul>
</div>
</div>
<hr/>
<div class="card" style="margin-top: 10px;">
<div class="card-header bg-warning header-shadow">★5 SSR</div>
<div class="card-body">
<div class="row listbox" id="ssrBox" style="display:none;"></div>
<div class="listbox_class" id="ssrBox-ByClass" style="display:none;"></div>
<div class="row" id="ssrBoxFake">
<div class="col">Loading...</div>
</div>
</div>
</div>
<div class="card" style="margin-top: 10px;">
<div class="card-header bg-warning header-shadow">★4 SR</div>
<div class="card-body">
<div class="row listbox" id="srBox" style="display:none;"></div>
<div class="listbox_class" id="srBox-ByClass" style="display:none;"></div>
<div class="row listbox_fake" id="srBoxFake">
<div class="col">Loading...</div>
</div>
</div>
</div>
<div class="card" style="margin-top: 10px;">
<div class="card-header bg-fgo-rare header-shadow">★3 R</div>
<div class="card-body">
<div class="row listbox" id="rareBox" style="display:none;"></div>
<div class="listbox_class" id="rareBox-ByClass" style="display:none;"></div>
<div class="row listbox_fake" id="rareBoxFake">
<div class="col">Loading...</div>
</div>
</div>
</div>
<div class="card" style="margin-top: 10px;">
<div class="card-header bg-fgo-common header-shadow">★2 Uncommon</div>
<div class="card-body">
<div class="row listbox" id="uncommonBox" style="display:none;"></div>
<div class="listbox_class" id="uncommonBox-ByClass" style="display:none;"></div>
<div class="row listbox_fake" id="uncommonBoxFake">
<div class="col">Loading...</div>
</div>
</div>
</div>
<div class="card" style="margin-top: 10px;">
<div class="card-header bg-fgo-common header-shadow">★1 Common</div>
<div class="card-body">
<div class="row listbox" id="commonBox" style="display:none;"></div>
<div class="listbox_class" id="commonBox-ByClass" style="display:none;"></div>
<div class="row listbox_fake" id="commonBoxFake">
<div class="col">Loading...</div>
</div>
</div>
</div>
<div class="card" style="margin-top: 10px;">
<div class="card-header bg-dark header-shadow">✩0 Non-Rarity</div>
<div class="card-body">
<div class="row listbox" id="noneBox" style="display:none;"></div>
<div class="listbox_class" id="noneBox-ByClass" style="display:none;"></div>
<div class="row listbox_fake" id="noneBoxFake">
<div class="col">Loading...</div>
</div>
</div>
</div>
</div>
<hr/>
<div id="note">
Note:
<ul>
<li><i class="fas fa-shield-alt"></i> = Starter Servant</li>
<li><i class="fas fa-lock"></i> = Story Unlock Servants</li>
<li><i class="fas fa-star"></i> = Limited Servants</li>
<li><i class="fas fa-gift"></i> = Event Reward</li>
</ul>
</div>
<div class="alert alert-info">
Sister sites forked from this one.
<ul>
<li><a href="https://an-kishi.github.io/pricon-checklist/" target="_blank">Princess Connect Re:Dive Characters Checklist</a></li>
</ul>
</div>
</div>
<!-- Footer -->
<footer id="footer" class="bd-footer">
<div class="container-fluid p-3 p-md-5">
<p>
By Nechigawara Sanzenin. This aplication is licensed under <a href="https://github.com/Nechigawara/nechi-fgo-checklist/blob/master/LICENSE" target="_blank">MIT</a>.<br/>
Fate/Grand Order and related materials are registered trademarks and properties of TYPE-MOON, Marvelous Inc., and Aniplex Inc.<br/>
Images hosted at <a href="https://imgur.com" target="_blank">imgur.com</a>.
<!-- Padoru Credit>
<span>BB Padoru by <a href="https://www.facebook.com/reichan.noshiyo" target="_blank">Rei Noshiyo</a></span-->
</p>
</div>
</footer>
<!-- Modal Add -->
<div class="modal" tabindex="-1" role="dialog" id="addModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Add Servant - <span id="nameAdd"></span></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="npAdd">Current NP level</label>
<select class="form-control" id="npAdd"></select>
<small id="npAddHelp" class="form-text text-muted">How many times have you upgraded this Servant's NP?</small>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" onclick="userDataUpdate()">Save changes</button>
</div>
</div>
</div>
</div>
<!-- Modal Update -->
<div class="modal" tabindex="-1" role="dialog" id="updateModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Update Servant - <span id="nameUpdate"></span></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="npUpdate">Current NP level</label>
<select class="form-control" id="npUpdate"></select>
<small id="npUpdateHelp" class="form-text text-muted">How many times have you upgraded this Servant's NP?</small>
</div>
</form>
<hr/>
<div style="text-align:center;">
<button type="button" class="btn btn-danger" onclick="userDataRemove()">Uncheck this servant</button>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" onclick="userDataUpdate()">Save changes</button>
</div>
</div>
</div>
</div>
<!-- Modal loading -->
<div class="modal" tabindex="-1" role="dialog" id="loadingModal" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body" style="text-align:center">
<img src="img/loading.gif">
</div>
</div>
</div>
</div>
<!-- End -->
</div>
<!-- EXTRA : Nero >
<div id="walk-container">
<img src="img/padoru/padoru-nero.png" class="d-inline-block align-top" alt="">
</div>
<!-- EXTRA : BB >
<div id="walk-container">
<img src="img/padoru/padoru-bb.png" class="d-inline-block align-top" alt="">
</div-->
<!-- JS After -->
<script src="js/index.js" crossorigin="anonymous"></script>
</body>
</html>