Mercurial > hg > orthanc-stone
view Applications/Samples/Web/single-frame-editor.html @ 420:8bf717c4e497
canvas size is now defined by the parent div size
author | am@osimis.io |
---|---|
date | Mon, 19 Nov 2018 12:45:37 +0100 |
parents | 612238b3f3e8 |
children |
line wrap: on
line source
<!doctype html> <html lang="us"> <head> <meta charset="utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!-- Disable pinch zoom on mobile devices --> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="HandheldFriendly" content="true" /> <title>Simple Viewer</title> <link href="samples-styles.css" rel="stylesheet" /> <body> <div style="width: 100%; height: 100%"> <canvas id="canvas"></canvas> </div> <script type="text/javascript" src="app-single-frame-editor.js"></script> </body> </html>