annotate Applications/Samples/Web/simple-viewer.html @ 287:2038d76bf13f am-2

interaction with HTML/JS
author am@osimis.io
date Thu, 30 Aug 2018 11:36:36 +0200
parents 3c190e2bb3af
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
1 <!doctype html>
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
2
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
3 <html lang="us">
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
4 <head>
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
5 <meta charset="utf-8" />
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
7
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
8 <!-- Disable pinch zoom on mobile devices -->
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
9 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
10 <meta name="HandheldFriendly" content="true" />
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
11
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
12 <title>Simple Viewer</title>
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
13 <link href="samples-styles.css" rel="stylesheet" />
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
14
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
15 <body>
287
2038d76bf13f interaction with HTML/JS
am@osimis.io
parents: 285
diff changeset
16 <div id="breadcrumb">
2038d76bf13f interaction with HTML/JS
am@osimis.io
parents: 285
diff changeset
17 <span id="patient-id"></span>
2038d76bf13f interaction with HTML/JS
am@osimis.io
parents: 285
diff changeset
18 <span id="study-description"></span>
2038d76bf13f interaction with HTML/JS
am@osimis.io
parents: 285
diff changeset
19 <span id="series-description"></span>
2038d76bf13f interaction with HTML/JS
am@osimis.io
parents: 285
diff changeset
20 </div>
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
21 <div>
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
22 <canvas id="canvas" data-width-ratio="20" data-height-ratio="50"></canvas>
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
23 <canvas id="canvas2" data-width-ratio="70" data-height-ratio="50"></canvas>
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
24 </div>
287
2038d76bf13f interaction with HTML/JS
am@osimis.io
parents: 285
diff changeset
25 <div id="toolbox">
2038d76bf13f interaction with HTML/JS
am@osimis.io
parents: 285
diff changeset
26 <input tool-selector="line-measure" type="radio" name="radio-tool-selector" class="tool-selector">line
2038d76bf13f interaction with HTML/JS
am@osimis.io
parents: 285
diff changeset
27 <input tool-selector="circle-measure" type="radio" name="radio-tool-selector" class="tool-selector">circle
2038d76bf13f interaction with HTML/JS
am@osimis.io
parents: 285
diff changeset
28 <button action-trigger="action1" class="action-trigger">action1</button>
2038d76bf13f interaction with HTML/JS
am@osimis.io
parents: 285
diff changeset
29 <button action-trigger="action2" class="action-trigger">action2</button>
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
30 </div>
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
31 <script type="text/javascript" src="app-simple-viewer.js"></script>
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
32 </body>
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
33
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
34 </html>