This repository has been archived by the owner on Aug 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
/
main.html.in
266 lines (241 loc) · 10.9 KB
/
main.html.in
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
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style/main.css">
<link rel="stylesheet" type="text/css" href="style/confirm.css">
<link rel="stylesheet" type="text/css" href="style/progress_activity.css">
<link rel="stylesheet" type="text/css" href="style/headers.css">
<link rel="stylesheet" type="text/css" href="style/drawer.css">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<!-- Load config scripts separately because compiled-method-cache.js
- depends on them. -->
<script type="text/javascript" src="config/default.js" defer></script>
<!-- #if CONFIG -->
<script type="text/javascript" src="@CONFIG@" defer></script>
<!-- #endif -->
<script type="text/javascript" src="config/build.js" defer></script>
<script type="text/javascript" src="config/urlparams.js" defer></script>
<!-- #if PROFILE > 0 -->
<!-- Load bld/shumway.js separately because j2me.js depends on it. -->
<script type="text/javascript" src="bld/shumway.js" defer></script>
<!-- #endif -->
<!--<script type="text/javascript" src="libs/terminal.js" defer></script>-->
<!-- Load promise-6.0.0.js and IndexedDB-getAll-shim.js separately
- because compiled-method-cache.js depends on them. -->
<script type="text/javascript" src="libs/promise-6.0.0.js" defer></script>
<script type="text/javascript" src="polyfill/IndexedDB-getAll-shim.js" defer></script>
<!-- Load compiled-method-cache.js separately because j2me.js depends on it. -->
<script type="text/javascript" src="libs/compiled-method-cache.js" defer></script>
<!-- Load bld/native.js separately because adding it to main-all.js
- throws an "asm.js type error". -->
<script type="text/javascript" src="bld/native.js" defer></script>
<!-- Load j2me.js separately because classes.jar.js depends on it (it adds
- members to the AOTMD hash that j2me.js defines); and also so its source
- map gets loaded by the debugger. -->
<script type="text/javascript" src="bld/j2me.js" defer></script>
<!-- Run `make aot` to generate these. Load them separately, because adding
- classes.jar.js to main-all.js fails silently for unknown reasons. -->
<!--<script type="text/javascript" src="bld/classes.jar.js" defer></script>-->
<!--<script type="text/javascript" src="bld/program.jar.js" defer></script>-->
<!--<script type="text/javascript" src="bld/tests.jar.js" defer></script>-->
<!-- Load the rest of the scripts from the combined script main-all.js
- to improve startup and runtime performance. See Makefile for the list
- of files that get combined into this one. -->
<script type="text/javascript" src="bld/main-all.js" defer></script>
</head>
<body>
<div id="pageContainer">
<!-- #if CONSOLE == "true" -->
<pre id="consoleContainer"></pre>
<!-- #endif -->
<div id="profilerContainer">
<div id="profilerToolbar">
<div class="toolbarLabel">Profiler <span id="profilerMessage" class="toolbarMessage">6 Seconds</span></div>
<div id="profilerButtons">
<div id="profilerStartStop">Start</div>
<div id="profilerAdjustHeight">Height</div>
</div>
</div>
<div id="profiler">
<div id="profileList">
</div>
<div id="profilePanel">
</div>
</div>
</div>
</div>
<!-- #if CONSOLE == "true" -->
<!-- The raw console is used for unit tests, so it's not visible by default: -->
<pre id="raw-console" style="display: none"></pre>
<!-- #endif -->
<div id="display-container">
<div id="display">
<section id="sidebar" data-type="sidebar" style="display:none">
<header>
<h1>Menu</h1>
</header>
<nav>
<ul>
</ul>
</nav>
</section>
<section id="drawer" role="region">
<header style="display:none">
<a href="#"><span class="icon icon-menu">hide sidebar</span></a>
<a id="header-drawer-button" href="#drawer"><span class="icon icon-menu">show sidebar</span></a>
<menu id="header-ok-button" type="toolbar" style="display:none"><button>√</button></menu>
<h1 id="display_title"></h1>
</header>
<div id="main" role="main">
<canvas id="canvas"></canvas>
<input id="password-editor" class="text-editor" type="password">
<input id="tel-editor" class="text-editor" type="tel">
<input id="number-editor" class="text-editor" type="number">
<input id="email-editor" class="text-editor" type="email">
<input id="url-editor" class="text-editor" type="url">
<div id="textarea-editor" class="text-editor" contenteditable="true"></div>
<!-- The hidden textarea editor is used to measure the content height -->
<div id="hidden-textarea-editor" class="text-editor"></div>
<button id="back-button">Back</button>
</div>
</section>
<div id="gamepad">
<button id="up">up</button>
<button id="down">down</button>
<button id="left">left</button>
<button id="right">right</button>
<button id="fire">fire</button>
</div>
<div id="download-screen" class="screen">
<h1 class="title">Downloading @MIDLET_NAME@…</h1>
<div class="download-progress-container">
<progress class="pack-activity" value="0" max="100"></progress>
</div>
</div>
<div id="splash-screen" class="screen">
<h1 class="title">Starting @MIDLET_NAME@…</h1>
<div class="splash-progress-container">
<progress></progress>
</div>
</div>
<div id="exit-screen" class="screen">
</div>
<div id="background-screen">
</div>
<form role="dialog" data-type="confirm"
class="lcdui-alert"
id="lcdui-alert" style="display: none">
<section>
<h1 class="title"></h1>
<p class="text"></p>
<p style="border-top: 0"><progress style="display: none"></progress></p>
</section>
<menu>
<button class="button0" style="display: none"></button>
<button class="button1" style="display: none"></button>
</menu>
</form>
<form role="dialog" data-type="confirm"
class="sms-listener-prompt"
id="sms-listener-prompt" style="display: none">
<section>
<h1>SMS Verification</h1>
<p class="verificationText"></p>
<input type="text" placeholder="Type SMS Here">
<p class="timeLeft"></p>
<progress class="timeLeftBar" value="0" max="100"></progress>
</section>
<menu>
<button class="cancel">Cancel</button>
<button class="recommend">Done</button>
</menu>
</form>
<form role="dialog" data-type="confirm"
class="nokia-fileui-prompt"
id="nokia-fileui-prompt" style="display: none">
<section>
<h1>Select a file</h1>
<p><input type="file" name="nokia-fileui-file">
</section>
<menu>
<button class="cancel">Cancel</button>
<button class="recommend">Done</button>
</menu>
</form>
<form role="dialog" data-type="confirm"
class="download-failure-dialog"
id="download-failure-dialog" style="display: none">
<section>
<h1 class="download-dialog-text">Download failure</h1>
<p>The download of @MIDLET_NAME@ failed. Press <i>Retry</i> to try again.</p>
</section>
<menu>
<button class="recommend">Retry</button>
</menu>
</form>
</div>
<div id="settings">
<section>
<table id="counters">
<tr><td>Bytecode:</td><td><span id="bytecodeCount"></span></td></tr>
<tr><td>Compiled:</td><td><span id="compiledCount"></span></td></tr>
<tr><td>Interpreter:</td><td><span id="interpreterCount"></span></td></tr>
<tr><td>OSR:</td><td><span id="onStackReplacementCount"></span></td></tr>
<tr><td>Unwind:</td><td><span id="unwindCount"></span></td></tr>
<tr><td>Preemption:</td><td><span id="preemptionCount"></span></td></tr>
</table>
</section>
<section>
<select id="loglevel">
<option value="0">Log Level: Trace
<option value="1">Log Level: Log
<option value="2">Log Level: Info
<option value="3">Log Level: Warn
<option value="4">Log Level: Error
<option value="5">Log Level: Silent
</select>
<!-- #if CONSOLE == "true" -->
<input id="console-filter-input" type="text" placeholder="Filter Console Output" value="">
<button id="console-clear">Clear console</button>
<button id="console-save">Save console</button>
<!-- #endif -->
<label><input type="checkbox" id="perfWriter">Perf</label>
</section>
<section>
<button id="exportstorage">Export File System</button>
<div>Import File System:</div>
<input type="file" id="importstoragefile">
<input type="text" id="importstorageurl" placeholder="URL to FS backup">
<button id="importstorage">Import</button>
<button id="clearCompiledMethodCache">Clear Compiled Method Cache</button>
<button id="deleteDatabases">Delete IDB Databases</button>
<button id="printAllExceptions">Print all exceptions: OFF</button>
<button id="clearCounters">Clear Counters</button>
<button id="dumpCounters">Dump Counters</button>
<button id="sampleCounters1">One sample for 1s</button>
<button id="sampleCounters2">One sample for 100ms (2s)</button>
<select id="canvasSize">
<option value="" selected>Display size: 240x320</option>
<option value="size-320x240">Display size: 320x240</option>
<option value="size-320x480">Display size: 320x480</option>
<option value="size-480x320">Display size: 480x320</option>
</select>
<button id="start">Start</button>
</section>
<!-- #if BENCHMARK == "true" -->
<section id="benchmark">
<button id="benchmark-startup-run">Run Startup Benchmark</button>
<button id="benchmark-startup-baseline">Build Benchmark Baseline</button>
<label><input type="number" min="1" max="100" id="benchmark-num-rounds"> Rounds</label>
<label><input type="number" id="benchmark-round-delay" min="0" max="20000"> Round Delay(ms)</label>
<label><input type="checkbox" id="benchmark-warm-startup">Benchmark warm startup</label>
<label><input type="number" id="benchmark-startfg-delay" min="0" max="60000"> Delay after starting BG MIDlet</label>
<label><input type="checkbox" id="benchmark-delete-fs">Delete FS before round</label>
<label><input type="checkbox" id="benchmark-delete-jit-cache">Delete JIT cache before round</label>
</section>
<!-- #endif -->
</div>
</div>
</body>
</html>