Skip to content

Commit

Permalink
Update app for PhoneGap.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwbrooks committed Aug 20, 2012
1 parent e812eef commit a5dad76
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions UPDATING.md
Original file line number Diff line number Diff line change
@@ -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; }`.

2 changes: 1 addition & 1 deletion www/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Binary file modified www/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit a5dad76

Please sign in to comment.