summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-09-13 17:23:08 +0200
committerXavier Morel <xmo@openerp.com>2013-09-13 17:23:08 +0200
commit972f5029428a9b7fe023ef0ed08d462589e5594c (patch)
tree9de86c91ec6155540313ac92f9bd90be23db51e7 /addons/website/static/src/xml/website.editor.xml
parent5dc21fd044637b2fec3e212380fc6ffdfe84d436 (diff)
[ADD] reintroduce image style selector
bzr revid: xmo@openerp.com-20130913152308-j250t5ns7iaz6w2n
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 ff95dc2fb65..7960e4dc300 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -110,10 +110,16 @@
</div>
<input type="hidden" name="func"/>
</form>
- <div class="col-sm-4">
+ <div class="col-sm-4 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>
</div>
<iframe src="about:blank" name="fileframe" class="hidden"/>