incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [37/46] rejigger to the new structure
Date Sat, 14 Jul 2012 00:24:42 GMT
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/62d32605/templates/standalone/www/index.html
----------------------------------------------------------------------
diff --git a/templates/standalone/www/index.html b/templates/standalone/www/index.html
new file mode 100644
index 0000000..da2db1c
--- /dev/null
+++ b/templates/standalone/www/index.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License. 
+-->
+<html>
+  <head>
+    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no;" />
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
+
+    <title>Cordova WP7</title>
+
+	  <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title"
charset="utf-8"/>
+
+
+      <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
+
+      <script type="text/javascript">
+
+
+        document.addEventListener("deviceready",onDeviceReady,false);
+
+        // once the device ready event fires, you can safely do your thing! -jm
+        function onDeviceReady()
+        {
+            document.getElementById("welcomeMsg").innerHTML += "Cordova is ready! version="
+ window.device.cordova;
+            console.log("onDeviceReady. You should see this message in Visual Studio's output
window.");
+
+        }
+
+      </script>
+
+
+
+
+  </head>
+  <body>
+    <h1>Hello Cordova</h1>
+    <div id="welcomeMsg"></div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/62d32605/templates/standalone/www/master.css
----------------------------------------------------------------------
diff --git a/templates/standalone/www/master.css b/templates/standalone/www/master.css
new file mode 100644
index 0000000..320f926
--- /dev/null
+++ b/templates/standalone/www/master.css
@@ -0,0 +1,28 @@
+  
+  
+  body 
+  {
+    background:#000 none repeat scroll 0 0;
+    color:#ccc;
+    font-family:Helvetica, Verdana, Geneva, sans-serif;
+    margin:0;
+    border-top:1px solid #393939;
+  }
+
+  h1
+  {
+     text-align:center;
+     font-size:18px;
+     color:#FFC312; /* Mango me! */
+  }
+
+
+ 	
+
+
+
+
+
+
+
+


Mime
View raw message