mirror of
https://github.com/frontendnetwork/vegancheck.me
synced 2024-11-10 14:34:14 +00:00
Added overlay & underlay to scanner, added noscript, adde minified JS
This commit is contained in:
parent
19da188621
commit
6c8ce7e4b9
1 changed files with 14 additions and 6 deletions
20
index.php
20
index.php
|
@ -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"> </div>
|
<div id="result"> </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;">× <?php print_r($langArray['layover']['close']); ?></span>
|
<div id="controls" style="display:none;">
|
||||||
|
<span id="close"><span class="btn-dark">× <?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>');
|
||||||
|
|
Loading…
Reference in a new issue