Merge pull request #152 from faebser/manifest-for-mobile

Manifest for mobile
This commit is contained in:
Christopher Speller
2015-07-10 08:42:14 -04:00
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
{
"name": "Mattermost",
"icons": [
{
"src": "../static/iamges/icon50x50.gif",
"sizes": "50x50",
"type": "image/png"
}
],
"start_url": "/",
"display": "standalone",
"orientation": "portrait"
}

View File

@@ -5,6 +5,19 @@
<title>{{ .Title }}</title>
<!-- iOS add to homescreen -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="{{ .Title }}">
<meta name="application-name" content="{{ .Title }}">
<meta name="format-detection" content="telephone=no">
<!-- iOS add to homescreen -->
<!-- Android add to homescreen -->
<link rel="manifest" href="/static/config/manifest.json">
<!-- Android add to homescreen -->
<link rel="stylesheet" href="/static/css/bootstrap-3.3.1.min.css">
<link rel="stylesheet" href="/static/css/jasny-bootstrap.min.css" rel="stylesheet">