summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2015-02-09 13:40:49 +0100
committerJulien De Coster <jdc@odoo.com>2015-02-12 11:58:12 +0100
commit28ed28f9451edcb32f70daf7082d2ae91148b79c (patch)
tree9ad5ae4a272340247a81332895bd230952dbb5bd /addons/website/static/src/xml
parenta46a060f0fda429109fa1c34784c9267d57e2660 (diff)
[IMP] website: create a new web editor in the backend to edit html field with the website builder
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/website.backend.xml6
-rw-r--r--addons/website/static/src/xml/website.snippets.xml5
2 files changed, 9 insertions, 2 deletions
diff --git a/addons/website/static/src/xml/website.backend.xml b/addons/website/static/src/xml/website.backend.xml
index 60c86e1ce8c..6860b10b5cd 100644
--- a/addons/website/static/src/xml/website.backend.xml
+++ b/addons/website/static/src/xml/website.backend.xml
@@ -8,4 +8,10 @@
</div>
</t>
+ <t t-name="FieldTextHtml">
+ <div class="oe_form_field oe_form_field_html oe_form_embedded_html" t-att-style="widget.node.attrs.style">
+ <iframe/>
+ </div>
+ </t>
+
</templates>
diff --git a/addons/website/static/src/xml/website.snippets.xml b/addons/website/static/src/xml/website.snippets.xml
index 94fcc2dffd4..42a925184fa 100644
--- a/addons/website/static/src/xml/website.snippets.xml
+++ b/addons/website/static/src/xml/website.snippets.xml
@@ -14,12 +14,13 @@
</t>
<t t-name="website.snippets">
- <div id='oe_snippets' class="o_open">
- <div class="o_arrow">
+ <div id='oe_snippets' class="hidden-xs o_open">
+ <div id="o_arrow">
<span class="fa fa-angle-double-right fa-1x" style="top: 10px;"></span>
<div>Insert Blocks</div>
<span class="fa fa-angle-double-right fa-1x" style="bottom: 10px;"></span>
</div>
+ <div id="o_left_bar"></div>
</div>
</t>