Created a page at http://zxing.appspot.com/scan which is the fall-through if Barcode...
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Thu, 12 Mar 2009 19:11:28 +0000 (19:11 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Thu, 12 Mar 2009 19:11:28 +0000 (19:11 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@890 59b500cc-1b3d-0410-9834-0bbf25fbcc57

zxing.appspot.com/app.yaml
zxing.appspot.com/static/scan.html [new file with mode: 0644]
zxing.appspot.com/static/zxingiconsmall.png [new file with mode: 0644]

index bfbaf3e..311c87b 100644 (file)
@@ -7,6 +7,10 @@ handlers:
 - url: /generator
   script: redirect.py
 
+- url: /scan
+  static_files: site/scan.html
+  upload: site/scan.html
+
 - url: (.*)/
   static_files: site\1/index.html
   upload: site/index.html
diff --git a/zxing.appspot.com/static/scan.html b/zxing.appspot.com/static/scan.html
new file mode 100644 (file)
index 0000000..332069e
--- /dev/null
@@ -0,0 +1,39 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+    <title>Zebra Crossing</title>
+    <link rel="stylesheet" href="style.css" type="text/css"/>
+  </head>
+
+  <body>
+    <div id="header">
+      <h1>Zebra Crossing<span> from the ZXing Project</span></h1>
+    </div>
+    
+    <table cellpadding="4" cellspacing="8">
+      <tr>
+        <td valign="top">
+          <img src="zxingiconsmall.png" width="48" height="48">
+        </td>
+        <td valign="top">
+          A web page you are viewing would like to scan a barcode with your camera phone. To do
+          this, you need to install a new application.
+          <p>
+          If you are using an Android device,
+          <a href="market://search?q=pname:com.google.zxing.client.android">click here</a> to
+          install Barcode Scanner. Once installed, it will launch automatically the next time you
+          click on the hyperlink which brought you here.
+          <p>
+          For all other mobile devices, please see
+          <a href="http://code.google.com/p/zxing/wiki/GetTheReader">these installation instructions</a>.
+        </td>
+      </tr>
+    </table>
+    
+    <div id="footer">
+      <a href="http://code.google.com/p/zxing/">ZXing Project Home Page</a>
+    </div>
+  </body>
+</html>
diff --git a/zxing.appspot.com/static/zxingiconsmall.png b/zxing.appspot.com/static/zxingiconsmall.png
new file mode 100644 (file)
index 0000000..45c603d
Binary files /dev/null and b/zxing.appspot.com/static/zxingiconsmall.png differ