forked from Gauraviitkgp/GramNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfinal.php
More file actions
71 lines (61 loc) · 1.91 KB
/
Copy pathfinal.php
File metadata and controls
71 lines (61 loc) · 1.91 KB
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
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gram Net</title>
<link rel="stylesheet" href="assets/demo.css">
<link rel="stylesheet" href="assets/form-labels-on-top.css">
</head>
<body>
<header>
<div id="image" style="display:inline;"><img src="gramnet.jpg" height="10%" width="10%"></img></div>
<h1 style="display:inline; white-space:nowrap;" >Gram-net|<i style="vertical-align:bottom">Connecting Villages~internet</i></h1>
</header>
<ul>
<li><a href="final.php">Scan QR</a></li>
<li><a href="Selection.php">Select Package</a></li>
<li><a href="Payment.php">Pay amount</a></li>
</ul>
<div class="main-content">
<form class="form-labels-on-top" method="post" action="final_submission.php">
<div class="form-title-row">
<h1>QR Code</h1>
</div>
<div class="form-row">
<label>
<span>Scan Your QR code here</span>
<div id="reader" style="width:300px;height:250px">
</div>
</label>
</div><br><br>
<h2>OR</h2>
<br><br>
<div class="form-title-row">
<h1>Enter Aadhar number</h1>
</div>
<div class="form-row">
<label>
<span>Write your 12 digit Aadhar:</span>
<input type="text" name="UID" id="UID">
</label>
</div>
<div>
<input type="submit" id ="print"><a href="Selection.php">Submit</a></input>
</div>
</form>
</div>
<script src="lib/html5_qrcode.min.js" type="text/javascript"></script>
<script>
$('#reader').html5_qrcode(function(data){
// do something when code is read
},
function(error){
//show read errors
}, function(videoError){
//the video stream could be opened
}
);
</script>
</body>
</html>