-
Notifications
You must be signed in to change notification settings - Fork 42
/
index.html
92 lines (90 loc) · 2.88 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
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="theme-color" content="#000000" />
<title>MIKHMON QR CODE SCANNER</title>
<style>
body{
background-color: #000000;
color :#ffffff;
}
video {
width: 100% !important;
height: auto !important;
}
.btn{
margin-top:5px;
margin-bottom:10px;
padding:5px;
background-color: #f2f2f2;
color: #000000;
border-radius:3px;
width: 150px;
cursor: pointer;
}
.camera{
width: 95%;
}
a{
text-decoration: none;
color:#20a8d8;
}
@font-face {
font-family: 'fontello';
src: url('./font/fontello.eot?14907215');
src: url('./font/fontello.eot?14907215#iefix') format('embedded-opentype'),
url('./font/fontello.woff?14907215') format('woff'),
url('./font/fontello.ttf?14907215') format('truetype'),
url('./font/fontello.svg?14907215#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
.icon
{
font-family: "fontello";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
font-variant: normal;
text-transform: none;
line-height: 1em;
margin-left: .2em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
</style>
<script type="text/javascript" src="llqrcode.js"></script>
<script type="text/javascript" src="mikhmon_webqr.js?v1"></script>
<script async src="https://arc.io/widget.min.js#rDZc6s4f"></script>
</head>
<body>
<center>
<div id="main">
<div id="mainbody">
<div class="camera" id="outdiv"></div>
<div style="display: table;">
<div style="display: table-row;">
<div style="display: table-cell; padding:3px;">
<div class="btn" id="reload" onclick="location.reload();"><i class="icon icon-arrows-cw"></i> Reload Camera</div>
</div>
<div style="display: table-cell; padding:3px;">
<!-- <div class="btn" onclick="document.location = 'googlechrome://navigate?url=https://laksa19.github.io/myqr/';"></div> -->
<a class="btn" href="intent://laksa19.github.io/myqr#Intent;scheme=http;package=com.android.chrome;end"><i class="icon icon-chrome-1"></i> Open in Chrome</a>
</div>
</div>
</div>
</div>
</div>
<div>MIKHMON QR CODE SCANNER <br>Powered by <a href="http://www.webqr.com">webqr.com</a></div>
</center>
<canvas style="display:none;" id="qr-canvas" width="800" height="600"></canvas>
<script type="text/javascript">load();</script>
</body>
</html>