diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2018-10-15 08:30:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-15 08:30:26 +0000 |
commit | fbdc665487bc5ea9fd46502be06a13ebc3e2fb4f (patch) | |
tree | 67759becf5b17097adae402805079bcda37ce391 | |
parent | 0ebf595c11031474260ba0874c7973c91163e958 (diff) | |
parent | ed148f668583b1d502b4981cd212797b7d69ce5c (diff) | |
download | wallabag-fbdc665487bc5ea9fd46502be06a13ebc3e2fb4f.tar.gz wallabag-fbdc665487bc5ea9fd46502be06a13ebc3e2fb4f.tar.zst wallabag-fbdc665487bc5ea9fd46502be06a13ebc3e2fb4f.zip |
Merge pull request #3606 from mritzmann/master
add manifest.json for android pwa
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/base.html.twig | 2 | ||||
-rw-r--r-- | web/manifest.json | 48 | ||||
-rw-r--r-- | web/wallassets/themes/_global/img/appicon/apple-touch-icon-512.png | bin | 0 -> 28102 bytes |
3 files changed, 50 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/base.html.twig b/src/Wallabag/CoreBundle/Resources/views/base.html.twig index 2499bb88..aa388bcb 100644 --- a/src/Wallabag/CoreBundle/Resources/views/base.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/base.html.twig | |||
@@ -38,6 +38,8 @@ | |||
38 | 38 | ||
39 | <link rel="shortcut icon" type="image/x-icon" href="{{ asset('wallassets/themes/_global/img/appicon/favicon.ico') }}"> | 39 | <link rel="shortcut icon" type="image/x-icon" href="{{ asset('wallassets/themes/_global/img/appicon/favicon.ico') }}"> |
40 | 40 | ||
41 | <link rel="manifest" href="{{ asset('manifest.json') }}"> | ||
42 | |||
41 | {% block css %} | 43 | {% block css %} |
42 | {% endblock %} | 44 | {% endblock %} |
43 | {% block scripts %} | 45 | {% block scripts %} |
diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 00000000..72638eef --- /dev/null +++ b/web/manifest.json | |||
@@ -0,0 +1,48 @@ | |||
1 | { | ||
2 | "short_name": "wallabag", | ||
3 | "name": "Save and classify articles. Read them later. Freely.", | ||
4 | "icons": [ | ||
5 | { | ||
6 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-57.png", | ||
7 | "type": "image/png", | ||
8 | "sizes": "57x57" | ||
9 | }, | ||
10 | { | ||
11 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-72.png", | ||
12 | "type": "image/png", | ||
13 | "sizes": "72x72" | ||
14 | }, | ||
15 | { | ||
16 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-76.png", | ||
17 | "type": "image/png", | ||
18 | "sizes": "76x76" | ||
19 | }, | ||
20 | { | ||
21 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-114.png", | ||
22 | "type": "image/png", | ||
23 | "sizes": "114x114" | ||
24 | }, | ||
25 | { | ||
26 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-120.png", | ||
27 | "type": "image/png", | ||
28 | "sizes": "120x120" | ||
29 | }, | ||
30 | { | ||
31 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-144.png", | ||
32 | "type": "image/png", | ||
33 | "sizes": "144x144" | ||
34 | }, | ||
35 | { | ||
36 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-152.png", | ||
37 | "type": "image/png", | ||
38 | "sizes": "152x152" | ||
39 | }, | ||
40 | { | ||
41 | "src": "wallassets/themes/_global/img/appicon/apple-touch-icon-512.png", | ||
42 | "type": "image/png", | ||
43 | "sizes": "512x512" | ||
44 | } | ||
45 | ], | ||
46 | "display": "standalone", | ||
47 | "background_color": "#FFFFFF" | ||
48 | } | ||
diff --git a/web/wallassets/themes/_global/img/appicon/apple-touch-icon-512.png b/web/wallassets/themes/_global/img/appicon/apple-touch-icon-512.png new file mode 100644 index 00000000..7385c256 --- /dev/null +++ b/web/wallassets/themes/_global/img/appicon/apple-touch-icon-512.png | |||
Binary files differ | |||