bootstrap & jquery plugins

This commit is contained in:
fred 2022-04-11 11:27:45 +02:00
parent 538e65c5a9
commit 5b6acb389f
7 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{
"History": [
]
}

59
templates/instascan.html Normal file
View File

@ -0,0 +1,59 @@
<!DOCTYPE html>
<html>
<head>
<title>JQuery HTML5 QR Code Scanner using Instascan JS Example - ItSolutionStuff.com</title>
<script src="js/jquery.min.js"></script>
<script src="js/instascan.min.js"></script>
</head>
<body>
<h1>JQuery HTML5 QR Code Scanner using Instascan JS Example - ItSolutionStuff.com</h1>
<video id="preview"></video>
<script type="text/javascript">
let scanner = new Instascan.Scanner({ video: document.getElementById('preview') });
scanner.addListener('scan', function (content) {
alert(content);
});
Instascan.Camera.getCameras().then(function (cameras) {
if (cameras.length > 0) {
scanner.start(cameras[0]);
} else {
console.error('No cameras found.');
}
}).catch(function (e) {
console.error(e);
});
</script>
</body>
</html>

7
templates/js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

48
templates/js/instascan.min.js vendored Normal file

File diff suppressed because one or more lines are too long

5
templates/js/popper.min.js vendored Normal file

File diff suppressed because one or more lines are too long

7
templates/styles/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long