index.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. if (!isset($_GET['pos_id'])) {
  3. header("Location: {$_SERVER['HTTP_ORIGIN']}/mobile/config.html");
  4. exit();
  5. }
  6. ?>
  7. <!doctype html>
  8. <html>
  9. <head>
  10. <meta charset="utf-8">
  11. <meta http-equiv="X-UA-Compatible" content="chrome=1">
  12. <title>Kasse</title>
  13. <base href="/mobile/">
  14. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  15. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  16. <!--[if lt IE 9]>
  17. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  18. <![endif]-->
  19. <link rel="stylesheet" href="css/styles.css">
  20. <link rel="stylesheet" href="css/example.css">
  21. <link rel="stylesheet" href="css/pygment_trac.css">
  22. <link rel="stylesheet" href="/vendor/styles/glyphicons.css">
  23. </head>
  24. <body>
  25. <div class="wrapper">
  26. <section id="container" class="container">
  27. <form action="/api/?a=pos_upload&<?php echo $_SERVER['QUERY_STRING']; ?>" method="POST">
  28. <div id="result_strip">
  29. <ul class="thumbnails"></ul>
  30. </div>
  31. <div id="interactive" class="viewport"></div>
  32. <div id="manual_entry">
  33. Manuell:
  34. <input type="number" id="manual_code" step="0.001" placeholder="000.000" tabindex="-1" />
  35. <button id="snapshot" tabindex="-1" >
  36. <i class="glyphicon glyphicon-camera"></i>
  37. </button>
  38. </div>
  39. <br/><br/>
  40. Rechnung abschlie&szlig;en &nbsp;
  41. <input type="submit" id="submit_button" value="senden" />
  42. </form>
  43. </section>
  44. </div>
  45. <script src="js/jquery-1.11.0.min.js"></script>
  46. <script src="js/adapter-latest.js" type="text/javascript"></script>
  47. <script src="js/quagga.min.js" type="text/javascript"></script>
  48. <script src="js/live_w_locator.js" type="text/javascript"></script>
  49. <script src="js/scale.fix.js"></script>
  50. </body>
  51. </html>