FIX: web icon
This commit is contained in:
parent
3dbf149bd5
commit
1fa260bb26
|
|
@ -47,15 +47,15 @@ class WebManifest(http.Controller):
|
||||||
'scope': '/odoo',
|
'scope': '/odoo',
|
||||||
'start_url': '/odoo',
|
'start_url': '/odoo',
|
||||||
'display': 'standalone',
|
'display': 'standalone',
|
||||||
'background_color': '#714B67',
|
'background_color': '#017e84',
|
||||||
'theme_color': '#714B67',
|
'theme_color': '#017e84',
|
||||||
'prefer_related_applications': False,
|
'prefer_related_applications': False,
|
||||||
}
|
}
|
||||||
icon_sizes = ['192x192', '512x512']
|
icon_sizes = ['192x192', '512x512']
|
||||||
manifest['icons'] = [{
|
manifest['icons'] = [{
|
||||||
'src': '/web/static/img/ftp.jpg',
|
'src': '/web/static/img/ftp.png',
|
||||||
'sizes': size,
|
'sizes': size,
|
||||||
'type': 'image/jpg',
|
'type': 'image/png',
|
||||||
} for size in icon_sizes]
|
} for size in icon_sizes]
|
||||||
manifest['shortcuts'] = self._get_shortcuts()
|
manifest['shortcuts'] = self._get_shortcuts()
|
||||||
return manifest
|
return manifest
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Loading…
Reference in New Issue