summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-09-27 14:41:16 +0200
committerChristophe Matthieu <chm@openerp.com>2013-09-27 14:41:16 +0200
commit60e2a03700a073b50bd31102b6b562d56f0cc5dc (patch)
tree63f510b7483a0caafb432d15b50fc4f03aef9b22 /addons/website/static/src/xml
parent03348a0a9fb18db051afbba2cb7ad89546a9120d (diff)
[IMP] website snippet: background option for paralax and fix banner
bzr revid: chm@openerp.com-20130927124116-o2244s5ufu18pvcx
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/website.snippets.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.snippets.xml b/addons/website/static/src/xml/website.snippets.xml
index 856f0837a29..b885126adf9 100644
--- a/addons/website/static/src/xml/website.snippets.xml
+++ b/addons/website/static/src/xml/website.snippets.xml
@@ -797,7 +797,24 @@
<div t-name="website.snippets.parallax" data-snippet-id='parallax' data-category='effect' data-selector-children='.oe_structure, [data-oe-type=html]'>
<div class='oe_snippet_thumbnail'>Parallax</div>
- <section class="oe_snippet_body parallax_full oe_structure">
+
+ <li class="oe_snippet_options dropdown-submenu">
+ <a tabindex="-1" href="#">Background</a>
+ <ul class="dropdown-menu" name="parallax-background">
+ <li data-value="/website/static/src/img/parallax/parallax_bg.jpg"><a>Parallax</a></li>
+ <li data-value="/website/static/src/img/banner/aqua.jpg"><a>Aqua</a></li>
+ <li data-value="/website/static/src/img/banner/baby_blue.jpg"><a>Baby Blue</a></li>
+ <li data-value="/website/static/src/img/banner/black.jpg"><a>Black</a></li>
+ <li data-value="/website/static/src/img/banner/color_splash.jpg"><a>Color Splash</a></li>
+ <li data-value="/website/static/src/img/banner/greenfields.jpg"><a>Greenfields</a></li>
+ <li data-value="/website/static/src/img/banner/landscape.jpg"><a>Landscape</a></li>
+ <li data-value="/website/static/src/img/banner/mango.jpg"><a>Mango</a></li>
+ <li data-value="/website/static/src/img/banner/flower.jpg"><a>Purple</a></li>
+ <li class="oe_custom_bg"><b></b></li>
+ </ul>
+ </li>
+
+ <section class="oe_snippet_body parallax_full oe_structure" style="background-image: url(/website/static/src/img/parallax/parallax_bg.jpg)">
<div class="container">
<div class="row">
<div class="col-md-12 mt128 mb32">