Sean Wilkinson avatar Sean Wilkinson committed 05ca88a

Added iOS touch icons to the CouchApp :-)

Comments (0)

Files changed (5)

couchdb-app/_attachments/index.html

     <title>Quanah: Home Page</title>
     <link rel="stylesheet" href="style.css"/>
     <link rel="shortcut icon" href="favicon.ico"/>
+    <link rel="apple-touch-icon" href="touch-icon-iphone.png"/>
+    <link rel="apple-touch-icon" sizes="72x72" href="touch-icon-ipad.png"/>
+    <link rel="apple-touch-icon" sizes="114x114" href="touch-icon-iphone4.png"/>
     <script src="web-chassis.js"></script>
   </head>
   <body>
Add a comment to this file

couchdb-app/_attachments/touch-icon-ipad.png

Added
New image
Add a comment to this file

couchdb-app/_attachments/touch-icon-iphone.png

Added
New image
Add a comment to this file

couchdb-app/_attachments/touch-icon-iphone4.png

Added
New image
 SRC         :=  quanah-logo.tex
 PDF         :=  $(SRC:%.tex=%.pdf)
 
-APPLE_TOUCH :=  apple-touch-icon.png
 BITBUCKET   :=  bitbucket.jpg
 FAVICON     :=  favicon.ico
 GOOGLECODE  :=  googlecode.png
 GOOGWEBAPP1 :=  128_icon.png
 GOOGWEBAPP2 :=  112_icon.png
+IPAD        :=  touch-icon-ipad.png
+IPHONE      :=  touch-icon-iphone.png
+IPHONE4     :=  touch-icon-iphone4.png
 LOGO        :=  logo.jpg
 
 REF_BG      :=  background.png
 REF_FG      :=  foreground.png
+REF_JPG     :=  reference.jpg
 REF_PNG     :=  reference.png
 
-ICONS       :=  $(APPLE_TOUCH)  \
-                $(BITBUCKET)    \
+ICONS       :=  $(BITBUCKET)    \
                 $(FAVICON)      \
                 $(GOOGLECODE)   \
                 $(GOOGWEBAPP1)  \
                 $(GOOGWEBAPP2)  \
+                $(IPAD)         \
+                $(IPHONE)       \
+                $(IPHONE4)      \
                 $(LOGO)
 
 #-  Since we're converting a vector format (PDF) into raster formats, we will
 IMGOPTS      =  -density 600 -gravity center -quality 100 -resize '$(1)x$(1)'
 
 COLOR       :=  "\#CCCCCC"
+
 IMGOPTS_REF  =  $(IMGOPTS) -extent '$(1)x$(1)' -bordercolor $(COLOR)        \
                 -border "1x1" -matte -fill none -fuzz "20%"                 \
                 -draw "matte 0,0 floodfill" -shave "1x1" -background "\#FFFFFF"
 	@   $(RM) $(wildcard *.aux *.log) $(BGPDF) $(PDF) $(REF_FG) $(REF_BG)
 
 clobber: clean
-	@   $(RM) $(ICONS) $(REF_PNG)
+	@   $(RM) $(ICONS) $(REF_JPG) $(REF_PNG)
 
 reset:
 	@   clear
 
 .PHONY: test
 
-test: $(APPLE_TOUCH)
+test: $(IPHONE4)
 	@   $(OPEN) $<
 
 ###
 
-$(APPLE_TOUCH): $(REF_PNG)
-	@   $(CONVERT) $(call IMGOPTS,114) $< $@
+$(BITBUCKET): $(REF_PNG)
+	@   $(CONVERT) $(call IMGOPTS_REF,35) $< $@
 
 $(FAVICON): $(REF_PNG)
 	@   $(CONVERT) $(call IMGOPTS,16) $< $@
 
-$(BITBUCKET): $(REF_PNG)
-	@   $(CONVERT) $(call IMGOPTS_REF,35) $< $@
-
 $(GOOGLECODE): $(REF_PNG)
 	@   $(CONVERT) $(call IMGOPTS,55) $< $@
 
 $(GOOGWEBAPP2): $(REF_PNG)
 	@   $(CONVERT) $(call IMGOPTS,112) $< $@
 
+$(IPHONE): $(REF_JPG)
+	@   $(CONVERT) $(call IMGOPTS,57) $< $@
+
+$(IPAD): $(REF_JPG)
+	@   $(CONVERT) $(call IMGOPTS,72) $< $@
+
+$(IPHONE4): $(REF_JPG)
+	@   $(CONVERT) $(call IMGOPTS,114) $< $@
+
 $(LOGO): $(REF_PNG)
 	@   $(CONVERT) $(call IMGOPTS_REF,128) $< $@
 
 $(REF_FG): $(PDF)
 	@   $(CONVERT) $(call IMGOPTS,512) -extent '512x512' $< $@
 
+$(REF_JPG): $(REF_PNG)
+	@   $(CONVERT) $(call IMGOPTS_REF,512) $< $@
+
 $(REF_PNG): $(REF_BG) $(REF_FG)
 	@   $(CONVERT) $(call IMGOPTS,512) $(REF_FG) $(REF_BG) \
                 -compose ChangeMask -composite $@
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.