Mercurial > hg > orthanc-stone
comparison Applications/Samples/WebAssembly/SingleFrameViewer/index.html @ 1538:d1806b4e4839
moving OrthancStone/Samples/ as Applications/Samples/
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Aug 2020 13:24:38 +0200 |
parents | OrthancStone/Samples/WebAssembly/SingleFrameViewer/index.html@244ad1e4e76a |
children |
comparison
equal
deleted
inserted
replaced
1537:de8cf5859e84 | 1538:d1806b4e4839 |
---|---|
1 <!doctype html> | |
2 <html lang="en"> | |
3 <head> | |
4 <title>Stone of Orthanc Single Frame Viewer </title> | |
5 <meta charset="utf-8" /> | |
6 <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" /> | |
7 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" /> | |
8 <meta name="apple-mobile-web-app-capable" content="yes" /> | |
9 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> | |
10 <link rel="icon" href="data:;base64,iVBORw0KGgo="> | |
11 | |
12 <style> | |
13 canvas { | |
14 background-color: green; | |
15 width : 100%; | |
16 height : 512px; | |
17 } | |
18 </style> | |
19 </head> | |
20 <body> | |
21 <h1>Viewport</h1> | |
22 | |
23 <canvas id="viewport" > | |
24 </canvas> | |
25 | |
26 <h1>Load from Orthanc</h1> | |
27 <p> | |
28 Orthanc instance: <input type="text" id="orthancInstance" size="80" | |
29 value="5eb2dd5f-3fca21a8-fa7565fd-63e112ae-344830a4"> | |
30 </p> | |
31 <p> | |
32 Frame number: <input type="text" id="orthancFrame" value="0"> | |
33 </p> | |
34 <p> | |
35 <button id="orthancLoad">Load</button> | |
36 </p> | |
37 | |
38 <script src="https://code.jquery.com/jquery-3.4.1.js"></script> | |
39 <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.0/axios.js"></script> | |
40 | |
41 <script src="SingleFrameViewerApp.js"></script> | |
42 </body> | |
43 </html> |