Skip to content
This repository
Browse code

Merge pull request #76 from johan/heroku

iOS web apps <3 pjax
  • Loading branch information...
commit 0630e27febf72250937befc05a104c5f44761467 2 parents c2a7265 + c7f80c5
Chris Wanstrath authored
11 app/views/layout.erb
@@ -5,6 +5,15 @@
5 5 <meta charset='utf-8'>
6 6 <title><%= @title ? "#{@title} - " : nil %> pjax</title>
7 7
  8 + <%# iOS chromeless and native-app:y, if run from a homescreen bookmark %>
  9 + <meta name="apple-mobile-web-app-capable" content="yes">
  10 + <%# and then make that bookmark look at least a smidge respectable too %>
  11 + <link rel="apple-touch-icon" href="/pjax-57.png" sizes="57x57">
  12 + <link rel="apple-touch-icon" href="/pjax-72.png" sizes="72x72">
  13 + <link rel="apple-touch-icon" href="/pjax-114.png" sizes="114x114">
  14 + <%# finally, make the page-top bar somewhat respectably toned down too %>
  15 + <meta name="apple-mobile-web-app-status-bar-style" content="black">
  16 +
8 17 <script src="jquery.js"></script>
9 18 <script src="jquery.cookie.js"></script>
10 19 <script src="pages.js"></script>
@@ -64,4 +73,4 @@
64 73 <%= yield %>
65 74 </div>
66 75
67   -</html>
  76 +</html>
BIN  pjax-114.png
BIN  pjax-16.png
BIN  pjax-56.png
BIN  pjax-72.png
BIN  pjax.png

0 comments on commit 0630e27

Please sign in to comment.
Something went wrong with that request. Please try again.