summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorddm <ddm@openerp.com>2013-09-02 17:06:29 +0200
committerddm <ddm@openerp.com>2013-09-02 17:06:29 +0200
commitf77b9c7bd6f4bc4e64c94cc9914fe2b798cc3497 (patch)
tree68d134e3d239556d4403f2509cfe8f830228d7dc /addons/website/static/src/xml
parentd95305b7a433113cb33e58010a6718cc7504fcf0 (diff)
SEO image thumbnails
bzr revid: ddm@openerp.com-20130902150629-g3x9o9bi6ptsx7zf
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/website.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/website/static/src/xml/website.xml b/addons/website/static/src/xml/website.xml
index 04b116b787d..866da125a40 100644
--- a/addons/website/static/src/xml/website.xml
+++ b/addons/website/static/src/xml/website.xml
@@ -117,6 +117,12 @@
</div>
</div>
</section>
+ <section>
+ <h3 class="page-header">3. Describe your images</h3>
+ <div class="row js_seo_images">
+ <!-- filled in JS -->
+ </div>
+ </section>
<hr/>
<section>
<button type="button" data-action="update" class="btn btn-primary">Apply changes</button> or <a data-action="discard" data-dismiss="modal" href="#">Discard</a>
@@ -152,6 +158,13 @@
</li>
</t>
+ <t t-name="website.seo_image">
+ <div class="col-sm-6 col-md-3 oe_seo_image_preview">
+ <img t-att-src="widget.src" class="img-rounded thumbnail"/>
+ <input type="text" class="form-control" t-attf-placeholder="#{widget.alt or 'Description...'}"/>
+ </div>
+ </t>
+
<t t-name="website.carousel">
<div class="item" style="background-image: url(/website/static/src/img/china.jpg); background-size: cover; background-position: bottom;" >
<div class='container'>