-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (44 loc) · 1.69 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Mail signature generator</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/master.css">
</head>
<body>
<h1>Mailsignaturgenerator</h1>
<main>
<form class="signature-form">
<label>Ditt namn
<input name="name" type="text" placeholder="Namn Efternamn..." required />
</label>
<label>Post
<input name="position" type="text" placeholder="IT-koordinator..." required />
</label>
<label>Kontaktadress
<input name="mail" type="email" placeholder="[email protected]..." required />
</label>
<label>Telefonnummer
<input name="phone" type="tel" placeholder="+46 712 34 56 78..." required />
</label>
<label>Utbildning/Examen
<input name="examina" type="text" placeholder="B.Sc. Software Engineering..." required />
</label>
<label>Skola
<input name="school" type="text" placeholder="Chalmers University of Technology..." required />
</label>
<button id="generate" type="submit">Generera signatur</button>
</form>
<section class="output-container">
<button id="show-hide">Visa/dölj HTML</button>
<textarea readonly id="output" class="output" style="display: none"></textarea>
<div id="preview" class="output"></div>
<button id="copy-btn" data-clipboard-target="#preview">Kopiera signatur</button>
</section>
</main>
<script src="dist/clipboard.min.js"></script>
<script src="js/signature.js"></script>
<script src="js/main.js"></script>
</body>
</html>