-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsender_page.html
executable file
·76 lines (73 loc) · 2.94 KB
/
sender_page.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<title></title>
</head>
<body>
<div class="jumbotron text-center">
<h1>Welcome To BOCS</h1>
</div>
<div class="container">
<div class="accordion" id="accordionExample">
<div class="card">
<div class="card-header" id="headingOne">
<button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
Time Stamp : 423123
</button>
</div>
<div id="collapseOne" class="collapse" aria-labelledby="headingOne" data-parent="#accordionExample">
<div class="card-body">
<img align="right" src="qr.png" width=150px height=150px>
<h5 class="card-title">Receiver AC : 100028987654</h5>
<p class="card-text">Name : Akul Agrawal</p>
<p class="card-text">IFSC : 9018726354</p>
<p class="card-text">Amount : 2000/-</p>
<p class="card-text" id="qr_code"></p>
<form class ="form-group">
<input type="text" class="form-control mr-sm-2" id="key" placeholder="Decryption Key" name="uname" required>
</form>
</div>
<div class="card-footer">
<span class="btn btn-success" onclick="getQR()">Scan QR</span>
<input type="submit" class="btn btn-primary" value="submit">
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingTwo">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Time Stamp : 423123
</button>
</div>
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionExample">
<div class="card-body">
<img align="right" src="qr.png" width=150px height=150px>
<h5 class="card-title">Receiver AC : 100028987654</h5>
<p class="card-text">Name : Akul Agrawal</p>
<p class="card-text">IFSC : 9018726354</p>
<p class="card-text">Amount : 2000/-</p>
<p class="card-text" id="qr_code"></p>
<form class ="form-group">
<input type="text" class="form-control mr-sm-2" id="key" placeholder="Decryption Key" name="uname" required>
</form>
</div>
<div class="card-footer">
<span class="btn btn-success" onclick="getQR()">Scan QR</span>
<a href="#" class="btn btn-primary">Get TOTP</a>
</div>
</div>
</div>
</div>
</body>
<script type="text/javascript">
function getQR()
{
var x=document.getElementById("qr_code");
x.innerHTML="Public Key : 0xFFcf8FDEE72ac11b5c542428B35EEF5769C409f0";
}
</script>
</html>