diff options
| author | chm@openerp.com <> | 2014-04-08 11:47:03 +0200 |
|---|---|---|
| committer | chm@openerp.com <> | 2014-04-08 11:47:03 +0200 |
| commit | 81f2c983e5e901a7c832b7213595f1bd6443a347 (patch) | |
| tree | d23081bd509a5d9da0ecc1ebb35e9723a852cc48 /addons/website/static/src/xml | |
| parent | d15ba59a23384bcebbbcf3c369a4fb6b287e7a23 (diff) | |
[IMP] website: media editor: change button on keyup
bzr revid: chm@openerp.com-20140408094703-7qayghtm88qku3jz
Diffstat (limited to 'addons/website/static/src/xml')
| -rw-r--r-- | addons/website/static/src/xml/website.editor.xml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index 0fcbc585ae5..879da3011f6 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -147,18 +147,19 @@ target="fileframe" class="form-inline"> <div class="well"> - <div class="pull-right"> - <label for="iamgeurl">Image URL</label> + <div class="form-group pull-left"> + <input type="file" name="upload" accept="image/*" style="position: absolute; opacity: 0; width: 1px; height: 1px;"/> + <button type="button" class="btn btn-primary filepicker">Upload an image from your computer</button> + <button type="button" class="btn hidden wait" disabled="disabled">Uploading...</button> + </div> + <div> + <span class="text-muted"> — or — </span> + <label for="iamgeurl">Add an image URL</label> <div class="form-group btn-group"> <input type="text" name="url" class="form-control url pull-left" style="width: 320px;" id="iamgeurl" placeholder="http://openerp.com/logo.png"/> <button class="btn btn-default" type="submit">Add</button> </div> </div> - <div class="form-group"> - <input type="file" name="upload" accept="image/*" style="position: absolute; opacity: 0; width: 1px; height: 1px;"/> - <button type="button" class="btn btn-primary filepicker">Upload an image from your computer</button> - <button type="button" class="btn hidden wait" disabled="disabled">Uploading...</button> - </div> </div> <input type="hidden" name="func"/> <div class="help-block"/> |
