-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
105 lines (81 loc) · 3.64 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title>Social Card Generator</title>
<link rel="stylesheet" href="dist/styles.css" />
<meta name="robots" content="noindex, nofollow">
</head>
<body class="meme">
<div class="content">
<div class="m-canvas" id="meme-canvas-view">
<h1>Social Card Generator</h1>
<div class="m-canvas__canvas" id="meme-canvas">
<noscript>Sorry, this tool requires a canvas-enabled browser. Try Google Chrome.</noscript>
</div>
<p class="m-canvas__download">
<a href="#" download="share.png" id="meme-download">Download Image</a>
</p>
</div>
<div class="m-meme">
<form class="m-editor" id="meme-editor-view">
<div class="notes">
For best results please use <strong>Google Chrome</strong>. Firefox may work, IE probably won't.
</div>
<h2><label for="image-size">Social network</label></h2>
<select id="image-size"></select>
<div class="dropzone" id="dropzone">Drop Image Here</div>
<h2><label for="image-scale">Resize image</label></h2>
<input id="image-scale" type="range" max="4" min=".01" step=".01" value="1">
<h2><label for="overlay-alpha">Image Opacity</label></h2>
<input id="overlay-alpha" type="range" max="1" min="0" step=".1" value="1">
<div class="m-editor__backgroundcolor" id="background-color">
<h2>Background Color</h2>
<ul class="checkbox-group">
<li><label><input type="radio" name="background-color" value=""> None </label></li>
</ul>
</div>
<h2><label for="headline">Headline</label></h2>
<textarea id="headline" name="headline" type="text" value=""></textarea>
<h2><label for="headline-width">Headline Width</label></h2>
<input id="headline-width" type="range" max="1" min="0.01" step=".01" value="0.75">
<h2>Text Alignment</h2>
<select class="text-align" id="text-align">
<option value="" disabled>Select alignment</option>
</select>
<h2>Font Size</h2>
<select class="font-size" for="font-size">
<input id="font-size" type="range" max="84" min="21" step=".1" value="24">
</select>
<h2>Font Style</h2>
<select class="font-family" id="font-family">
<option value="" disabled>Select a font</option>
</select>
<h2>Font Color</h2>
<div class="m-editor__font-color" id="font-color">
<ul class="checkbox-group"></ul>
</div>
<div class="checkbox-group text-shadow">
<input id="text-shadow" name="shadow" type="checkbox">
<label for="text-shadow">Text Shadow</label>
</div>
<h2>Watermark</h2>
<select class="watermark" id="watermark">
<option value="" disabled>Select a watermark</option>
</select>
<h2>Credit Alignment</h2>
<select class="credit-align" id="credit-align">
<option value="" disabled>Select alignment</option>
</select>
<h2><label for="credit">Credit Name</label></h2>
<input id="credit" name="credit" type="text" value="">
<h2><label for="credit-title">Credit Title</label></h2>
<input id="credit-title" name="credit-title" type="text" value="">
</form>
</div>
</div>
<script src="dist/scripts.js"></script>
</body>
</html>