[IMP] website: carousel image bg

bzr revid: chm@openerp.com-20130730144252-grypnxx2urswvzb6
This commit is contained in:
Christophe Matthieu 2013-07-30 16:42:52 +02:00
parent 1d0af41f61
commit 327f943c45
2 changed files with 16 additions and 6 deletions

View File

@ -23,7 +23,17 @@
<button class="add"><t t-esc="'Add a new banner\'s page'"/></button>
<button class="remove"><t t-esc="'Remove this banner\'s page'"/></button>
<div style="display: none;">
<div class="item" style="width: 992px; min-height: 100px;"><h1>Please edit me...</h1></div>
<div class="item">
<div style="border:1px solid #eee; width: 992px; height: 210px; overflow: hidden;">
<img src="//cleancanvas.herokuapp.com/img/backgrounds/color-splash.jpg"/>
</div>
<div class="css_titlebox" style="position: absolute; top: 25px; right: 80px;">
<div style="text-align: right; background: #f6f6f6; padding: 7px 20px; border-radius: 5px;">
<h1>Please edit me !</h1>
<h4>text text text exampletext text text </h4>
</div>
</div>
</div>
</div>
</div>
</t>

View File

@ -190,13 +190,13 @@
<div class="oe_span12">
<div id="myCarousel" class="carousel slide">
<!-- Carousel items -->
<div class="carousel-inner" style="width: 992px; height: 210px;">
<div class="carousel-inner" style="height: 210px; overflow: hidden;">
<div class="item">
<div style="border:1px solid #eee; width: 992px; height: 210px; overflow: hidden;">
<img src="//www.openerp.com/saas_master/static/site_new/img/homepage/events_openedays.jpg"/>
</div>
<div class="css_titlebox" style="position: absolute; top: 50%%; right: 80px;">
<div style="margin-top: -25%%; text-align: right; background: #f6f6f6; padding: 7px 20px; border-radius: 5px;">
<div class="css_titlebox" style="position: absolute; top: 25px; right: 80px;">
<div style="text-align: right; background: #f6f6f6; padding: 7px 20px; border-radius: 5px;">
<h1>OpenDays</h1>
<h4>1000+ participants.<br/>A success thanks to you !</h4>
<a class="btn btn-info" href="https://www.openerp.com/news/post/133-OpenERP-Open-Days-2013-wrap-up-">More Info</a>
@ -207,8 +207,8 @@
<div style="width: 992px; height: 210px; overflow: hidden;">
<img src="//www.openerp.com/saas_master/static/site_new/img/homepage/bg_valencia.png"/>
</div>
<div class="css_titlebox" style="position: absolute; top: 50%%; right: 80px;">
<div style="margin-top: -25%%; text-align: right;">
<div class="css_titlebox" style="position: absolute; top: 25px; right: 80px;">
<div style="text-align: right;">
<h1>OpenERP</h1>
<h4>Beautiful Business Applications<br/>Powerful, Integrated, Open Source</h4>
<a class="btn btn-primary" href="https://www.openerp.com/start">Start your free trial</a>