Before, the whole editor UI was redefined for web_editor, each mass_mailing template, website builder, ... Now they all inherit from the web_editor one.
36 lines
1.0 KiB
XML
36 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="snippets">
|
|
<ul id="snippets_menu">
|
|
<li class="active">
|
|
<a href="#snippet_structure" class="scroll-link">
|
|
<span class="fa-stack fa-lg">
|
|
<i class="fa fa-square fa-stack-2x fa-inverse"></i>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div id="o_scroll">
|
|
<div id="snippet_structure" class="o_panel">
|
|
<div class="o_panel_header">
|
|
<i class="fa fa-th-large"/> First Panel
|
|
</div>
|
|
<div class="o_panel_body"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="snippet_options" class="hidden">
|
|
<t t-call="web_editor.snippet_options"/>
|
|
</div>
|
|
</template>
|
|
|
|
<!-- options (data-selector, data-drop-in, data-drop-near, data-js to link js object ) -->
|
|
<template id="snippet_options">
|
|
<!-- t-field -->
|
|
<div data-js='many2one'
|
|
data-selector="[data-oe-many2one-model]:not([data-oe-readonly])"
|
|
data-no-check="true"/>
|
|
</template>
|
|
</odoo>
|