annotate Applications/Samples/Web/simple-viewer-single-file.html @ 1061:eb28dfe432f7

fixed typo in assert. msg. + getters for custom windowing in grayscale layer configurator.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 15 Oct 2019 10:53:28 +0200
parents 8bf717c4e497
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
319
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
1 <!doctype html>
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
2
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
3 <html lang="us">
420
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
4
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
5 <head>
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
6 <meta charset="utf-8" />
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
319
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
8
420
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
9 <!-- Disable pinch zoom on mobile devices -->
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
10 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
11 <meta name="HandheldFriendly" content="true" />
319
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
12
420
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
13 <title>Simple Viewer</title>
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
14 <link href="samples-styles.css" rel="stylesheet" />
319
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
15
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
16 <body>
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
17 <div id="breadcrumb">
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
18 <span id="patient-id"></span>
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
19 <span id="study-description"></span>
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
20 <span id="series-description"></span>
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
21 </div>
420
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
22 <div style="height: calc(100% - 50px)">
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
23 <div style="width: 20%; height: 100%; display: inline-block">
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
24 <canvas id="canvas"></canvas>
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
25 </div>
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
26 <div style="width: 70%; height: 100%; display: inline-block">
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
27 <canvas id="canvas2"></canvas>
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
28 </div>
319
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
29 </div>
420
8bf717c4e497 canvas size is now defined by the parent div size
am@osimis.io
parents: 319
diff changeset
30 <div id="toolbox" style="height: 50px">
319
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
31 <input tool-selector="line-measure" type="radio" name="radio-tool-selector" class="tool-selector">line
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
32 <input tool-selector="circle-measure" type="radio" name="radio-tool-selector" class="tool-selector">circle
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
33 <button action-trigger="action1" class="action-trigger">action1</button>
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
34 <button action-trigger="action2" class="action-trigger">action2</button>
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
35 </div>
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
36 <script type="text/javascript" src="app-simple-viewer-single-file.js"></script>
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
37 </body>
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
38
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff changeset
39 </html>