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