mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
opt 移动端背景色
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'odoo 16 Customize OEM(Boost, Data reset)',
|
'name': 'odoo 16 Customize OEM(Boost, Data reset)',
|
||||||
'version': '16.23.04.07',
|
'version': '16.23.04.10',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Productivity',
|
'category': 'Productivity',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -1,28 +1,24 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<!-- <template id="assets_backend" name="app_odoo_customize assets" inherit_id="web.assets_backend">-->
|
<!-- 处理 title 及 theme-color-->
|
||||||
<!-- <xpath expr="//link[last()]" position="after">-->
|
<template id="app_layout" inherit_id="web.layout" name="app Web layout">
|
||||||
<!-- <link rel="stylesheet" type="text/scss" href="/app_odoo_customize/static/src/scss/app.scss"/>-->
|
<xpath expr="//title" position="replace">
|
||||||
<!-- <link rel="stylesheet" type="text/scss" href="/app_odoo_customize/static/src/scss/ribbon.scss"/>-->
|
<title t-esc="title or 'odooApp'"/>
|
||||||
<!-- <link rel="stylesheet" type="text/scss" href="/app_odoo_customize/static/src/scss/dialog.scss"/>-->
|
</xpath>
|
||||||
<!-- </xpath>-->
|
</template>
|
||||||
<!-- <xpath expr="script[last()]" position="after">-->
|
<!-- end-->
|
||||||
<!-- <script type="text/javascript" src="/app_odoo_customize/static/src/js/app_window_title.js"></script>-->
|
|
||||||
<!-- <script type="text/javascript" src="/app_odoo_customize/static/src/js/customize_user_menu.js"></script>-->
|
|
||||||
<!-- <script type="text/javascript" src="/app_odoo_customize/static/src/js/ribbon.js"></script>-->
|
|
||||||
<!-- <script type="text/javascript" src="/app_odoo_customize/static/src/js/dialog.js"></script>-->
|
|
||||||
<!-- </xpath>-->
|
|
||||||
<!-- </template>-->
|
|
||||||
|
|
||||||
<!-- some odoo version not support, please remove this if you are using odoo9 -->
|
|
||||||
<template id="replace_login" name="Login Layout" inherit_id="web.login_layout">
|
<template id="replace_login" name="Login Layout" inherit_id="web.login_layout">
|
||||||
<xpath expr="//a[@target='_blank']" position="replace">
|
<xpath expr="//a[@target='_blank']" position="replace">
|
||||||
<a href="https://www.sunpop.cn" target="_blank">Powered by <span>odooApp</span></a>
|
<a href="https://www.sunpop.cn" target="_blank">Powered by
|
||||||
|
<span>odooApp</span>
|
||||||
|
</a>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
<template id="replace_copyright_name" name="Copyright Name" inherit_id="web.frontend_layout">
|
<template id="replace_copyright_name" name="Copyright Name" inherit_id="web.frontend_layout">
|
||||||
<xpath expr="//span[hasclass('o_footer_copyright_name')]" position="replace">
|
<xpath expr="//span[hasclass('o_footer_copyright_name')]" position="replace">
|
||||||
<span class="o_footer_copyright_name me-2">Copyright &copy; <span t-field="res_company.name" itemprop="name"/></span>
|
<span class="o_footer_copyright_name me-2">Copyright &copy;
|
||||||
|
<span t-field="res_company.name" itemprop="name"/>
|
||||||
|
</span>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
</odoo>
|
</odoo>
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<!-- 企业版变色 -->
|
<!-- 企业版变色 -->
|
||||||
<template id="replace_theme_color" name="Replace theme color" inherit_id="web.webclient_bootstrap">
|
<template id="app_layout" inherit_id="web.layout" name="app Web layout">
|
||||||
<xpath expr="//meta[@name='theme-color']" position="replace">
|
<xpath expr="//meta[last()]" position="after">
|
||||||
<meta name="theme-color" content="#875A7B"/>
|
<meta name="theme-color" content="#875A7B"/>
|
||||||
<!-- Windows Phone -->
|
<!-- Windows Phone -->
|
||||||
<meta name="msapplication-navbutton-color" content="#00796B"/>
|
<meta name="msapplication-navbutton-color" content="#00796B"/>
|
||||||
@@ -12,4 +12,15 @@
|
|||||||
<meta name="theme-color" content="#242733" media="(prefers-color-scheme: dark)"/>
|
<meta name="theme-color" content="#242733" media="(prefers-color-scheme: dark)"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
<!-- <template id="replace_theme_color" name="Replace theme color" inherit_id="web.webclient_bootstrap">-->
|
||||||
|
<!-- <xpath expr="//meta[@name='theme-color']" position="replace">-->
|
||||||
|
<!-- <meta name="theme-color" content="#875A7B"/>-->
|
||||||
|
<!-- <!– Windows Phone –>-->
|
||||||
|
<!-- <meta name="msapplication-navbutton-color" content="#00796B"/>-->
|
||||||
|
<!-- <!– iOS Safari –>-->
|
||||||
|
<!-- <meta name="apple-mobile-web-app-capable" content="yes"/>-->
|
||||||
|
<!-- <meta name="theme-color" content="#875A7B" media="(prefers-color-scheme: light)"/>-->
|
||||||
|
<!-- <meta name="theme-color" content="#242733" media="(prefers-color-scheme: dark)"/>-->
|
||||||
|
<!-- </xpath>-->
|
||||||
|
<!-- </template>-->
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user