Added overlay & underlay to scanner, added noscript, adde minified JS

This commit is contained in:
Philip 2022-01-31 23:16:56 +01:00
parent 19da188621
commit 6c8ce7e4b9

View file

@ -45,7 +45,7 @@ https://github.com/jokenetwork/vegancheck.me
<meta name="apple-mobile-web-app-title" content="VeganCheck"> <meta name="apple-mobile-web-app-title" content="VeganCheck">
<link rel="apple-touch-startup-image" href="img/iossplash.png?v=1.0.0"> <link rel="apple-touch-startup-image" href="img/iossplash.png?v=1.0.0">
<link href="css/style.min.css?v=3.9.49" rel="stylesheet"> <link href="css/style.min.css?v=3.9.53" rel="stylesheet">
</head> </head>
<body> <body>
@ -53,6 +53,11 @@ https://github.com/jokenetwork/vegancheck.me
<img src="img/rotatedevice.svg" alt="<?php print_r($langArray['other']['rotate']); ?>"> <img src="img/rotatedevice.svg" alt="<?php print_r($langArray['other']['rotate']); ?>">
<h1><?php print_r($langArray['other']['rotate']); ?></h1> <h1><?php print_r($langArray['other']['rotate']); ?></h1>
</div> </div>
<noscript>
<div class="noscript">
<h3>VeganCheck.me only works properly with Javascript enabled. <a href="https://www.enable-javascript.com">Learn how to enable Javascript here</a>.</h3>
</div>
</noscript>
<div class="container"> <div class="container">
<div id="main"> <div id="main">
<img src="img/VeganCheck.svg" alt="Logo" class="logo"> <img src="img/VeganCheck.svg" alt="Logo" class="logo">
@ -68,7 +73,6 @@ https://github.com/jokenetwork/vegancheck.me
<button name="submit" aria-label="<?php print_r($langArray['form']['submit']); ?>" role="button"><span class="icon-right-open"></span></button> <button name="submit" aria-label="<?php print_r($langArray['form']['submit']); ?>" role="button"><span class="icon-right-open"></span></button>
</fieldset> </fieldset>
</form> </form>
<noscript><h3>VeganCheck.me only works properly with Javascript enabled. <a href="https://www.enable-javascript.com">Learn how to enable Javascript here</a>.</h3></noscript>
<div id="result">&nbsp;</div> <div id="result">&nbsp;</div>
<footer> <footer>
<p><?php print_r($langArray['footer']['credits']); ?> <p><?php print_r($langArray['footer']['credits']); ?>
@ -80,12 +84,16 @@ https://github.com/jokenetwork/vegancheck.me
</footer> </footer>
</div> </div>
</div> </div>
<span id="close" style="display:none;">&times; <?php print_r($langArray['layover']['close']); ?></span> <div id="controls" style="display:none;">
<span id="close"><span class="btn-dark">&times; <?php print_r($langArray['layover']['close']); ?></span></span>
<span id="barcodeicon"><span class="icon-barcode"></span></span>
<div id="background"></div>
</div>
<script src="js/jquery.min.js"></script> <script src="js/jquery.min.js"></script>
<script src="js/BarcodeScanner.js"></script> <script src="js/BarcodeScanner.min.js"></script>
<script src="js/app.js"></script> <script src="js/app.js?v=1.0.5"></script>
<?php <?php
if (isset($_COOKIE['log']) && $_COOKIE['log'] == "Yes"){ if (isset($_COOKIE['log']) && $_COOKIE['log'] == "Yes"){
print_r('<script async src="https://analytics.vegancheck.me/ackee.js" data-ackee-server="https://analytics.vegancheck.me" data-ackee-domain-id="77898809-adfe-4573-a05f-88cd663f0fb5" data-ackee-opts=\'{ "detailed": true }\'></script>'); print_r('<script async src="https://analytics.vegancheck.me/ackee.js" data-ackee-server="https://analytics.vegancheck.me" data-ackee-domain-id="77898809-adfe-4573-a05f-88cd663f0fb5" data-ackee-opts=\'{ "detailed": true }\'></script>');