toot-my-t-shirt/static/index.html

67 lines
3.2 KiB
HTML
Raw Permalink Normal View History

2018-11-28 21:55:54 +01:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>toot-my-t-shirt</title>
<link rel="icon" type="image/png" href="/static/images/sb-favicon.png">
2018-12-01 13:05:08 +01:00
<link rel="stylesheet" type="text/css" href="/static/css/materialize-icons.css">
2018-12-01 11:18:30 +01:00
<link rel="stylesheet" type="text/css" href="/static/css/materialize.min.css">
<link rel="stylesheet" type="text/css" href="/static/css/iziToast.min.css">
2018-11-28 21:55:54 +01:00
<link rel="stylesheet" type="text/css" href="/static/css/sb.css">
2018-12-01 11:18:30 +01:00
<script type="text/javascript" src="/static/js/materialize.min.js"></script>
<script type="text/javascript" src="/static/js/iziToast.min.js"></script>
2018-11-28 21:55:54 +01:00
<script type="text/javascript" src="/static/js/sb.js"></script>
</head>
<body>
2019-12-22 10:46:03 +01:00
<div id="main">
<div class="row">
<div class="col s3">
<div id="header" class="row center-align">
<h1>toot-my-t-shirt</h1>
Share the love for your geek t-shirt.
</div>
2018-12-01 11:18:30 +01:00
2019-12-22 10:46:03 +01:00
<div id="button-containers" class="row center-align">
<p>
<button id="take-photo-btn" class="btn waves-effect waves-light disabled" name="take-photo-btn" onClick="takePhoto()">
<i class="material-icons left">camera</i>Take photo
</button>
</p>
<p>
<button id="send-photo-btn" class="btn waves-effect waves-light disabled" name="send-photo-btn" onClick="sendPhoto()">
<i class="material-icons left">share</i>Share photo
</button>
</p>
<p>
2019-12-22 13:12:12 +01:00
<button id="cancel-photo-btn" class="btn waves-effect waves-light disabled" name="cancel-photo-btn" onClick="cancelPhoto(true)">
2019-12-22 10:46:03 +01:00
<i class="material-icons left">cancel</i>Cancel photo
</button>
</p>
<p>
<button id="init-btn" class="btn waves-effect waves-light" name="init-btn" onClick="initCamera()">
<i class="material-icons left">photo_camera</i>Grant camera permissions
</button>
</p>
</div>
</div>
2018-12-01 11:18:30 +01:00
2019-12-22 10:46:03 +01:00
<div id="video-info-container" class="col center-align">
<div id="izi-container"></div>
<div id="canvas-container">
2019-12-22 13:12:12 +01:00
use the button at the left to grant camera permissions
2019-12-22 10:46:03 +01:00
<video id="sb-video" autoplay muted></video>
<canvas id="sb-canvas"></canvas>
</div>
2018-12-01 11:18:30 +01:00
</div>
2019-12-22 13:12:12 +01:00
<div id="right-col-container" class="col center-align s3">
<div id="header" class="row center-align">
<h1>latest</h1>
</div>
<div id="images-container"></div>
</div>
2018-11-28 21:55:54 +01:00
</div>
</div>
</body>
</html>