-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (57 loc) · 3.02 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
<!DOCTYPE html>
<html>
<head>
<title>Finnish passphrase generator</title>
<link rel="stylesheet" href="styles/style.css">
<script src="scripts/main.js" type="text/javascript"></script>
<meta charset="UTF-8">
</head>
<body onload="loadXMLDoc()">
<div id="wrapper">
<div id="container">
<h1>Finnish passphrase generator</h1>
<div id="generator">
<div class="inputSet">
<label class="label" for="wordCount">Number of words</label>
<input class="input" id="wordCount" type="number" min="2" max="20" name="wordCount" value="4" />
</div>
<div class="inputSet">
<label class="label" for="wordSeparator">Word separator</label>
<input class="input" id="wordSeparator" type="text" maxlength="1" name="wordSeparator" value="-" />
</div>
<div class="inputSet">
<label class="label" for="capType">Capitals</label>
<select class="input" id="capType" name="capType">
<option value="noCap">No capitals</option>
<option value="fullCap">CAPITALS</option>
<option value="cap">Capitals</option>
<option value="randCap">cApITalS</option>
</select>
</div>
<div class="inputSet">
<label class="label" for="specialLetterType">Use Ä, Ö and Å</label>
<select class="input" id="specialLetterType" name="specialLetterType">
<option value="useSpecialLetters">Yes</option>
<option value="noSpecialLetters">No</option>
<option value="onlySpecialLetters">Only</option>
</select>
</div>
<div class="inputSet">
<label class="checkboxLabel" for="sym">Add symbol</label>
<input class="checkbox" id="sym" type="checkbox" name="sym">
</div>
<div class="inputSet">
<label class="checkboxLabel" for="num">Add number</label>
<input class="checkbox" id="num" type="checkbox" name="num">
</div>
<input id="btn" type="button" name="btn" value="Generate" onclick="generatePassPhrase()" />
<div class="inputSetAlt">
<input id="passphrase" type="text" disabled value=""/>
<input id="copyToClipboardBtn" type="button" name="copyToClipboardBtn" value="Copy" onclick="copyToClipboard()">
</div>
</div>
</div>
<a href="https://github.com/attepee/finnish-passphrase-generator">GitHub</a>
</div>
</body>
</html>