index.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. if (!isset($_GET['pos_id'])) {
  3. echo file_get_contents(dirname(__FILE__). "/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. <div class="controls">
  28. <fieldset class="reader-config-group">
  29. <label>
  30. <span>Camera</span>
  31. <select name="input-stream_constraints" id="deviceSelection">
  32. </select>
  33. </label>
  34. </fieldset>
  35. </div>
  36. <form action="/api/?a=pos_upload&<?php echo $_SERVER['QUERY_STRING']; ?>" method="POST">
  37. <div id="result_strip">
  38. <ul class="thumbnails"></ul>
  39. </div>
  40. <div id="interactive" class="viewport"></div>
  41. <div id="manual_entry">
  42. Manuell:
  43. <input type="number" id="manual_code" step="0.001" placeholder="000.000" tabindex="-1" />
  44. <button id="snapshot" tabindex="-1" >
  45. <i class="glyphicon glyphicon-camera"></i>
  46. </button>
  47. </div>
  48. <br/><br/>
  49. Rechnung abschlie&szlig;en &nbsp;
  50. <input type="submit" id="submit_button" value="senden" />
  51. </form>
  52. </section>
  53. </div>
  54. <script src="js/jquery-1.11.0.min.js"></script>
  55. <script src="js/adapter-latest.js" type="text/javascript"></script>
  56. <script src="js/quagga.min.js" type="text/javascript"></script>
  57. <script src="js/live_w_locator.js" type="text/javascript"></script>
  58. <script src="js/scale.fix.js"></script>
  59. </body>
  60. </html>