-
Notifications
You must be signed in to change notification settings - Fork 1
/
HomePageCandidate.html
329 lines (296 loc) · 9.74 KB
/
HomePageCandidate.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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel = "icon" href ="https://raw.githubusercontent.com/BTP-Project/Virtual-Interview/master/logo1.jpg" type = "image/x-icon">
<title>Result</title>
<!-- Linking CSS File -->
<style>
.navbar-nav a{
font-family: Algerian;
font-size: 18px;
text-transform: uppercase;
font-weight: bold;
padding: 25px !important;
}
.navbar-light .navbar-brand{
color: white;
font-family:"Comic Sans MS";
font-size: 30px ;
text-transform: uppercase;
font-weight: bold;
letter-spacing: 2px;
}
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
color: black !important;
}
.navbar-light .navbar-nav .nav-link{
color: #fff !important;
}
.navbar-nav{
text-align: center !important;
margin-right: 1px !important;
}
.nav-link{
padding: .1rem .2rem ;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover{
color: crimson !important;
}
.self{
font-family: Algerian;
font-size: 25px;
color:black;
margin: 20px;
/*font-w;*/
}
.self2{
font-family: "Comic Sans MS";
font-size: 25px;
color: green;
}
.self3{
font-family: "Algerian";
font-size: 40px;
color: red;
}
.BOX{
width: 100%;
border: 1px solid green;
padding: 30px;
margin: 10px;
}
.split {
height: 100%;
width: 50%;
position: fixed;
z-index: 1;
top: 0;
overflow-x: hidden;
padding-top: 20px;
}
/* Control the left side */
.left {
left: 0;
background-color: #a4508b;
background-image: linear-gradient(326deg, #a4508b 0%, #5f0a87 74%);
}
/* Control the right side */
.right {
right: 0;
background-color: #a4508b;
background-image: linear-gradient(326deg, #a4508b 0%, #5f0a87 74%);
}
/* If you want the content centered horizontally and vertically */
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
/* Style the image inside the centered container, if needed */
.centered img {
width: 550px;
border-radius: 50%;
}
:root {
background: #f5f6fa;
color: #9c9c9c;
font: 1rem "PT Sans", sans-serif;
}
html, body, .container {
height: 100%;
}
a {
color: inherit;
}
a:hover {
color: #7f8ff4;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.uppercase {
text-transform: uppercase;
}
.btn {
display: inline-block;
background: transparent;
color: inherit;
font: inherit;
border: 0;
outline: 0;
padding: 0;
transition: all 200ms ease-in;
cursor: pointer;
}
.btn--primary {
background: #7f8ff4;
color: #fff;
box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1);
border-radius: 2px;
padding: 12px 36px;
}
.btn--primary:hover {
background: #6c7ff2;
}
.btn--primary:active {
background: #7f8ff4;
box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2);
}
.btn--inside {
margin-left: -96px;
}
.form__field {
width: 360px;
background: #fff;
color: #a3a3a3;
font: inherit;
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .1);
border: 0;
outline: 0;
padding: 22px 18px;
}
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css" >
<!-- Linking CSS BootStrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" >
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light fixed-top">
<div class="container">
<a class="navbar-brand" href="#"><b>Virtual Interview, Result Portal</b></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" onclick=myHome()>Home</a>
</li>
<li class="nav-item active">
<a class="nav-link" onclick=myContactUs()>About Us</a>
</li>
<li class="nav-item active">
<a class="nav-link" onclick=myFeatures()>Services</a>
</li>
<li class="nav-item active">
<a class="nav-link" onclick=myContactUs()>Contact Us</a>
</li>
<li class="nav-item active">
<a class="nav-link" onclick=mysignin() >Let Get's Started</a>
</li>
</ul>
</div>
</div>
</nav>
<script>
function myHome(){
window.open("/");
}
function myContactUs(){
window.open("/contactus");
}
function myFeatures(){
window.open('/features');
}
function mysignin(){
window.open('/signin');
}
</script>
</nav>
<br>
<br>
<p></p>
<div class="split left">
<div class="centered">
<br>
<br>
<p></p>
<p class="self2" >We re-engineered the services that we built for Security and Privacy. Result Platform to make it available for all. </p>
<p></p>
<p></p>
<br>
<div class="BOX" >
<!-- <div class="animate__animated animate__fadeInDown">-->
<!-- <p class="self">Recruiter</p>-->
<!-- </div>-->
<!-- <div class="container">-->
<!-- <div class="container__item">-->
<!-- <form class="form">-->
<!-- <div class="animate__animated animate__fadeInRight">-->
<!-- <input id="recruiter" type="email" class="form__field" placeholder="Your Institute Code Here" />-->
<!-- <button id="btn1" type="button" class="btn btn--primary btn--inside uppercase">Next</button>-->
<!-- </div>-->
<!-- </form>-->
<!-- </div>-->
<!-- </div>-->
<!-- <p></p>-->
<div class="animate__animated animate__fadeInDown">
<p class="self">Candidate</p>
</div>
<div class="container">
<div class="container__item">
<form class="form">
<div class="animate__animated animate__fadeInLeft">
<input id="candidate" type="email" class="form__field" placeholder="Your Institute Code Here" />
<button id="btn2" type="button" class="btn btn--primary btn--inside uppercase">Check</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="split right">
<div class="centered">
<img src="https://raw.githubusercontent.com/BTP-Project/Virtual-Interview/master/Result%20Activity-1/Public/finger.jpg" alt="Avatar man" class="animate__animated animate__fadeInUp">
<div class="animate__animated animate__bounce animate__repeat-3" >
<h2 class="self3" >Good Luck !!!</h2>
</div>
<p class="self2" >Have a great Future.</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
// $("#btn1").click(function(){
// var recruiter=$('#recruiter').val().trim();
// if(recruiter===""){
// alert('Text Feild cannot be empty');
// }
// else {
// // <a href="user.html">#btn1</a>
// // document.location = 'http://somewhere.com/';
// document.location='user1.html';
// const data = {
// recruiter
// };
// alert(data.recruiter);
// $.post('/createtable', data, () => {
// console.log('server recieved our data')
// });
// }
// });
$("#btn2").click(function(){
var candidate=$('#candidate').val().trim();
if(candidate===""){
alert('Text Feild cannot be empty');
}
else {
const data = {
candidate
};
alert(data.candidate);
$.post('/showtable', data, () => {
console.log('server recieved our data')
});
}
});
</script>
</body>
</html>