mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
51 lines
969 B
HTML
51 lines
969 B
HTML
<!--
|
|
* PhoneGap is available under *either* the terms of the modified BSD license *or* the
|
|
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
|
|
*
|
|
* Copyright (c) 2011, IBM Corporation
|
|
*
|
|
-->
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<title>Cordova BarcodeScanner desktop test app</title>
|
|
<script src="image-data.json.js"></script>
|
|
<script src="desktop-app.js"></script>
|
|
<style>
|
|
#template {
|
|
display: none;
|
|
}
|
|
|
|
div.xtest-case {
|
|
border: thin solid black;
|
|
margin: 1em;
|
|
padding: 1em;
|
|
float: left;
|
|
max-width: 25%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body onload="onLoad()">
|
|
|
|
<div id="content">
|
|
</div>
|
|
|
|
<div id="template">
|
|
<p><b>({{current}}/{{total}}): {{image}} </b>
|
|
|
|
<p><button onclick="displayNextTest()">next image</button>
|
|
|
|
<p><img src="images/{{image}}">
|
|
|
|
<p>result should be:
|
|
<br><tt>{{format}} - "{{text}}"</tt>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html> |