-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (34 loc) · 1.51 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<form method="post" enctype="multipart/form-data">
<div class="controls">
<label for="samples">Samples: </label><input name="samples" type="range" min="2" max="10" step="1"><span></span>
<label for="sampleSize">Sample Size: </label><input name="sampleSize" type="range" min="1" max="100" step="1"><span></span>
<input name="set" type="button" value="Redraw">
</div>
<div class="upload">
<label for="image_uploads">Choose an image to upload (PNG, JPG)</label>
<input type="file" id="image_uploads" name="image_uploads" accept=".jpg, .jpeg, .png">
</div>
<div class="media-layout">
<div class="preview-label">Original Image</div>
<div class="sample-label">Sampled result (click to toggle gradient view)</div>
<div class="preview"></div>
<div class="swatches"></div>
</div>
</form>
<script src="./site-bundle.js"></script>
</body>
</html>