[IMP] website_sale: product placeholder image must be bigger

bzr revid: chm@openerp.com-20131212104724-0jmsepf8k5gtl18h
This commit is contained in:
Christophe Matthieu 2013-12-12 11:47:24 +01:00
parent dfe3ca1172
commit 6655cd8ccd
3 changed files with 14 additions and 1 deletions

View File

@ -420,3 +420,9 @@ ul.wizard li:first-child {
padding-left: 15px;
border-radius: 4px 0 0 4px;
}
/* product detail */
.product_detail_img {
min-width: 128px;
max-height: 500px;
}

View File

@ -366,3 +366,9 @@ ul.wizard li.text-primary .chevron:before
ul.wizard li:first-child
padding-left: 15px
border-radius: 4px 0 0 4px
/* product detail */
.product_detail_img
min-width: 128px
max-height: 500px

View File

@ -253,6 +253,7 @@
<t t-call="website.layout">
<t t-set="head">
<script type="text/javascript" src="/website_sale/static/src/js/website_sale.js"></script>
<link rel='stylesheet' href='/website_sale/static/src/css/website_sale.css'/>
</t>
<t t-set="additional_title" t-value="product.name"/>
<div id="wrap">
@ -290,7 +291,7 @@
<section class="container oe_website_sale" id="product_detail">
<div class="row">
<div class="col-sm-7 col-md-7 col-lg-7">
<span t-field="product.image" style="max-height: 500px" t-field-options='{"widget": "image", "class": "img img-responsive"}'/>
<span t-field="product.image" t-field-options='{"widget": "image", "class": "product_detail_img"}'/>
</div><div class="col-sm-5 col-md-5 col-lg-4 col-lg-offset-1">
<h1 t-field="product.name">Product Name</h1>