mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[REM] theme_*: remove snippet options after website refactor
*: theme_clean, theme_common, theme_enark Following the website refactor [1], that code is not used anymore. [1]: https://github.com/odoo/odoo/commit/9fe45e2b7ddbbfd0445ffe25a859e67a316d02b2 closes odoo/design-themes#1125 Related: odoo/odoo#218357 Related: odoo/enterprise#89955 Related: odoo/upgrade#8131 Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
'data': [
|
||||
'data/generate_primary_template.xml',
|
||||
'data/ir_asset.xml',
|
||||
'views/snippets_options.xml',
|
||||
'views/image_library.xml',
|
||||
|
||||
'views/snippets/s_closer_look.xml',
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="enark_snippet_options" inherit_id="website.snippet_options">
|
||||
<xpath expr="//div[@data-js='sizing_x']" position="attributes">
|
||||
<attribute name="data-selector" add=".row.simple-stepwizard-row > .simple-stepwizard-step"/>
|
||||
<attribute name="data-drop-near" add=".row.simple-stepwizard-row"/>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//div[@data-js='Box']" position="before">
|
||||
<div data-js="gradientpicker"
|
||||
data-selector="section, .carousel, .parallax, .s_color_blocks_2 .row > div, .s_team_profile_box">
|
||||
<we-select string="Gradients">
|
||||
<we-button data-select-class="">None</we-button>
|
||||
<we-divider/>
|
||||
<we-button data-select-class="bg_gradient_primary_up"><div class="bg_option_menu_gradient bg_gradient_primary_up d-block mx-auto"/></we-button>
|
||||
<we-button data-select-class="bg_gradient_primary_down"><div class="bg_option_menu_gradient bg_gradient_primary_down d-block mx-auto"/></we-button>
|
||||
<we-button data-select-class="bg_gradient_white_up"><div class="bg_option_menu_gradient bg_gradient_white_up_thumb d-block mx-auto"/></we-button>
|
||||
<we-button data-select-class="bg_gradient_white_down"><div class="bg_option_menu_gradient bg_gradient_white_down_thumb d-block mx-auto"/></we-button>
|
||||
<we-button data-select-class="bg_gradient_black_up"><div class="bg_option_menu_gradient bg_gradient_black_up d-block mx-auto"/></we-button>
|
||||
<we-button data-select-class="bg_gradient_black_down"><div class="bg_option_menu_gradient bg_gradient_black_down d-block mx-auto"/></we-button>
|
||||
</we-select>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user