[Rt-commit] rt branch, 4.2/ios-homescreen, created. rt-4.2.1-44-g615348c
Alex Vandiver
alexmv at bestpractical.com
Wed Nov 27 17:31:18 EST 2013
The branch, 4.2/ios-homescreen has been created
at 615348c761827331f7475658108368afc76c36a2 (commit)
- Log -----------------------------------------------------------------
commit e4f5629f52a55bbb56b8e43fc33f5792cb2e2e42
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Mar 8 16:12:49 2011 -0500
Hide browser chrome in webclipped RT on iOS devices
diff --git a/share/html/m/_elements/header b/share/html/m/_elements/header
index 49ef80b..35487cc 100644
--- a/share/html/m/_elements/header
+++ b/share/html/m/_elements/header
@@ -61,6 +61,7 @@ $r->headers_out->{'Cache-control'} = 'no-cache';
% my ($jquery) = grep { /^jquery-\d+\./ } RT::Interface::Web->JSFiles;
<script src="<% RT->Config->Get('WebPath') %>/static/js/<% $jquery %>"></script>
<meta name="viewport" content="width=device-width height=device-height user-scalable=yes"/>
+<meta name="apple-mobile-web-app-capable" content="yes" /> <!-- hide browser chrome in webclipped RT -->
</head>
<body>
% if ($show_home_button) {
commit 615348c761827331f7475658108368afc76c36a2
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Mar 8 16:23:07 2011 -0500
Add an (very simplistic) web icon for iOS devices
diff --git a/share/html/m/_elements/header b/share/html/m/_elements/header
index 35487cc..3f46610 100644
--- a/share/html/m/_elements/header
+++ b/share/html/m/_elements/header
@@ -62,6 +62,7 @@ $r->headers_out->{'Cache-control'} = 'no-cache';
<script src="<% RT->Config->Get('WebPath') %>/static/js/<% $jquery %>"></script>
<meta name="viewport" content="width=device-width height=device-height user-scalable=yes"/>
<meta name="apple-mobile-web-app-capable" content="yes" /> <!-- hide browser chrome in webclipped RT -->
+<link rel="apple-touch-icon" href="<%RT->Config->Get('WebPath')%>/static/images/apple-touch-icon.png" /> <!-- webclipped RT app icon -->
</head>
<body>
% if ($show_home_button) {
diff --git a/share/static/images/apple-touch-icon.png b/share/static/images/apple-touch-icon.png
new file mode 100755
index 0000000..ed1ee37
Binary files /dev/null and b/share/static/images/apple-touch-icon.png differ
-----------------------------------------------------------------------
More information about the rt-commit
mailing list