[enh] Fist working version

This commit is contained in:
alban 2020-10-21 14:39:48 +02:00
parent 40d8250ec5
commit fd0974134b
5 changed files with 222 additions and 9 deletions

View file

@ -36,7 +36,7 @@ window.ORIGINAL_JSON=window.JSON;
<video id="video" autoplay></video>
</div>
<div class="col-sm">
<button id="snap" class="btn btn-lg btn-primary">Take a picture!</button>
<button class="snap btn btn-lg btn-primary">Take a picture!</button>
<p class="lead">By allowing the use of your camera, you will be able to take snapshots, convert them to black and white images before sending them to the laser server. How cool is that?!</p>
</div>
</div>
@ -45,7 +45,7 @@ window.ORIGINAL_JSON=window.JSON;
<canvas id="canvas" width="640" height="480"></canvas>
</div>
<div class="col-sm">
<h3 class="btn btn-lg btn-primary">Not satisfied of the contrast? </h3>
<h3 class="snap btn btn-lg btn-primary">Not satisfied of the contrast? </h3>
<br/>
<div id="slider"></div>
<br/>
@ -56,9 +56,12 @@ window.ORIGINAL_JSON=window.JSON;
<h3>Satisfied? </h3>
<p class="lead">Type the text visible on your image (if any) and push Send.</p>
<div class="form-group">
<input type="text" class="form-control form-control-lg" placeholder="Type text here"/>
<input id="text" type="text" class="form-control form-control-lg" placeholder="Type text here"/>
<button id="send" class="form-control form-control-lg btn btn-lg btn-warning btn-block">Send</button>
</div>
<div id="messages">
</div>
</div>
</div>