12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- if (!isset($_GET['pos_id'])) {
- print_r($_SERVER['HTTP_ORIGIN']);
- $host = (str_contains($_SERVER['HTTP_ORIGIN'], 'vorsortierter-flohmarkt.de')) ? "https://app.vorsortierter-flohmarkt.de" : "";
- header("Location: {$host}/mobile/config.html");
- exit();
- }
- ?>
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="chrome=1">
- <title>Kasse</title>
- <base href="/mobile/">
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
- <!--[if lt IE 9]>
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- <link rel="stylesheet" href="css/styles.css">
- <link rel="stylesheet" href="css/example.css">
- <link rel="stylesheet" href="css/pygment_trac.css">
- <link rel="stylesheet" href="/vendor/styles/glyphicons.css">
- </head>
- <body>
- <div class="wrapper">
- <section id="container" class="container">
- <form action="/api/?a=pos_upload&<?php echo $_SERVER['QUERY_STRING']; ?>" method="POST">
- <div id="result_strip">
- <ul class="thumbnails"></ul>
- </div>
- <div id="interactive" class="viewport"></div>
- <div id="manual_entry">
- Manuell:
- <input type="number" id="manual_code" step="0.001" placeholder="000.000" tabindex="-1" />
- <button id="snapshot" tabindex="-1" >
- <i class="glyphicon glyphicon-camera"></i>
- </button>
- </div>
- <br/><br/>
- Rechnung abschließen
- <input type="submit" id="submit_button" value="senden" />
- </form>
- </section>
- </div>
- <script src="js/jquery-1.11.0.min.js"></script>
- <script src="js/adapter-latest.js" type="text/javascript"></script>
- <script src="js/quagga.min.js" type="text/javascript"></script>
- <script src="js/live_w_locator.js" type="text/javascript"></script>
- <script src="js/scale.fix.js"></script>
- </body>
- </html>
|