summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-10-16 14:29:05 +0200
committerChristophe Matthieu <chm@openerp.com>2013-10-16 14:29:05 +0200
commit2c58996d57cccfd828b747b49ec0d667fe89fe97 (patch)
tree1056606bb7c762ca88805c2d819a0a4dd06b2b29 /addons/website/static/src/xml
parent7c0da590e19e3f0b942c6442b2d50c9ab1ef65de (diff)
parent641477141f39ac02bcd933fb8b0a6f15cf1526de (diff)
[IMP] website snippet: improve visibility of drop zone
bzr revid: chm@openerp.com-20131016122905-w93f4vtamiqy79lo
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/website.snippets.xml23
1 files changed, 21 insertions, 2 deletions
diff --git a/addons/website/static/src/xml/website.snippets.xml b/addons/website/static/src/xml/website.snippets.xml
index e5dde368154..6aaf256b523 100644
--- a/addons/website/static/src/xml/website.snippets.xml
+++ b/addons/website/static/src/xml/website.snippets.xml
@@ -31,8 +31,8 @@
this one:
</p>
<div class="row">
- <div class="col-sm-4 col-sm-offset-4 oe_drop_zone_style text-center">
- <span class="mt16">drop in this zone</span>
+ <div class="col-sm-6 col-sm-offset-3 oe_drop_zone_style text-center">
+ <div>drop in this zone</div>
</div>
</div>
<div class="text-muted">
@@ -57,6 +57,25 @@
<div id='oe_snippets'></div>
</t>
+ <t t-name="website.snippet_drop_zone">
+ <div class='oe_drop_zone oe_insert'>
+ <div>Drag your block here (move your mouse in this zone)</div>
+ <div class="oe_active">Drop your block</div>
+ </div>
+ </t>
+
+ <t t-name="website.snippet_dark_for_dropzone">
+ <div id="dark_for_dropzone">
+ <table width="100%" height="100%">
+ <tbody>
+ <tr><td colspan="3"></td></tr>
+ <tr><td></td><td class="center"></td><td></td></tr>
+ <tr><td colspan="3"></td></tr>
+ </tbody>
+ </table>
+ </div>
+ </t>
+
<t t-name="website.snippet_overlay">
<div class="oe_overlay">
<div class="oe_overlay_options">