-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
208 lines (203 loc) · 9.47 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
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inconsolata:[email protected]&display=swap" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<link rel="manifest" href="/static/site.webmanifest">
<link rel="mask-icon" href="/static/safari-pinned-tab.svg" color="#5bbad5">
<meta name="apple-mobile-web-app-title" content="Alice! Run!">
<meta name="application-name" content="Alice! Run!">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="theme-color" content="#4ca1af">
<link rel="stylesheet" href="src/main.css" />
<title>Alice! Run!</title>
</head>
<body>
<div id="app"></div>
<section class="connect_section screen">
<button class="connect_bt glass">
<img class="joycon" alt="Joycon" src="src/assets/images/joycon.svg" />
<div class="hint">
<div>Connect to your</div>
<div class="large">Joy-Con</div>
</div>
</button>
</section>
<div class="connected hidden">
<section class="title_section centered_section screen" data-router="/">
<div class="logo_container"><img class="logo" alt="Logo" src="src/assets/images/logo.svg" /></div>
<button class="menu-button glass" data-to-router="/single" data-click-sound="glass-click.m4a">Single
Player</button>
<button class="menu-button multiple glass" data-to-router="/play?mode=multiple">Multiple Player</button>
<button class="menu-button glass" data-to-router="/settings">Settings</button>
</section>
<div>
<div class="connections" data-router="/">
<button class="settings-p1-button glass" data-to-router="/settings/joycon?id=p1">
<img class="connection settings-p1" alt="Player 1" src="src/assets/images/miniJoyCon.svg" />
<img class="connection settings-bot-p1" alt="Player 1" src="src/assets/images/robot.svg" />
<span class="player-tag">P1</span>
</button>
<button class="connect-p2-button glass" data-to-router="/">
<img class="connection connect-p2" alt="Player 2" src="src/assets/images/offline.svg" />
<img class="connection settings-bot-p2" alt="Player 2" src="src/assets/images/robot.svg" />
<span class="player-tag">P2</span>
</button>
<button class="settings-p2-button glass" data-to-router="/settings/joycon?id=p2">
<img class="connection settings-p2" alt="Player 2" src="src/assets/images/miniJoyCon.svg" />
<img class="connection settings-bot-p2" alt="Player 2" src="src/assets/images/robot.svg" />
<span class="player-tag">P2</span>
</button>
</div>
</div>
<section class="settings_section centered_section screen" data-router="/settings/joycon">
<div class="menu-title">Controller</div>
<div class="glass glass-checkbox">
<input type="checkbox" class="bot-mode" id="bot-mode" />
<label for="bot-mode">Bot Mode</label>
</div>
<div class="glass glass-slide">
<input type="range" min="0.1" max="1" value="1" step="0.01" class="sensitivity" />
<span>Sensitivity</span>
</div>
<button class="menu-button glass change-controller">Change Controller</button>
<button class="menu-button glass" data-to-router="/settings/diagnosis-hid?id=@">Diagnoses HID</button>
<button class="menu-button glass" data-to-router="/">Back</button>
</section>
<section class="recording centered_section screen" data-router="/settings/diagnosis-hid">
<div class="menu-title">Diagnoses HID</div>
<div class="menu-hint glass">
<p>
Press the record button, to recird data after three seconds, for one minute.
</p>
<p>
If you are willing to help us collect debugging data for the sensor, please follow the flashing prompts to run
in place.
</p>
</div>
<div class="diagnosis-charts">
</div>
<button class="menu-button glass start_record">Record</button>
<button class="menu-button glass" data-to-router="/settings/joycon?id=@">Back</button>
</section>
<section class="centered_section screen" data-router="/single">
<div class="menu-title">Single Player</div>
<button class="menu-button glass" data-to-router="/single/list">Story Mode</button>
<button class="menu-button glass" data-to-router="/play?mode=single&mode1=infinite">Infinite Mode</button>
<button class="menu-button glass" data-to-router="/">Back</button>
</section>
<section class="screen stories" data-router="/single/list">
<div class="main-content">
<div class="menu-title">Stories</div>
<div class="empty-content"></div>
<button class="menu-button glass" data-to-router="/single">Back</button>
</div>
<ol class="story-list">
<li><div data-to-router="/play?mode=single&mode1=story&episode=0"><span>1</span></div></li>
<li><div data-to-router="/play?mode=single&mode1=story&episode=1"><span>2</span></div></li>
<li><div data-to-router="/play?mode=single&mode1=story&episode=2"><span>3</span></div></li>
<li><div data-to-router="/play?mode=single&mode1=story&episode=3"><span>4</span></div></li>
<li><div data-to-router="/play?mode=single&mode1=story&episode=4"><span>5</span></div></li>
<li><div data-to-router="/play?mode=single&mode1=story&episode=5"><span>6</span></div></li>
<li><div data-to-router="/play?mode=single&mode1=story&episode=6"><span>7</span></div></li>
</ol>
</section>
<section class="screen" data-router="/play">
<div class="hp-bar">
<div class="hp-bar-val"></div>
</div>
<div class="stat">
<div class="stat-item">
<div class="title">TIME</div>
<div class="value time-value">000:00</div>
</div>
<div class="stat-item" hidden>
<div class="title">TYPE</div>
<div class="value type-value">--</div>
</div>
<div class="stat-item">
<div class="title">STEPS</div>
<div class="value steps-value p1">0000</div>
<div class="value steps-value p2">0000</div>
</div>
<div class="stat-item">
<div class="title">SPM</div>
<div class="value spm-value p1">000</div>
<div class="value spm-value p2">000</div>
</div>
</div>
<div class="right-panel">
<div class="bar vertical-bar">
<div class="low-range-limit-area"></div>
<div class="high-range-limit-area"></div>
</div>
<i class="current-value"></i>
</div>
<button class="finish-training glass">Finish</button>
<div class="spm-stat">
<div class="modal-title">Summary</div>
<div class="final-stat">
<div class="stat-item">
<div class="title">STEPS</div>
<div class="value steps-value p1">0000</div>
<div class="value steps-value p2">0000</div>
<div class="title p2">STEPS</div>
</div>
<div class="stat-item">
<div class="title time-title">TIME</div>
<div class="value time-value">000:00</div>
</div>
<div class="stat-item">
<div class="title">SPM</div>
<div class="value spm-value p1">0000</div>
<div class="value spm-value p2">0000</div>
<div class="title p2">SPM</div>
</div>
</div>
<div class="spm-chart-container">
<canvas id="spm-chart-p1"></canvas>
<canvas id="spm-chart-p2"></canvas>
</div>
<button class="menu-button glass stat-chart-back" data-to-router="/">Back</button>
</div>
</section>
<section class="settings_section centered_section screen" data-router="/settings">
<div class="menu-title">Settings</div>
<div class="glass glass-slide">
<input type="range" min="0.05" max="1" value="1" step="0.01" class="rendering-detail" />
<span>Rendering Detail</span>
</div>
<div class="glass glass-checkbox">
<input type="checkbox" class="rendering-pixelated" id="rendering-pixelated" />
<label for="rendering-pixelated">Pixelated</label>
</div>
<div class="glass glass-slide">
<input type="range" min="0.1" max="1" value="1" step="0.01" class="visual-load" />
<span>Visual Load</span>
</div>
<div class="glass glass-slide">
<input type="range" min="-30" max="30" value="0" step="1" class="difficulty" />
<span>Difficulty</span>
</div>
<button class="menu-button glass" data-to-router="/">Back</button>
</section>
<div class="reconnect hidden">
<img class="joycon" alt="Joycon" src="src/assets/images/joyconDisconnected.svg" />
<div class="hint">
<div><span>Tap to</span><br /><span class="disconnected">Reconnect</span></div>
</div>
</div>
</div>
<div class="story-visualize-container hidden">
<div id="story-visualize"></div>
</div>
<script src="src/index.ts" type="module"></script>
</body>
</html>