Update app for PhoneGap.

This commit is contained in:
Michael Brooks
2012-08-20 15:03:04 -07:00
parent e812eef314
commit a5dad76f33
4 changed files with 25 additions and 2 deletions

View File

@@ -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 File

@@ -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;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -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>