Mercurial > hg > orthanc-stone
annotate Resources/CodeGeneration/testWasmIntegrated/testWasmIntegrated.html @ 498:6d62fc8a6988 bgo-commands-codegen
Web demonstrator for codegen ongoing work
author | bgo-osimis |
---|---|
date | Sun, 24 Feb 2019 13:23:14 +0100 |
parents | 8b6ceae45ba0 |
children | baa9e1e932db |
rev | line source |
---|---|
496
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
1 <!doctype html> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
2 |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
3 <html lang="us"> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
4 <head> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
5 <meta charset="utf-8" /> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
7 |
498 | 8 <title>Javascript to WASM message passing</title> |
496
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
9 <link href="styles.css" rel="stylesheet" /> |
498 | 10 <!-- <link href="styles2.css" rel="stylesheet" /> --> |
11 <!-- | |
12 <link href="testwasm_bootstrap.css" rel="stylesheet" /> | |
13 --> | |
14 <body> | |
15 <div class="TestWasm-grid-container"> | |
16 <textarea id="TestWasm-SerializedInput" class="TestWasm-SerializedInput"> | |
17 Serialized data should be put here. | |
18 </textarea> | |
19 <textarea id="TestWasm-CppOutput" class="TestWasm-CppOutput"> | |
20 Free text and messages from C++ will appear here. | |
21 </textarea> | |
22 <div class="TestWasm-Trigger"> | |
23 <button class="TestWasm-button TestWasm-hvcenter" tool-selector="Trigger">Send message</button> | |
24 </div> | |
25 <div class="TestWasm-Test1"> | |
26 <button class="TestWasm-button" tool-selector="Test 1">Test 1</button> | |
27 </div> | |
28 <div class="TestWasm-Test2"> | |
29 <button class="TestWasm-button" tool-selector="Test 2">Test 2</button> | |
30 </div> | |
31 <div class="TestWasm-Test3"> | |
32 <button class="TestWasm-button" tool-selector="Test 3">Test 3</button> | |
33 </div> | |
34 <div class="TestWasm-Test4"> | |
35 <button class="TestWasm-button" tool-selector="Test 4">Test 4</button> | |
36 </div> | |
37 <div class="TestWasm-Test5"> | |
38 <button class="TestWasm-button" tool-selector="Test 5">Test 5</button> | |
39 </div> | |
40 <div class="TestWasm-Test6"> | |
41 <button class="TestWasm-button" tool-selector="Test 6">Test 6</button> | |
42 </div> | |
43 <div class="TestWasm-Test7"> | |
44 <button class="TestWasm-button" tool-selector="Test 7">Test 7</button> | |
45 </div> | |
46 <div class="TestWasm-Test8"> | |
47 <button class="TestWasm-button" tool-selector="Test 8">Test 8</button> | |
48 </div> | |
49 | |
50 <!-- <button class="TestWasm-button" class="TestWasm-Test1" tool-selector="Test 1">Test 1</button> | |
51 <button class="TestWasm-button" class="TestWasm-Test2" tool-selector="Test 2">Test 2</button> | |
52 <button class="TestWasm-button" class="TestWasm-Test3" tool-selector="Test 3">Test 3</button> | |
53 <button class="TestWasm-button" class="TestWasm-Test4" tool-selector="Test 4">Test 4</button> --> | |
496
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
54 |
498 | 55 |
56 | |
57 <!-- <div class="Trigger"></div> | |
58 <div class="Test1"></div> | |
59 <div class="Test2"></div> | |
60 <div class="Test3"></div> | |
61 <div class="Test4"></div> --> | |
62 </div> | |
63 | |
64 <!-- <div id="toolbox" style="height: 50px"> | |
496
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
65 <button tool-selector="line-measure" class="tool-selector">line</button> |
498 | 66 </div> --> |
496
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
67 <script type="text/javascript" src="testWasmIntegratedApp.js"></script> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
68 </body> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
69 |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
70 </html> |