forked from Techsystech/web
pre-commit update: prettier xml indent
parent
8322578045
commit
d03c812579
|
@ -2,23 +2,19 @@
|
|||
<!-- Copyright 2015 Francesco OpenCode Apruzzese <cescoap@gmail.com>
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo noupdate="1">
|
||||
|
||||
<!-- Add ribbon name default configuration parameter -->
|
||||
<record id="default_ribbon_name" model="ir.config_parameter">
|
||||
<field name="key">ribbon.name</field>
|
||||
<field name="value"><![CDATA[TEST<br/>({db_name})]]></field>
|
||||
</record>
|
||||
|
||||
<!-- Add ribbon color configuration parameter -->
|
||||
<record id="set_ribbon_color" model="ir.config_parameter">
|
||||
<field name="key">ribbon.color</field>
|
||||
<field name="value">#f0f0f0</field>
|
||||
</record>
|
||||
|
||||
<!-- Add ribbon background color configuration parameter -->
|
||||
<record id="set_ribbon_background_color" model="ir.config_parameter">
|
||||
<field name="key">ribbon.background.color</field>
|
||||
<field name="value">rgba(255,0,0,.6)</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
|
@ -3,19 +3,21 @@
|
|||
Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
|
||||
<!-- Load css for ribbons -->
|
||||
<template id="assets_backend" name="ribbon_test assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<link
|
||||
<!-- Load css for ribbons -->
|
||||
<template
|
||||
id="assets_backend"
|
||||
name="ribbon_test assets"
|
||||
inherit_id="web.assets_backend"
|
||||
>
|
||||
<xpath expr="." position="inside">
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/web_environment_ribbon/static/src/css/ribbon.css"
|
||||
/>
|
||||
<script
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="/web_environment_ribbon/static/src/js/ribbon.js"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
|
|
Loading…
Reference in New Issue