You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/08/25 02:42:17 UTC
[6/21] remove old custom lib version, not supported lately
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/a205a24a/templates/custom/www/css/index.css
----------------------------------------------------------------------
diff --git a/templates/custom/www/css/index.css b/templates/custom/www/css/index.css
deleted file mode 100644
index c869f87..0000000
--- a/templates/custom/www/css/index.css
+++ /dev/null
@@ -1,100 +0,0 @@
-html,
-body {
- height:100%;
- font-size:12px;
- width:100%;
-}
-
-html {
- display:table;
-}
-
-body {
- background-color:#A7A7A7;
- background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
- background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
- background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
- background-image:-webkit-gradient(
- linear,
- left top,
- left bottom,
- color-stop(0, #A7A7A7),
- color-stop(0.51, #E4E4E4)
- );
- display:table-cell;
- font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
- text-transform:uppercase;
- vertical-align:middle;
-}
-
-.app {
- background-image:url(../img/cordova.png);
- background-repeat:no-repeat;
- margin:0px auto;
- width:275px;
-}
-
-h1 {
- font-size:2em;
- font-weight:300;
- margin:0px;
- overflow:visible;
- padding:0px;
- text-align:center;
-}
-
-.status {
- background-color:#333333;
- border-radius:4px;
- -webkit-border-radius:4px;
- color:#FFFFFF;
- font-size:1em;
- margin:0px auto;
- padding:2px 10px;
- text-align:center;
- width:100%;
- max-width:175px;
-}
-
-.status.complete {
- background-color:#4B946A;
-}
-
-.hide {
- display:none;
-}
-
-@keyframes fade {
- from { opacity: 1.0; }
- 50% { opacity: 0.4; }
- to { opacity: 1.0; }
-}
-
-@-webkit-keyframes fade {
- from { opacity: 1.0; }
- 50% { opacity: 0.4; }
- to { opacity: 1.0; }
-}
-
-.blink {
- animation:fade 3000ms infinite;
- -webkit-animation:fade 3000ms infinite;
-}
-
-/* portrait */
-/* @media screen and (max-aspect-ratio: 1/1) */
-.app {
- background-position:center top;
- height:100px; /* adds enough room for text */
- padding:180px 0px 0px 0px; /* background height - shadow offset */
-}
-
-/* lanscape (when wide enough) */
-@media screen and (min-aspect-ratio: 1/1) and (min-width:445px) {
- .app {
- background-position:left center;
- height:140px; /* height + padding = background image size */
- padding-left:170px; /* background width */
- padding-top:60px; /* center the text */
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/a205a24a/templates/custom/www/img/cordova.png
----------------------------------------------------------------------
diff --git a/templates/custom/www/img/cordova.png b/templates/custom/www/img/cordova.png
deleted file mode 100644
index e8169cf..0000000
Binary files a/templates/custom/www/img/cordova.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/a205a24a/templates/custom/www/index.html
----------------------------------------------------------------------
diff --git a/templates/custom/www/index.html b/templates/custom/www/index.html
deleted file mode 100644
index 854e7ac..0000000
--- a/templates/custom/www/index.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name = "format-detection" content = "telephone=no"/>
- <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width;" />
- <link rel="stylesheet" type="text/css" href="css/index.css" />
- <title>Hello Cordova</title>
- </head>
- <body>
- <div class="app">
- <h1>Apache Cordova</h1>
- <div id="deviceready">
- <p class="status pending blink">Connecting to Device</p>
- <p class="status complete blink hide">Device is Ready</p>
- </div>
- </div>
- <script type="text/javascript" src="cordova-2.1.0.js"></script>
- <script type="text/javascript" src="js/index.js"></script>
- <script type="text/javascript">
- app.initialize();
- </script>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/a205a24a/templates/custom/www/js/index.js
----------------------------------------------------------------------
diff --git a/templates/custom/www/js/index.js b/templates/custom/www/js/index.js
deleted file mode 100644
index 6140331..0000000
--- a/templates/custom/www/js/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-var app = {
- initialize: function() {
- this.bind();
- },
- bind: function() {
- document.addEventListener('deviceready', this.deviceready, false);
- },
- deviceready: function() {
- // note that this is an event handler so the scope is that of the event
- // so we need to call app.report(), and not this.report()
- app.report('deviceready');
- },
- report: function(id) {
- console.log("report:" + id);
- // hide the .pending <p> and show the .complete <p>
- document.querySelector('#' + id + ' .pending').className += ' hide';
- var completeElem = document.querySelector('#' + id + ' .complete');
- completeElem.className = completeElem.className.split('hide').join('');
- }
-};
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/a205a24a/templates/standalone/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/templates/standalone/CordovaSourceDictionary.xml b/templates/standalone/CordovaSourceDictionary.xml
index 5aee8d4..e2ed22f 100644
--- a/templates/standalone/CordovaSourceDictionary.xml
+++ b/templates/standalone/CordovaSourceDictionary.xml
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This file is auto-generated, do not edit! -jm -->
<CordovaSourceDictionary>
+ <FilePath Value="www\js\index.js"/>
+ <FilePath Value="www\cordova-2.1.0.js"/>
+ <FilePath Value="www\css\index.css"/>
+ <FilePath Value="www\img\cordova.png"/>
+ <FilePath Value="www\index.html"/>
</CordovaSourceDictionary>