-
Notifications
You must be signed in to change notification settings - Fork 2
/
VoterVerification2.html
121 lines (109 loc) · 5.85 KB
/
VoterVerification2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Voter Registration Page</title>
<link rel="stylesheet" href="./src/fonts/material-icon/css/material-design-iconic-font.min.css">
<link rel="stylesheet" href="./src/css/style.css">
<link rel="stylesheet" href="./src/css/select.css">
<link rel="stylesheet" href="./src/css/nav.css">
<script src="https://cdn.jsdelivr.net/gh/ethereum/[email protected]/dist/web3.js" charset="utf-8"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Faker/3.1.0/faker.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="./index.js" type="text/javascript"></script>
<script src="./src/js/app.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</script>
<!--Navigation-->
<header id="header">
<nav class="links" style="--items: 5;">
<a href="./VoterVerification2.html">Voter Adhaar Verification</a>
<a href="./VoterVerification1.html">Voter Image Verification</a>
<a href="./VotingPortal.html">Voting Portal</a>
<a href="./AdminVerification1.html">Admin Portal</a>
<a href="./Results.html">Results</a>
<span class="line"></span>
</nav>
</header>
<br>
<br>
<br>
<br>
<br>
<div class="main">
<section class="signup">
<div class="container1">
<div class="signup-content">
<div class="signup-form">
<h2 class="form-title">Voter Registration</h2>
<form class="register-form" id="register-form">
<div class="form-group">
<label for="name"><i class="zmdi zmdi-account material-icons-name"></i></label>
<input type="text" id="adhaarNumber" placeholder="Your Adhaar Number / आपका आधार नंबर" />
</div>
<div class="form-group">
<label for="name"><i class="zmdi zmdi-account material-icons-name"></i></label>
<input type="text" id="email" placeholder="Your Email Id / आपकी ईमेल आईडी" />
</div>
<div class="form-group form-button">
<input onclick="verify()" class="form-submit" value="Verify / सत्यापित करें" readonly/>
</div>
<!-- <div class="form-group">
<label for="name"><i class="zmdi zmdi-account material-icons-name"></i></label>
<input type="text" id="otp" placeholder="OTP / ओटीपी"/>
</div> -->
<div class="form-group form-button">
<input onclick="loadVote()" class="form-submit" value="Register / रजिस्टर करें" readonly/>
</div>
</form>
</div>
<div>
<figure><img src="./src/images/download.png" width="250" alt="sign up image"></figure>
<!-- <style>
#my_camera{
width: 320px;
height: 240px;
border: 1px solid black;
}
</style>
<div id="my_camera"></div>
<input type="button" class="form-submit" value="Take Snapshot" onClick="take_snapshot()">
<div id="results" ></div>
<script type="text/javascript" src="webcam.min.js"></script>
<script language="JavaScript">
Webcam.set({
width: 320,
height: 240,
image_format: 'jpeg',
jpeg_quality: 90
});
Webcam.attach( '#my_camera' );
function take_snapshot() {
var adh = document.getElementById("adhaarNumber").value;
Webcam.snap( function(adh) {
// display results in page
document.getElementById('results').innerHTML =
'<div id="printMe"><img src="'+adh+'"/></div>';
} );
}
</script> -->
</div>
</div>
<!-- CSS -->
</div>
</section>
</div>
</body>
</html>