Mercurial > hg > orthanc-stone
annotate Resources/CodeGeneration/testWasmIntegrated/testWasmIntegrated.html @ 999:2d69b8bee484
Added tests for Dicom structure set classes (loaders and utils)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 20 Sep 2019 11:58:33 +0200 |
parents | f185cfcb72a0 |
children |
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"> |
687
342f3e04bfa9
CodeGen: test cleanup + all working again + using same yaml and stimuli files
Alain Mazy <alain@mazy.be>
parents:
500
diff
changeset
|
34 <button class="TestWasm-button" tool-selector="Test CppHandler message2">Test CppHandler message2</button> |
498 | 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> | |
690 | 57 <div class="TestWasm-ts-cpp-ts"> |
58 <button class="TestWasm-button" tool-selector="Test-ts-cpp-ts">Test ts-cpp-ts</button> | |
59 </div> | |
498 | 60 |
61 <!-- <button class="TestWasm-button" class="TestWasm-Test1" tool-selector="Test 1">Test 1</button> | |
62 <button class="TestWasm-button" class="TestWasm-Test2" tool-selector="Test 2">Test 2</button> | |
63 <button class="TestWasm-button" class="TestWasm-Test3" tool-selector="Test 3">Test 3</button> | |
64 <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
|
65 |
498 | 66 |
67 | |
68 <!-- <div class="Trigger"></div> | |
69 <div class="Test1"></div> | |
70 <div class="Test2"></div> | |
71 <div class="Test3"></div> | |
72 <div class="Test4"></div> --> | |
73 </div> | |
74 | |
75 <!-- <div id="toolbox" style="height: 50px"> | |
496
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
76 <button tool-selector="line-measure" class="tool-selector">line</button> |
498 | 77 </div> --> |
499 | 78 <script type="text/javascript" src="testWasmIntegratedCpp.js"></script> |
496
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
79 <script type="text/javascript" src="testWasmIntegratedApp.js"></script> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
80 </body> |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
81 |
8b6ceae45ba0
Finished (untested) C++, html, typescript, tsc & browserify production.
bgo-osimis
parents:
diff
changeset
|
82 </html> |