Difficulty for the user to understand how to change the images. Some options summernote being in the bar and the other in the snippets editor. Need to merge this options.
50 lines
1.1 KiB
XML
50 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<template id="snippets">
|
|
|
|
|
|
<ul>
|
|
<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">
|
|
<span class="fa-stack">
|
|
<i class="fa fa-th-large fa-stack-1x"></i>
|
|
</span> First Panel
|
|
</div>
|
|
<div class="o_panel_body">
|
|
|
|
</div>
|
|
</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">
|
|
</div>
|
|
</template>
|
|
|
|
</data>
|
|
</openerp>
|