Mercurial > hg > orthanc-stone
annotate Resources/CodeGeneration/testWasmIntegrated/testWasmIntegrated.html @ 543:75664eeacae5 dev
added sets in code generation (not tested yet in TS)
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 20 Mar 2019 15:27:04 +0100 |
parents | 329f229c2794 |
children | 342f3e04bfa9 |
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"> | |
500
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
16 <textarea id="TestWasm-SerializedInput" class="TestWasm-SerializedInput">Serialized data should be put here.</textarea> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
17 <textarea id="TestWasm-CppOutput" class="TestWasm-CppOutput">Free text and messages from C++ will appear here.</textarea> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
18 <div class="TestWasm-ButtonContainer"> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
19 <div class="TestWasm-TriggerButton"> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
20 <button class="TestWasm-button" tool-selector="Trigger">Send message</button> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
21 </div> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
22 <div class="TestWasm-ClearButton"> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
23 <button class="TestWasm-button" tool-selector="Clear">Clear</button> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
24 </div> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
25 <div class="TestWasm-ShowSchemaButton"> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
26 <button class="TestWasm-button" tool-selector="ShowSchema">Show schema</button> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
27 </div> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
28 <!-- <button class="TestWasm-button TestWasm-hvcenter" tool-selector="Trigger">Send message</button> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
29 <button class="TestWasm-button TestWasm-hvcenter" tool-selector="Clear">Clear</button> |
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
30 <button class="TestWasm-button TestWasm-hvcenter" tool-selector="Show schema">Show schema</button> --> |
498 | 31 </div> |
500
329f229c2794
Improvements to the integrated demo for TS <--> C++
bgo-osimis
parents:
499
diff
changeset
|
32 |
498 | 33 <div class="TestWasm-Test1"> |
34 <button class="TestWasm-button" tool-selector="Test 1">Test 1</button> | |
35 </div> | |
36 <div class="TestWasm-Test2"> | |
37 <button class="TestWasm-button" tool-selector="Test 2">Test 2</button> | |
38 </div> | |
39 <div class="TestWasm-Test3"> | |
40 <button class="TestWasm-button" tool-selector="Test 3">Test 3</button> | |
41 </div> | |
42 <div class="TestWasm-Test4"> | |
43 <button class="TestWasm-button" tool-selector="Test 4">Test 4</button> | |
44 </div> | |
45 <div class="TestWasm-Test5"> | |
46 <button class="TestWasm-button" tool-selector="Test 5">Test 5</button> | |
47 </div> | |
48 <div class="TestWasm-Test6"> | |
49 <button class="TestWasm-button" tool-selector="Test 6">Test 6</button> | |
50 </div> | |
51 <div class="TestWasm-Test7"> | |
52 <button class="TestWasm-button" tool-selector="Test 7">Test 7</button> | |
53 </div> | |
54 <div class="TestWasm-Test8"> | |
55 <button class="TestWasm-button" tool-selector="Test 8">Test 8</button> | |
56 </div> | |
57 | |
58 <!-- <button class="TestWasm-button" class="TestWasm-Test1" tool-selector="Test 1">Test 1</button> | |
59 <button class="TestWasm-button" class="TestWasm-Test2" tool-selector="Test 2">Test 2</button> | |
60 <button class="TestWasm-button" class="TestWasm-Test3" tool-selector="Test 3">Test 3</button> | |
61 <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
|
62 |
498 | 63 |
64 | |
65 <!-- <div class="Trigger"></div> | |
66 <div class="Test1"></div> | |
67 <div class="Test2"></div> | |
68 <div class="Test3"></div> | |
69 <div class="Test4"></div> --> | |
70 </div> | |
71 | |
72 <!-- <div id="toolbox" style="height: 50px"> | |
496
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
73 <button tool-selector="line-measure" class="tool-selector">line</button> |
498 | 74 </div> --> |
499 | 75 <script type="text/javascript" src="testWasmIntegratedCpp.js"></script> |
496
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
76 <script type="text/javascript" src="testWasmIntegratedApp.js"></script> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
77 </body> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
78 |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
79 </html> |