Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update app for PhoneGap.

  • Loading branch information...
commit a5dad76f336f2d59b2101e5bfa84988cafb53536 1 parent e812eef
@mwbrooks mwbrooks authored
View
23 UPDATING.md
@@ -1 +1,24 @@
# Upgrading the Application
+
+The application is based on the Apache Cordova Hello World example.
+
+## Upgrading
+
+### Update the Source
+
+ cp /incubator-cordova-app-hello-world/www www/
+
+Do not replace `www/img/logo.png`.
+
+### Update the HTML
+
+ vim www/index.html
+
+Replace `<h1>Apache Cordova</h1>` with `<h1>PhoneGap</h1>`.
+
+### Update the CSS
+
+ vim www/css/index.css
+
+Replace `h1 { font-size:24px; }` with `h1 { font-size:36px; }`.
+
View
2  www/css/index.css
@@ -65,7 +65,7 @@ body {
}
h1 {
- font-size:24px;
+ font-size:36px; /* @override increase font-size for "PhoneGap" text */
font-weight:normal;
margin:0px;
overflow:visible;
View
BIN  www/img/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2  www/index.html
@@ -27,7 +27,7 @@
</head>
<body>
<div class="app">
- <h1>Apache Cordova</h1>
+ <h1>PhoneGap</h1>
<div id="deviceready">
<p class="status pending blink">Connecting to Device</p>
<p class="status complete blink hide">Device is Ready</p>
Please sign in to comment.
Something went wrong with that request. Please try again.