summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-09-12 13:29:05 +0200
committerXavier Morel <xmo@openerp.com>2013-09-12 13:29:05 +0200
commit75977b4e43026d21ce691f30c0df1043485d83fe (patch)
tree7ee558dc648685e13a69ed18447b7cb39120de6a /addons/website/static/src/xml/website.editor.xml
parentd124389fa314e57cb27d27ed4fe242322c597c6f (diff)
[ADD] selection of image style in dialog
bzr revid: xmo@openerp.com-20130912112905-6skmq1umsyzcvthz
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index e3a49b26af7..9b8ecc886ab 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -76,10 +76,16 @@
<t t-call="website.editor.dialog">
<t t-set="title">Image:</t>
<div>
- <div>
+ <div class="image-preview-container">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAC0lEQVQIHWP4zwAAAgEBAMVfG14AAAAASUVORK5CYII%3D"
class="pull-right img-rounded image-preview"
width="100%"/>
+ <select class="form-control image-style">
+ <option value="">No styling</option>
+ <option value="img-rounded">Rounded corners</option>
+ <option value="img-thumbnail">Box</option>
+ <option value="img-circle">Circle</option>
+ </select>
</div>
<form method="POST" action="/website/attach"
enctype="multipart/form-data"