Sean Wilkinson avatar Sean Wilkinson committed 8b4e9b6

Fixed the splash screen for iOS "web apps"

Comments (0)

Files changed (4)

couchdb-app/_attachments/cache.manifest

 CACHE MANIFEST
+
+#-  cache.manifest ~~
+#                                                       ~~ (c) SRW, 01 Nov 2011
+
 developer.js
 favicon.ico
 fs.js

couchdb-app/_attachments/index.html

     <meta name="apple-mobile-web-app-capable" content="yes"/>
     <meta name="apple-mobile-web-app-status-bar-style"
         content="black-translucent"/>
-    <link rel="apple-touch-icon" href="/icon-iphone.png"/>
-    <link rel="apple-touch-icon" sizes="72x72" href="/icon-ipad.png"/>
-    <link rel="apple-touch-icon" sizes="114x114" href="/icon-iphone4.png"/>
-    <link rel="apple-touch-startup-image" href="/startup-image.png"/>
+    <link rel="apple-touch-icon" href="icon-iphone.png"/>
+    <link rel="apple-touch-icon" sizes="72x72" href="icon-ipad.png"/>
+    <link rel="apple-touch-icon" sizes="114x114" href="icon-iphone4.png"/>
+    <link rel="apple-touch-startup-image" href="startup-image.png"/>
   <!--
     JavaScript
   -->
-    <script src="/web-chassis.js"></script>
+    <script src="web-chassis.js"></script>
   </head>
   <body>
     <noscript>Please enable JavaScript in your browser.</noscript>
         <a href="/db/_changes?filter=quanah/queue&limit=20">Queue</a>
       </li>
     </ul>
-    <script src="/quanah.js"></script>
+    <script src="quanah.js"></script>
     <script src="/fs.js"></script>
   </body>
 </html>
Add a comment to this file

couchdb-app/_attachments/startup-image.png

Old
Old image
New
New image
 GOOGLECODE  :=  googlecode.png
 GOOGWEBAPP1 :=  128_icon.png
 GOOGWEBAPP2 :=  112_icon.png
-IOS_LORES   :=  apple-touch-startup-image.png
+IOS_LORES   :=  apple-touch-startup-image-lores.png
 IOS_HIRES   :=  apple-touch-startup-image-hires.png
+IOS_SPLASH  :=  apple-touch-startup-image-splash.png
 IPAD        :=  apple-touch-icon-ipad.png
 IPHONE      :=  apple-touch-icon-iphone.png
 IPHONE4     :=  apple-touch-icon-iphone4.png
 LOGO        :=  logo.jpg
 
-DARK_BG     :=  dark-background-lores.png
+DARK_BG     :=  dark-background.png
 DARK_BG_HI  :=  dark-background-hires.png
+DARK_BG_LO  :=  dark-background-lores.png
 PNG256      :=  reference-256.png
 REF_BG      :=  background.png
 REF_FG      :=  foreground.png
                 $(GOOGWEBAPP2)  \
                 $(IOS_LORES)    \
                 $(IOS_HIRES)    \
+                $(IOS_SPLASH)   \
                 $(IPAD)         \
                 $(IPHONE)       \
                 $(IPHONE4)      \
 
 clean: reset
 	@   $(RM) $(wildcard *.aux *.log) $(BGPDF) $(DARKBGPDF) $(PDF)      \
-                $(DARK_BG) $(DARK_BG_HI) $(REF_FG) $(REF_BG)
+                $(DARK_BG) $(DARK_BG_HI) $(DARK_BG_LO) $(REF_FG) $(REF_BG)
 
 clobber: clean
 	@   $(RM) $(ICONS) $(PNG256) $(REF_JPG) $(REF_PNG)
 $(IOS_HIRES): $(DARK_BG_HI) $(PNG256)
 	@   $(COMPOSITE) -gravity center $(PNG256) $(DARK_BG_HI) $@
 
+$(IOS_SPLASH): $(DARK_BG) $(GOOGWEBAPP1)
+	@   $(COMPOSITE) -gravity center $(GOOGWEBAPP1) $(DARK_BG) $@
+
 $(IPHONE): $(REF_JPG)
 	@   $(CONVERT) $(call IMGOPTS,57) $< $@
 
 ###
 
 $(DARK_BG): $(DARKBGPDF)
+	@   $(CONVERT) $(call IMGOPTS,512) -extent '320x460' $< $@
+
+$(DARK_BG_LO): $(DARKBGPDF)
 	@   $(CONVERT) $(call IMGOPTS,512) -extent '320x480' $< $@
 
 $(DARK_BG_HI): $(DARKBGPDF)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.