-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
161 lines (127 loc) · 3.51 KB
/
popup.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!doctype html>
<html>
<head>
<title>Password Manager Project</title>
<style type="text/css">
body {
margin: 0 auto;
width: 332px;
font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
font-size: 0.9em;
color: #333;
background-color: #81BEF7;
}
input {
display: block;
box-sizing: border-box;
width: 300px;
height: 40px;
border:2px solid black;
border-radius: 2px;
padding: 8px 12px;
margin: 16px;
outline-style: none;
line-height: 20px;
font-size: 1.2em;
color: inherit;
}
input:focus {
border-color: #72AEF8;
background-color: #e6e6e6;
}
input:hover {
background-color: #e6e6e6;
}
input, p {
margin: 16px;
}
.small-top-margin {
margin-top: 4px;
}
.small-bottom-margin {
margin-bottom: 4px;
}
.header {
font-weight: bold;
margin: 25px;
text-align: center;
}
.message {
text-align: center;
color: #ff66a3;
}
.message1 {
text-align: center;
color: #ff66a3;
}
.register {
margin: 5px;
}
.back {
font-family:inherit;
height: 60%;
width: 60%%;
border:2px solid black;
padding:8px 16px;
color:inherit;
background-color: #cccccc;
text-align:center;
cursor:pointer;
}
img {
display: block;
margin: auto;
}
button {
font-family:inherit;
border:2px solid black;
padding:8px 16px;
color:inherit;
background-color: #cccccc;
text-align:center;
cursor:pointer;
}
button:hover{
background-color: #737373;
color: white;
}
div {
text-align: center;
}
</style>
</head>
<body>
<header class = "header">Password Manager Project</header>
<img id = "img" src="icon.png" width="80" height="80">
<div id=login>
<p class="small-bottom-margin">Username:</p>
<input id="username" class="small-top-margin" type="text" />
<p class="small-bottom-margin">Password:</p>
<input id="password" class="small-top-margin" type="password" />
<button id="connectButton">Connect</button>
<p class ="message" id="message"></p>
<p>Dont have an account? Go ahead and </p>
<button id="registerHereButton">Register here</button>
</div>
<div id=register>
<header class = "header">Register your account</header>
<p class="small-bottom-margin">Username:</p>
<input id="username1" class="small-top-margin" type="text" />
<p class="small-bottom-margin">Password:</p>
<input id="password1" class="small-top-margin" type="password" />
<p class="small-bottom-margin">Confirm Password:</p>
<input id="password2" class="small-top-margin" type="password" />
<button id="registerButton">Register</button>
<button id="back">Back</button>
<p class ="message1" id="message1"></p>
</div>
<div id=connected>
<header id=connectMessage class = "header"></header>
<button id="disconnect">Disconnect</button>
</div>
<p id = "credits" class = "header">Made by Yaniv Franco & Or From</p>
<script src="jquery-3.2.1.min.js"></script>
<script src="popup.js"></script>
<script src="sjcl.js"></script>
</body>
</html>