-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (51 loc) · 2.43 KB
/
index.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
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<title>QrRelay beta</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CC3LK8SQE9"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-CC3LK8SQE9');
</script>
</head>
<body>
<h1>Hi. Welcome to QrRelay (beta). Which end are you at?</h1>
<input type="button" style="display:block; width:100%; padding: 5% 5%; font-size: 30px" value="The giving end"
onclick=redirectGiving() />
<input type="button" style="display:block; width:100%; padding: 5% 5%; font-size: 30px" value="The receiving end"
onclick=redirectReceiving() />
<h2>Tutorial:</h2>
Assuming we have 2 parties, A and B. Where A is the giving party and B is the receiving party. <br>
Giving party means that the party that scans or streams the QR code.<br>
Receiving party means that the party that displays the QR code on another device.<br><br>
Tutorial as follows:
<ol>
<li>Person A goes to <a href="./giving">the giving end page</a> to capture the QR code.</li>
<li>On top of the page, if connection is established you will be given a sessionID. The sessionID is to be sent
to the other party. Or you can key in your customID and give that instead.</li>
<li>You can key in a custom key to send, or scan from webcam. Just keep the camera pointed at the code so that
any updates will be instantly transmitted.</li>
<li>Person B goes to <a href="./receive">the receiving end page</a> to obtain the QR code.</li>
<li>You then key in the sessionID to obtain the QR code.</li>
</ol>
<script>
function redirectGiving() {
window.location.replace("./giving");
}
function redirectReceiving() {
window.location.replace("./receive");
}
</script>
<script type="text/javascript">
var infolinks_pid = 3231462;
var infolinks_wsid = 0;
</script>
<script type="text/javascript" src="//resources.infolinks.com/js/infolinks_main.js"></script>
<input type="hidden" name="IL_IN_ARTICLE">
<img src="https://hitcounter.pythonanywhere.com/count/tag.svg?url=https%3A%2F%2Fqr-cottendance-265413.appspot.com%2F"
alt="Hits">
</body>
</html>