forked from nikken7101/triboxStickersPreview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (88 loc) · 4 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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<link href="tsp.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>tribox Stickers Preview</title>
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand">tribox Stickers Preview</a>
</div>
</div>
</nav>
<div class="container" style="max-width: 800px; overflow: hidden;">
<div class="row">
<div class="col-md-8 col-sm-8" id="g-cube-container">
<g-cube>
<g-scramble>M2 E2 S2</g-scramble>
<g-florian>0.2em</g-florian>
</g-cube>
</div>
<div class="col-md-4 col-sm-4">
<div class="form-group">
<label for="bodyColorSelect">Body color</label>
<select class="form-control" id="bodyColorSelect">
<option value='black'>ブラック</option>
<option value='white'>ホワイト</option>
<option value='transparent'>透明</option>
<option value='red'>レッド</option>
<option value='blue'>ブルー</option>
<option value='yellow'>イエロー</option>
<option value='green'>グリーン</option>
<option value='orange'>オレンジ</option>
<option value='grey'>グレー</option>
<option value='brown'>ブラウン</option>
<option value='lightblue'>ライトブルー</option>
<option value='cyan'>シアン</option>
<option value='pink'>ピンク</option>
</select>
</div>
<div class="form-group">
<label for="stickerInput">Input your color scheme in <a
href="http://store.tribox.com/user_data/color-scheme.php" target="_blank">tribox format</a>
(Color list is available <a href="http://store.tribox.com/user_data/sticker.php" target="_blank">here</a>)</label>
<textarea id="stickerInput" class="form-control" rows="6">
U: 025
D: 010
L: 052
F: 032
R: 062
B: 395</textarea>
</div>
<div class="form-group" style="text-align: center">
<button id="previewButton" class="btn btn-primary">Preview!</button>
</div>
<div id="invalid-notice-container">
<h4 id="invalid-notice" style="display:none"><span class="label label-danger">Invalid format!</span>
</h4>
</div>
<strong>Share this color scheme</strong><br>
<div id="twitterShare">
<a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-count="none" data-hashtags="triboxStickersPreview">Tweet</a>
<script>!function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + '://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js, fjs);
}
}(document, 'script', 'twitter-wjs');</script>
</div>
<div style="margin-top: 30px; margin-bottom: 30px;">
<a href="./" class="btn btn-default btn-sm" role="button">リセットする</a>
</div>
</div>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://molarmanful.github.io/gCube/gcube.min.js"></script>
<script src="settings.js"></script>
<script src="tsp.js"></script>
</body>
</html>