mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-20 04:12:04 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<template
|
||||
id="web_layout_pwa"
|
||||
name="Web layout PWA"
|
||||
inherit_id="web.webclient_bootstrap"
|
||||
>
|
||||
<xpath expr="//t[@t-call-assets='web.assets_common']" position="before">
|
||||
<!-- Add link rel manifest -->
|
||||
<link rel="manifest" t-attf-href="/web_pwa_oca/manifest.webmanifest" />
|
||||
<!-- Add iOS meta tags and icons -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
||||
<t
|
||||
t-set="pwa_name"
|
||||
t-value="request.env['ir.config_parameter'].sudo().get_param('pwa.manifest.name')"
|
||||
/>
|
||||
<meta name="apple-mobile-web-app-title" t-att-content="pwa_name" />
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
href="/web_pwa_oca/static/img/icons/icon-152x152.png"
|
||||
/>
|
||||
<!-- Add meta theme-color -->
|
||||
<t
|
||||
t-set="pwa_theme_color"
|
||||
t-value="request.env['ir.config_parameter'].sudo().get_param('pwa.manifest.theme_color')"
|
||||
/>
|
||||
<meta name="theme-color" t-att-content="pwa_theme_color" />
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue