123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?php
- if (!isset($_GET['pos_id'])) {
- echo file_get_contents(dirname(__FILE__). "/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">
- <div class="controls">
- <fieldset class="reader-config-group">
- <label>
- <span>Camera</span>
- <select name="input-stream_constraints" id="deviceSelection" tabindex="-1">
- </select>
- </label>
- </fieldset>
- </div>
- <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" onclick="return false;">
- <i class="glyphicon glyphicon-camera"></i>
- </button>
- </div>
- <br/><br/>
- <button id="add_bag" tabindex="-1" onclick="return false;">
- <i class="glyphicon glyphicon-gift"></i> Tasche
- </button>
- <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>
|