-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (78 loc) · 3.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>pins</title>
<link rel="icon" href="images/pride-flag-by-goken.png" type="image/x-icon">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A simple page to generate a pin template for EqualITs pinmaker">
<meta name="keywords" content="pin, template, generator, equalit, goken">
<meta name="author" content="Erik Persson">
<meta name="language" content="English">
<meta name="theme-color" content="#000000">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/screen.css">
<link rel="stylesheet" href="css/print.css">
<script src="js/script.js" defer></script>
<script src="js/howto.js" defer></script>
<link rel="manifest" href="pwa/manifest.json">
</head>
<body>
<div id="showHowToButton" class="showHowToButton">
<img src="images/icons/question-mark.svg" alt="question mark" height="20">
</div>
<div id="howToShadowbox" class="shadowbox howToShadowbox hidden">
<aside id="howTo" class="howTo">
<h1>HowTo pins</h1>
<ul>
<li>Upload square images</li>
<li>Disable page headers and footers so that the pins all fit on the same page</li>
<li>If you enable backgroound graphics, the page background will match the top left corner of the image</li>
</ul>
</aside>
</div>
<div class="mainContent">
<div id="previewImageContainer" class="previewImageContainer">
<div id="imageNotSquareWarning" class="imageNotSquareWarning">
<img id="logo" src="images/icons/warning.svg" alt="EqualIT logo" height="30">
<p>Image is not square</p>
</div>
<img id="previewImage" class="previewImage" src="images/icons/image.svg" alt="Image preview of pin image">
<div class="selectImageText">
<img id="selectImageButton" src="images/icons/upload-white.svg" height="4" alt="Upload image">
<label for="selectImageInput" id="fileName" class="fileName">Select Image</label>
</div>
<input id="selectImageInput" type="file" accept="image/*" class="hidden" />
</div>
<div id="optionsDiv">
<h2>Options</h2>
<div class="option">
<label for="createPaddingCheckbox">Create Padding</label>
<input id="createPaddingCheckbox" type="checkbox" />
</div>
<div id="pinIncludeBackground" class="option">
<label for="pinBackground">Include background: </label>
<input id="pinBackground" type="checkbox">
</div>
<div id="pinColorPickerOption" class="pinColorPickerOption option disabled">
<label for="pinColorInput">Background color: </label>
<p id="pinColorText" class="pinColorText">#000000</p>
</div>
<input id="pinColorInput" class="pinColorInput noShow" type="color" value="#000000"/>
<button id="generateTemplateButton" class="noPrint">Generate Template</button>
</div>
</div>
<footer class="pageFooter">
Made as a gift from
<a href="https://github.com/erikpersson0884 ">
Göken
</a>
to
<a href="https://chalmers.it/committees/equalit">
EqualIT
<img src="images/pride-flag-by-goken.png" alt="pride flag by göken" height="10">
</a>
</footer>
<div class="image-container" id="imageContainer"></div>
</body>
</html>