forked from RAJNANDINI8/OnlineVotingSystemProject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathverify.jsp
177 lines (161 loc) · 3.85 KB
/
verify.jsp
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(to right,rgba(50, 176, 234, 0.473),rgb(242, 242, 242));
background-size: cover;
background-position: center;
}
h1 {
color:rgb(6, 112, 169);
text-align: center;
}
header{
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 10px 50px;
display:flex;
justify-content: space-between;
align-items: center;
z-index:99 ;
}
.navigation .btnLogin-popup{
width: 110px;
height: 40px;
background: transparent;
border: 2px solid #0f0e0e;
outline: none;
border-radius: 6px;
cursor: pointer;
font-size: 1.1em;
color: rgb(9, 8, 8);
font-weight: 500;
margin-left: 40px;
transition: .5s;
}
.form-box h2{
position: absolute;
top: 2px;
left: 40%;
font-size: 2em;
color: black;
text-align: center;
}
.input-box{
position: relative;
width: 100%;
height: 50px;
border-bottom: 2px solid black;
margin: 30px 0;
}
.input-box label{
position: absolute;
top: 50%;
left: 5px;
transform: translateY(-50%);
font-size: 1em;
color: black;
font-weight: 500;
pointer-events: none;
transition: .5s;
}
.input-box input:focus~label,
.input-box input:valid~label{
top: -5px;
}
.input-box input{
width: 100%;
height: 100%;
background: transparent;
border: none;
outline: none;
font-size: 1em;
color: black;
font-weight:600 ;
padding: 0 35px 0 5px;
}
.input-box .icon{
position: absolute;
right: 8px;
font-size: 1.2em;
color: black;
line-height: 57px;
}
.btn{
width: 100%;
height: 45px;
background: black;
border: none;
outline: none;
border-radius: 6px;
cursor: pointer;
font-size: 1em;
font-weight: 500;
color: white;
}
.navigation .btnLogin-popup:hover{
background-color: rgb(15, 15, 15);
color: rgb(253, 243, 243);
}
.wrapper{
position: relative;
width: 400px;
height: 355px;
background: transparent;
border: 2px solid rgba(255, 255, 255, .5);
border-radius: 20px;
backdrop-filter: blur(20px);
box-shadow: 0 0 30px rgba(0, 0, 0, .5);
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
transition: transform .5s ease,height 0.2s ease;
}
</style>
<body>
<header>
<h2 class="Logo">Evote</h2>
<nav class="navigation">
<button class="btnLogin-popup" onclick="window.location.href = 'voterlogin.jsp';">Home</button>
</nav>
</header>
<div class="wrapper">
<span class="icon-close">
<ion-icon name="close"></ion-icon>
</span>
<div class="form-box login">
<h2>Verify</h2>
<form action="verifycode" method=Post>
<p> we already send a verification code to your email</p>
<div class="input-box">
<span class="icon">
<ion-icon ></ion-icon></span>
<input type="password" required name="authcode">
<label >Enter CODE:</label>
</div>
<div class="remember-forgot">
<button type="submit" class="btn" name=verify>Verify</button>
</form>
</div>
</div>
</body>
</html>