summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.snippets.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2015-07-07 16:02:53 +0200
committerChristophe Matthieu <chm@odoo.com>2015-07-10 17:00:11 +0200
commit8c559044a5e1be111dcb577ad7e5ab462c1002a0 (patch)
treeba1602e15b2bca38babd6cca63a41da1d05b4321 /addons/website/static/src/xml/website.snippets.xml
parenta616c57c609da0e5e56835dcb45e1c05590d25b8 (diff)
[IMP] web_editor: split website into web_editor (to use editor in backend for html field) and website
Diffstat (limited to 'addons/website/static/src/xml/website.snippets.xml')
-rw-r--r--addons/website/static/src/xml/website.snippets.xml74
1 files changed, 0 insertions, 74 deletions
diff --git a/addons/website/static/src/xml/website.snippets.xml b/addons/website/static/src/xml/website.snippets.xml
deleted file mode 100644
index 42a925184fa..00000000000
--- a/addons/website/static/src/xml/website.snippets.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<templates id="template" xml:space="preserve">
-
- <!-- Snippet loader -->
- <t t-name="website.snippets_style">
- <li class="navbar-form">
- <div class="btn-group">
- <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
- Block style <span class="caret"></span>
- </button>
- <ul class="dropdown-menu" id="oe_snippets_style" role="menu"></ul>
- </div>
- </li>
- </t>
-
- <t t-name="website.snippets">
- <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>
-
- <t t-name="website.snippet_overlay">
- <div class="oe_overlay">
- <div class="oe_overlay_options" contentEditable="false">
- <div class="btn-group">
- <a href="#" class="btn btn-default btn-sm oe_snippet_parent" title="Select Container Block"><i class="fa fa-upload"></i></a>
- <div class="dropdown oe_options hidden btn-group">
- <a href="#" data-toggle="dropdown" class="btn btn-primary btn-sm" title="Customize">Customize <span class="caret"/></a>
- <ul class="dropdown-menu" role="menu"></ul>
- </div>
- <a href="#" class="btn btn-default btn-sm oe_snippet_move" title="Drag to Move">&amp;nbsp;<i class="fa fa-arrows"></i>&amp;nbsp;</a>
- <a href="#" class="btn btn-default btn-sm oe_snippet_clone" title="Duplicate Container">&amp;nbsp;<i class="fa fa-files-o"></i>&amp;nbsp; </a>
- <a href="#" class="btn btn-default btn-sm oe_snippet_remove" title="Remove Block">&amp;nbsp;<i class="fa fa-trash-o"></i>&amp;nbsp; </a>
- </div>
- </div>
- <div class='oe_handles'>
- <div class='oe_handle n readonly'><div></div></div>
- <div class='oe_handle e readonly'><div></div></div>
- <div class='oe_handle w readonly'><div></div></div>
- <div class='oe_handle size readonly'>
- <div class="oe_handle_button auto_size">Auto Resize</div>
- <div class="oe_handle_button size">Resize</div>
- </div>
- <div class='oe_handle s readonly'><div></div></div>
- </div>
- </div>
- </t>
-
- <t t-name="website.snippet_manipulator">
- <div class='oe_snippet_manipulator'></div>
- </t>
-
- <!-- t-field options -->
-
- <t t-name="website.many2one.button">
- <div class="dropdown">
- <a href="#" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" title="Search Contact"><i class="fa fa-search"></i></a>
- <ul class="dropdown-menu contact_menu" role="menu">
- <li><a><input href="#" type="email" placeholder="Search"/></a></li>
- </ul>
- </div>
- </t>
-
- <t t-name="website.many2one.search">
- <t t-foreach="contacts" t-as="item">
- <li><a href="#" t-att-data-id="item.id" t-att-data-name="item.display_name"><t t-esc="item.display_name"/> <t t-if="item.city or item.country_id"><small class="text-muted">(<t t-esc="item.city"/> <t t-esc="item.country_id and item.country_id[1]"/>)</small></t></a></li>
- </t>
- </t>
-</templates>