-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
129 lines (126 loc) · 3.57 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" >
<!-- Connect jQuery and jQuery.maskedinput -->
<script src="jquery-1.8.3.min.js"></script>
<script src="jquery.maskedinput.js"></script>
<!--Create mask -->
<script type="text/javascript">
jQuery(function() {$("#dob").mask("99/99/9999", {placeholder: "DD/MM/YYYY" });});
</script>
</head>
<style>
html {
-webkit-app-region:drag;
}
body {
background-color: rgb(19,17,15);
color: #fff;
font-family: 'Roboto', sans-serif;
}
.wrapper {
text-align: center;
margin-top: 4em;
-webkit-app-region: no-drag;
}
form {
width: 30%;
margin-top: 2em;
margin-left: auto;
margin-right: auto;
}
input[type='text'] {
width: 100%;
display: block;
color: #ddd;
border: none;
margin-top: 1em;
padding: 0;
border-radius: 0;
outline: none;
min-width: 100%;
font-size: 1rem;
line-height: 2.5em;
font-family: 'Roboto', Arial, sans-serif;
border-bottom: 1px solid #fc3;
background-color: transparent;
}
input[type='submit'] {
padding: 12px 30px;
background: #fc3;
border: none;
outline: none;
border-radius: 5px;
margin-top: 1.5em;
cursor: pointer;
}
input[type='reset'] {
padding: 12px 30px;
background: #fc3;
border: none;
outline: none;
border-radius: 5px;
margin-top: 1.5em;
cursor: pointer;
}
.wrap-pass {
margin-top: 3em;
background: #212121;
width: 45%;
padding: 15px 35px;
margin-left: auto;
margin-right: auto;
}
#password {
text-align: center;
width: 100%;
margin-left: auto;
margin-right: auto;
font-family: Courier, 'New Courier', monospace;
font-size: 18px;
}
#close {
position: absolute;
top: 20px;
right: 20px;
z-index: 999999;
background: transparent;
border: none;
color: #757575;
cursor: pointer;
-webkit-app-region: no-drag;
}
footer {
position: relative;
text-align: center;
margin-top: 4em;
font-size: 12px;
color: #616161;
}
</style>
<body>
<button id="close"><i class="material-icons"></i></button>
<div class="wrapper">
<h1 style="font-weight: 700">Jumble Password</h1>
<p style="font-weight: 300">A small tool to generate passwords from your name & birth dates.</p>
<form id="form">
<input id="name" type="text" placeholder="Your name" class="name" required>
<input id="dob" type="text" placeholder="DD/MM/YYYY" class="date" required><br>
<input type="submit" id="submitBtn" class="btn" />
<!-- add button -->
<input onClick="cls();" type="reset" id="resetBtn" class="btn" />
</form>
<div class="wrap-pass">
<code id="password"></code>
</div>
<footer>
Made with ❤️ by <a style="cursor: pointer;" id="author">Idrees Dargahwala</a>
</footer>
</div>
<script src="app.js"></script>
</body>
</html>