-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
53 lines (51 loc) · 1.87 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Placeholder Image Generator</title>
<link rel="stylesheet" href="index.min.css" />
</head>
<body>
<h2 class="heading">Placeholder Image Generator</h2>
<div class="button">
<a href="https://github.com/Phe0nix/image-generator" id="view-on-github" class="button" target="_blank">
<span>View on GitHub</span>
</a>
</div>
<div class='inputFields'>
<p>Width:
<input type="text" class="width" placeholder="width without extension">
</p>
<p>Height:
<input type="text" class="height" placeholder="height without extension">
</p>
<p>Background:
<input type="color" class="bgColor">
</p>
</div>
<button class="gen">Generate Image</button>
<p class="result">
<canvas style="display: none" class="block"></canvas>
</p>
<div class="type_and_download_image" style="display: none">
<p>Image Format:
<select name="imageType" id="imageType">
<option value="" disabled selected>Choose a format</option>
<option value="png">.png</option>
<option value="jpeg">.jpg</option>
</select>
<span class="quality" style="display: none">Jpg Quality:
<select id="quality_value">
<option value="" disabled selected>Choose quality</option>
<option value="low">Low</option>
<option value="med">Medium</option>
<option value="high">High</option>
</select>
</span>
</p>
<a href="#" class="download">Download</a>
</div>
<script src="index.min.js"></script>
</body>
</html>