mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_zap: theme improvement
Revamp of `theme_zap` task-4178094 closes odoo/design-themes#908 Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
This commit is contained in:
committed by
Alice Gaudon
parent
8fda02fca5
commit
0dd9e17b8f
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_numbers_charts" inherit_id="website.s_numbers_charts">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" remove="pt48 pb48" add="pt80 pb80" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Pie Chart -->
|
||||
<xpath expr="//div[hasclass('s_chart')]" position="attributes">
|
||||
<attribute name="data-data">{"labels":["First","Second"],"datasets":[{"label":"One","data":["25","75"],"backgroundColor":["o-color-3","o-color-1"],"borderColor":["",""]}]}</attribute>
|
||||
</xpath>
|
||||
<!-- Progress 1 -->
|
||||
<xpath expr="(//div[hasclass('progress-bar')])[1]" position="attributes">
|
||||
<attribute name="class" remove="bg-o-color-2" add="bg-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Progress 2 -->
|
||||
<xpath expr="(//div[hasclass('progress-bar')])[2]" position="attributes">
|
||||
<attribute name="class" remove="bg-o-color-2" add="bg-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user