-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
70 lines (66 loc) · 2.67 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Play with pixels</title>
<link rel="stylesheet" href="./css/main.css">
</head>
<body>
<div id="wrapper">
<header id="header">
<h1>todays curiosity</h1>
</header>
<section id="main">
<div id="input-display">
<div id="preview"></div>
<form>
<div class="block-input-file">
<input type="file" id="file-input" name="file[]" />
</div>
<div class="block-input-url">
<input type="text" id="file-url" name="url">
<button id="get-url">></button>
<span id="file-url-error">Problem loading file</span>
</div>
</form>
</div>
<div id="settings">
<h2>Settings</h2>
<form>
<div class="method-change">
<p class="state">Reduced</p>
<label class="switch">
<input id="switch" type="checkbox">
<span class="switch-slider"></span>
</label>
</div>
<output name="fileoutput"></output>
<div id="slider-container">
<label for="x-divisions">x div:</label>
<output name="x-divisionsOutput" id="x-divisions-output" value="15" class="slider-output"></output>
<input type="range" min="5" max="100" value="15" class="slider" id="x-divisions" data-key="xDivisions">
<label for="y-divisions">y div:</label>
<output name="y-divisionsOutput" id="y-divisions-output" value="15" class="slider-output"></output>
<input type="range" min="5" max="80" value="15" class="slider" id="y-divisions" data-key="yDivisions">
<label for="ratio">ratio:</label>
<output name="ratio" id="ratio-output" value="50" class="slider-output"></output>
<input type="range" min="0" max="100" value="50" class="slider" id="ratio" data-key="reductionRatio">
<label for="x-offset">x offset:</label>
<output name="x-offset" id="x-offset-output" value="1" class="slider-output"></output>
<input type="range" min="0" max="100" value="1" class="slider" id="x-offset" data-key="xOffset">
<label for="y-offset">y offset:</label>
<output name="y-offset" id="y-offset-output" value="1" class="slider-output"></output>
<input type="range" min="0" max="100" value="1" class="slider" id="y-offset" data-key="yOffset">
</div>
</form>
</div>
<div id="output-display">
<!--output image will get injected here-->
</div>
</section>
<section id="footer">
</section>
</div>
<script src="scripts.js"></script>
</body>
</html>