-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
564 lines (543 loc) · 25 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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>figurosity - beta</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="keywords" contect="poseman,figurosity">
<meta name="description" contect="online pose vierer">
<link rel="shortcut icon" href="favicon.ico">
<meta name="Author" contect="[email protected]">
<meta name="full-screen" content="yes">
<meta name="browsermode" content="application">
<meta name="x5-fullscreen" content="true">
<meta name="x5-page-mode" content="app">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/materialize.min.css">
<link rel="stylesheet" href="css/x0popup.min.css">
<link rel="stylesheet" href="css/hsycmsAlert.css">
<link rel="stylesheet" href="font/icon.css">
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<div class="modal" id="modal_setting">
<div class="modal-content">
<div class="input-field col s12" id='option-Image-Size'>
<select id="Image-Size">
<option value="" disabled >Choose your option</option>
<option value="512">512</option>
<option value="900">900</option>
<option value="2048">2048</option>
</select>
<label>Image-Size</label>
</div>
<div class="input-field col s12" id='option-Thumb-Image-Size'>
<select id="Thumb-Image-Size">
<option value="" disabled >Choose your option</option>
<option value="100">100</option>
<option value="512">512</option>
<option value="900">900</option>
<option value="2048">2048</option>
</select>
<label>Thumb-Image-Size</label>
</div>
<div class="input-field col s12" id='option-autoload-thumbs'>
<label>
<input type="checkbox" class="filled-in" id='autoload-thumbs'/>
<span>autoloadThumbs</span>
</label>
</div>
<div class="input-field col s12">
<select id="viewer-click-action">
<option value="0">Choose your option</option>
<option value="1">stop/pause</option>
<option value="2">next</option>
</select>
<label>viewer-on-click</label>
</div>
<div class="input-field col s12">
Dark-Mode<br>
<div class="switch">
<label>
Off
<input type="checkbox" id='dark-mode' onchange="switchDarkMode();">
<span class="lever"></span>
On
</label>
</div>
</div>
</div>
<div class="modal-footer">
<a href="javascript: applySetting()" class="modal-close waves-effect waves-green btn-flat">Apply</a>
</div>
</div>
<div class="modal" id="modal_fitler">
<div class="modal-content">
<div class="divider"></div>
<div class="section" id="ps_models" data-mult=true>
<h5>MODELS</h5>
<div class="chips chips-placeholder"></div>
<select>
<option>Cara</option>
<option>Victoria</option>
<option>Lee</option>
<option>Mei Lin</option>
<option>Olympia</option>
<option>Tyler</option>
<option>Sue</option>
<option>Ashley</option>
<option>George</option>
<option>Elizabeth</option>
<option>Monique</option>
<option>Lee lou</option>
<option>Aurora</option>
<option>Zander</option>
<option>Jake</option>
<option>Sarah</option>
<option>William</option>
<option>Floyd</option>
<option>Denise</option>
<option>Kiera</option>
<option>Tiny</option>
<option>Cameron</option>
<option>Junko</option>
<option>Becky</option>
<option>Nai Nai</option>
<option>Marcus</option>
<option>Priya</option>
<option>Zane</option>
<option>Titan</option>
<option>Asato</option>
</select>
</div>
<div class="divider"></div>
<div class="section" id="ps_cameras" data-mult=true>
<h5>CAMERAS</h5>
<div class="chips chips-placeholder"></div>
<select>
<option>Default</option>
<option>Down</option>
<option>Up</option>
</select>
</div>
<div class="divider"></div>
<div class="section" id="ps_gender" data-mult=true>
<h5>GENDER</h5>
<div class="chips chips-placeholder"></div>
<select>
<option>Male</option>
<option>Female</option>
</select>
</div>
<div class="divider"></div>
<div class="section" id="ps_style" data-mult=true>
<h5>STYLE</h5>
<div class="chips chips-placeholder"></div>
<select>
<option>Martial Art</option>
<option>Sensual</option>
<option>Superhero</option>
<option>Casual</option>
<option>Action</option>
<option>Combat</option>
<option>Pinup</option>
<option>Fantasy</option>
<option>Gymnastics</option>
<option>Figure drawing</option>
<option>Horror</option>
</select>
</div>
<div class="divider"></div>
<div class="section" id="ps_action" data-mult=true>
<h5>ACTION</h5>
<div class="chips chips-placeholder"></div>
<select>
<option>Riding</option>
<option>Flying</option>
<option>Jumping</option>
<option>Punching</option>
<option>Fighting</option>
<option>Floating</option>
<option>Dancing</option>
<option>Kneeling</option>
<option>Kicking</option>
<option>Lying</option>
<option>Runing</option>
<option>Crouching</option>
<option>Sitting</option>
<option>Standing</option>
<option>Kneeling</option>
<option>Kicking</option>
<option>Lying</option>
<option>Running</option>
<option>Crouching</option>
<option>Sitting</option>
<option>Standing</option>
<option>Walking</option>
<option>Squating</option>
<option>Strtching</option>
<option>Bending</option>
<option>Handstand</option>
<option>Falling</option>
<option>Lunging</option>
</select>
</div>
<div class="divider"></div>
<div class="section" id="ps_props" data-mult=true>
<h5>PROPS</h5>
<div class="chips chips-placeholder"></div>
<select>
<option>Skateboard</option>
<option>Hands Empty</option>
<option>Gun</option>
<option>Bow</option>
<option>Coffee Cup</option>
<option>Sword</option>
<option>Staff</option>
<option>Chair</option>
<option>Balance Beam</option>
</select>
</div>
<div class="divider"></div>
<div class="section text-center" id="ps_models" data-mult=true>
<a class="modal-close waves-effect waves-light btn-large" href="javascript: $('#_list').html('');pose_search();" id="btn-search">Search</a>
<a class="waves-effect waves-light btn-large" href="javascript: reset_fitler();" id="btn-search">Reset</a>
</div>
</div>
</div>
<div class="container hide" id="pose-search">
<div class="_flex_navbar teal lighten-2">
<a href="javascript: showUI('main')" class="modal-trigger">
<i class="material-icons medium">arrow_back</i>
</a>
<a href="#modal_fitler" class="modal-trigger">
<i class="material-icons right medium">search</i>
</a>
<span class="text-center -count">Loading...</span>
<div class="divider"></div>
</div>
<div class="row -list"></div>
</div>
<div class="container hide" id="pose-favorites">
<div class="_flex_navbar teal lighten-2">
<a href="javascript: showUI('main')" class="modal-trigger">
<i class="material-icons medium">arrow_back</i>
</a>
<a href="#modal_fitler" class="modal-trigger">
<i class="material-icons right medium">search</i>
</a>
<span class="text-center -count">Loading...</span>
<div class="divider"></div>
</div>
<div class="row -list"></div>
</div>
<div class="container text-center hide" id="ui_viewer">
<div id="viewer">
<span id='_sec-next' class="hide">3</span>
<div class="row" id="_status">
<div class="col s2">
<span id='_playSec'>00:00</span>
</div>
<div class="col s2" onclick="turnRight()">
<i class="material-icons">rotate_left</i>
</div>
<div class="col s2" onclick="spturn()">
<i class="material-icons">rotate_90_degrees_ccw</i>
</div>
<div class="col s2" onclick="czturn()">
<i class="material-icons mirrorRotateLevel">rotate_90_degrees_ccw</i>
</div>
<div class="col s2" onclick="turnLeft()">
<i class="material-icons">rotate_right</i>
</div>
<div clsas="col s2" onclick="openModal('#modal_setting')">
<i class="material-icons">settings</i>
</div>
</div>
<a class='dropdown-trigger btn right' href='#' data-target='dropdown1'>Skin</a>
<!-- <a class='dropdown-trigger btn right' href='#' data-target='dropdown2'>Camera</a> -->
<ul id='dropdown1' class='dropdown-content'>
<li data-value='normal'>
<a href="javascript: setModel('normal')">Dressed</a>
</li>
<li data-value='nude'>
<a href="javascript: setModel('nude')">Nude</a>
</li>
<li data-value='muscle'>
<a href="javascript: setModel('muscle')">Muscle</a>
</li>
<li data-value='smooth'>
<a href="javascript: setModel('smooth')">Smooth</a>
</li>
<li style="padding: 10px;">
<label>
<input type="checkbox" class="filled-in" id='model-Always'/>
<span>Always</span>
</label>
</li>
</ul>
<!-- <ul id='dropdown2' class='dropdown-content'>
<li><a href="javascript: setEyeLevel('Street')">Street</a></li>
<li><a href="javascript: setEyeLevel('Bird')">Bird's</a></li>
<li><a href="javascript: setEyeLevel('Worm')">Worm's</a></li>
</ul> -->
<img onclick="viewer_click();">
</div>
<div class="row _control">
<div class="_header">
<span class="col s1" id='_index'></span>
<span class="col s9 _title">
</span>
<span class="col s2" id='_sec'>10</span>
</div>
<div class="col s1">
<i class="material-icons" onclick="offset_prev();">arrow_back</i>
</div>
<div class="col s10">
<p class="range-field">
<input type="range" id="range" min="0" max="32" onchange="event_rangeChange();" oninput="event_rangeChange(true);"/>
</p>
</div>
<div class="col s1">
<i class="material-icons" onclick="offset_next();">arrow_forward</i>
</div>
<div class="col s2">
<i class="material-icons" id='favorite' onclick="favorite($('#favorite'));">favorite_border</i>
</div>
<div class="col s2">
<i class="material-icons" onclick="prev_pose()">arrow_back</i>
</div>
<div class="col s2">
<i class="material-icons" id='pause' onclick="stop();">pause</i>
</div>
<div class="col s2">
<i class="material-icons" onclick="next_pose();">arrow_forward</i>
</div>
<div class="col s2">
<i class="material-icons" onclick="window.open('https://figurosity.com/figure-drawing-poses/'+g_v_showing.id);">open_in_new</i>
</div>
<div class="col s2">
<i class="material-icons" onclick="quickPose_end();showUI(g_s_ui_last);">exit_to_app</i>
</div>
</div>
</div>
<div class="container blue lighten-1 text-center row hide" id='sets'>
<div class="-header col s12">
<img src="">
</div>
<div class="-cover_list">
</div>
</div>
<div class="container blue lighten-1 text-center" id='main'>
<div class="row">
<div class="col s12"><h4><a target="_blank" href='https://github.com/hunmer/figurosity'>figurosity</a></h4></div>
<div class="col s6" onclick="_view('quick-pose');"><h5>1> QUICK POSES</h5></div>
<div class="col s6" onclick="_view('pose-search');"><h5>2> POSE SEARCH</h5></div>
<div class="col s12" onclick="_view('favorites');"><h5>3> FAVORITES</h5></div>
<!-- <div class="col s12" onclick="_view('quick-pose');">
<h5>SETS OF POSES</h5>
<img src="images/SETS OF POSES.jpg">
</div> -->
<div class="col s12" onclick="_view('dogs');">
<h5>DOGS</h5>
<img src="images/dogs.jpg">
</div>
<div class="col s12" onclick="_view('horses');">
<h5>HORSES</h5>
<img src="images/horses.jpg">
</div>
<div class="col s12" onclick="_view('martial-arts-poses');">
<h5>MARTIAL ARTS POSES</h5>
<img src="images/martial-arts-poses.jpg">
</div>
<div class="col s12" onclick="_view('superhero-poses');">
<h5>SUPERHERO POSES</h5>
<img src="images/superhero-poses.jpg">
</div>
<div class="col s12" onclick="_view('girls-with-guns-poses');">
<h5>GIRLS WITH GUNS POSES</h5>
<img src="images/girls-with-guns-poses.jpg"></div>
</div>
</div>
<div class="container text-center hide" id="quick-pose">
<div class="divider"></div>
<div class="section" id="durations" data-mult=false>
<h5>DURATIONS</h5>
<div class="row">
<div class="col s2" data-sec=15>15s</div>
<div class="col s2" data-sec=30>30s</div>
<div class="col s2" data-sec=60>60s</div>
<div class="col s2" data-sec=120>2 m</div>
<div class="col s2" data-sec=300>5 m</div>
<div class="col s2" id="_custom-time" onclick="confirm_setCustomTime()">diy</div>
</div>
</div>
<div class="divider"></div>
<div class="section" id="camera_angle" data-mult=true>
<h5>CAMERA ANGLE</h5>
<div class="row">
<div class="col s4">
<img src="images/street Level.jpg" alt="street Level">
<p>street Level</p>
</div>
<div class="col s4">
<img src="images/brid's Eye.jpg" alt="brid's Eye">
<p>brid's Eye</p>
</div>
<div class="col s4">
<img src="images/Worm's Eye.jpg" alt="Worm's Eye">
<p>Worm's Eye</p>
</div>
</div>
</div>
<!-- <div class="divider"></div>
<div class="section" id="pose_direction" data-mult=true>
<h5>POSE DIRECTION</h5>
<div class="row">
<div class="col s4">Back</div>
<div class="col s4">Side</div>
<div class="col s4">Front</div>
</div>
</div> -->
<div class="divider"></div>
<div class="section" id="models" data-mult=true>
<h5>MODELS</h5>
<div class="row">
<div class="col s3">
<img class="circle" src="images/normal.jpg" alt="Dressed">
<p>Dressed</p>
</div>
<div class="col s3">
<img class="circle" src="images/nude.jpg" alt="Nude">
<p>Nude</p>
</div>
<div class="col s3">
<img class="circle" src="images/muscle.jpg" alt="Muscle">
<p>Muscle</p>
</div>
<div class="col s3">
<img class="circle" src="images/smooth.jpg" alt="Smooth">
<p>Smooth</p>
</div>
</div>
</div>
<div class="divider"></div>
<div class="section" id="gender" data-mult=true>
<h5>GENDER</h5>
<div class="row">
<div class="col s6">
<img src="images/mars.svg" alt="Male">
<p>Male</p>
</div>
<div class="col s6">
<img src="images/venus.svg" alt="Female">
<p>Female</p>
</div>
</div>
</div>
<div class="divider"></div>
<div class="section" id="load_count" data-mult=false style="display: none">
<h5>load amount</h5>
<div class="row">
<input type="number" value="30">
</div>
</div>
<p></p>
<!-- <div class="section" id="light_direction" data-mult=true>
<h5>LIGHT DIRECTION</h5>
<div class="row">
<div class="col s6">
<img src="images/light-left.svg" alt="Left">
<p>Left</p>
</div>
<div class="col s6">
<img src="images/light-right.svg" alt="Right">
<p>Right</p>
</div>
</div>
</div> -->
<div class="divider"></div>
<div class="row" data-disable="true" style="margin-top: 10px;">
<div class="col s12" data-disable="true">
<a class="waves-effect waves-light btn-large" href="javascript: showUI('main');">BACK</a>
<a class="waves-effect waves-light btn-large" href="javascript: saveQuickPose();quickPose_preload();" id="btn-start">START</a>
</div>
</div>
</div>
<!-- 弹窗插件 -->
<!--普通弹窗-->
<div class="hsycms-model-mask" id="mask-alert"></div>
<div class="hsycms-model hsycms-model-alert" id="alert">
<div class="hscysm-model-title">温馨提示</div>
<div class="hsycms-model-text">这里是内容</div>
<div class="hsycms-model-btn">
<button type="button ok">确定</button>
</div>
</div>
<!--提示弹窗-->
<div class="hsycms-model-mask" id="mask-tips"></div>
<div class="hsycms-model hsycms-model-tips" id="tips">
<div class="hsycms-model-text">这里是提示内容</div>
</div>
<!--询问弹窗-->
<div class="hsycms-model-mask" id="mask-confirm"></div>
<div class="hsycms-model hsycms-model-confirm" id="confirm">
<div class="hscysm-model-title">温馨提示</div>
<div class="hsycms-model-text">确定要操作?</div>
<div class="hsycms-model-btn">
<button type="button" class="cancel">取消</button>
<button type="button" class="ok">确定</button>
</div>
</div>
<div class="hsycms-model-mask" onclick="hsycms.closeAll()" id="mask-model"></div>
<div class="hsycms-model hsycms-model-model" id="model">
<div class="hscysm-model-title">自定义弹窗</div>
<div class="hsycms-model-content"></div>
</div>
<!--提交成功-->
<div class="hsycms-model-mask" id="mask-success"></div>
<div class="hsycms-model hsycms-model-success" id="success">
<div class="hsycms-model-icon">
<svg width="50" height="50">
<circle class="hsycms-alert-svgcircle" cx="25" cy="25" r="24" fill="none" stroke="#238af4" stroke-width="2"></circle>
<polyline class="hsycms-alert-svggou" fill="none" stroke="#238af4" stroke-width="2.5" points="14,25 23,34 36,18" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
<div class="hsycms-model-text">操作成功</div>
</div>
<!--提交失败-->
<div class="hsycms-model-mask" id="mask-error"></div>
<div class="hsycms-model hsycms-model-error" id="error">
<div class="hsycms-model-icon">
<svg width="50" height="50">
<circle class="hsycms-alert-svgcircle" cx="25" cy="25" r="24" fill="none" stroke="#f54655" stroke-width="2"></circle>
<polyline class="hsycms-alert-svgca1" fill="none" stroke="#f54655" stroke-width="2.5" points="18,17 32,35" stroke-linecap="round" stroke-linejoin="round" />
<polyline class="hsycms-alert-svgca2" fill="none" stroke="#f54655" stroke-width="2.5" points="18,35 32,17" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
<div class="hsycms-model-text">操作失败</div>
</div>
<!--这是Loading-->
<div class="hsycms-model-mask" id="mask-loading"></div>
<div class="hsycms-model hsycms-model-loading" id="loading" onclick="setLoading(false);cancelLoading();">
<div class="hsycms-model-load">
<span></span>
<span></span>
<span></span>
</div>
<div class="hsycms-model-text">正在加载</div>
</div>
</body>
<script src="js/jquery.min.js"></script>
<script src="js/until.js"></script>
<script src="js/x0popup.min.js"></script>
<script src="js/hsycmsAlert.js"></script>
<script src="js/materialize.min.js"></script>
<script src="js/imagesloaded.min.js"></script>
<script src="js/lazyload.min.js"></script>
<script src="js/index.js"></script>
</html>