-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
85 lines (85 loc) · 4.37 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="dist/css/style.min.css" type="text/css">
<script src="dist/js/fabric.min.js"></script>
<script src="dist/js/app.min.js" defer></script>
<title>Mirrored Image Generator</title>
</head>
<body>
<div class="mirror-controller-panel">
<h1 class="page-title">Image Mirror Generator</h1>
<div class="mirror-image-selection">
<div class="row-label">Select File Source</div>
<div class="source-selection-row">
<div class="url-wrap">
<label for="urlfield" class="src-btn src-label">URL</label>
<input type="text" name="url" id="urlfield" placeholder="Enter image URL" class="urlfield src-input">
</div>
<label for="fileupload" class="fileupload-label src-btn src-label">Upload</label>
<input id="fileupload" type="file" name="fileupload" accept="image/*" class="fileupload">
<button id="demo" name="demo" class="src-btn demo-btn demo">Demo</button>
</div>
</div>
<div class="mirrors">
<div class="row-label">Select Mirror Type</div>
<div class="mirror-btns">
<div class="mirror-block mirror-vert">
<div class="mirror-label">Vertical</div>
<div class="button-row">
<button id="left" value="left" class="mirror-block-btn">Left</button>
<button id="right" value="right" class="mirror-block-btn">Right</button>
</div>
</div>
<div class="mirror-block mirror-horz">
<div class="mirror-label">Horizontal</div>
<div class="button-row">
<button id="top" value="top" class="mirror-block-btn">Top</button>
<button id="bottom" value="bottom" class="mirror-block-btn">Bottom</button>
</div>
</div>
<div class="mirror-block mirror-quad">
<div class="mirror-label">Quad</div>
<div class="button-row">
<div class="btn-row-top">
<button id="topleft" value="top left" class="mirror-block-btn">Top<br>Left</button>
<button id="topright" value="top right" class="mirror-block-btn">Top<br>Right</button>
</div>
<div class="btn-row-btm">
<button id="bottomleft" value="bottom left" class="mirror-block-btn">Bottom<br>Left</button>
<button id="bottomright" value="bottom right" class="mirror-block-btn">Bottom<br>Right</button>
</div>
</div>
</div>
</div>
<div id="invert-toggle" class="invert-toggle-checks">
<div class="invert-toggle-checkbox-wrap">
<label for="invert_x" id="invert_x_indicator" class="invert-checkbox-indicator invert-y-indicator"></label>
<button name="invert-x" id="invert_x" value="x" data-checked="false" class="invert-checkbox invert-x">Invert X-Axis</button>
</div>
<div class="invert-toggle-checkbox-wrap">
<label for="invert_y" id="invert_y_indicator" class="invert-checkbox-indicator invert-y-indicator"></label>
<button name="invert-y" id="invert_y" value="y" data-checked="false" class="invert-checkbox invert-y">Invert Y-Axis</button>
</div>
</div>
</div>
</div>
<div id="canvas-wrapper" class="canvas-wrapper"></div>
<div id="footer" class="footer">
<div class="save-options">
<div class="save-checkbox-row">
<label for="preserve" id="preserve_indicator" class="save-checkbox-indicator"></label>
<button name="preserve" id="preserve" data-checked="false" class="save-checkbox">Preserve Original Image Dimensions</button>
</div>
<div class="save-button-row">
<button id="savebtnpng" value="png" title="Export canvas to png file. Link opens new window." class="savebtn savebtn-png">save as png</button>
</div>
</div>
<div class="about-row">Copyright © 2016 Alex Litel. Available under an MIT license. <a href="https://github.com/alexlitel/mirrored-image-generator">View on Github</a></div>
</div>
</body>
</html>