[enh] There should be a preview for images uploaded

This commit is contained in:
alban 2020-11-01 23:09:28 +01:00
parent 30e9a5a5cd
commit c1b9f42c4a
4 changed files with 163 additions and 9 deletions

View file

@ -20,15 +20,18 @@
<script src="js/canvas.js"></script>
</head>
<body>
<script>
window.ORIGINAL_JSON=window.JSON;
</script>
<div class="container-fluid container-md">
<div class="row">
<div class="col-sm">
<h1 class="text-primary">Send shots to the laser!</h1>
<div class="select">
<label for="videoSource">Video source: </label>
<select id="videoSource">
</select>
</div>
<h1 class="text-primary">Send shots to the laser!</h1>
</div>
</div>
<div class="row">
@ -64,7 +67,15 @@ window.ORIGINAL_JSON=window.JSON;
</div>
</div>
</div>
<div class="row" id="result">
<div class="col-sm">
<canvas id="simuCanvas" width="640" height="480"></canvas>
</div>
<div class="col-sm" >
<h3>Your images</h3>
<div id="imageList"></div>
</div>
</div>
</div>