diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-09-03 16:32:37 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-09-03 16:32:37 +0200 |
| commit | c89d31ca95ab311d720b4754b624bd887d77016d (patch) | |
| tree | cc46d1e0c570434e312f059370ec917a93ab3fba /addons/website/static/src/xml/website.editor.xml | |
| parent | 2dfe9f2bed60fb5df2f743421e07d72efad4c431 (diff) | |
[ADD] creation of new page from link dialog
* Replace select by input with dropdown
* Add random crap to /pagenew so it does not blow up when a butterfly
flaps its wings, also so it's possible to call it through xhr and
get something out of it
* Fix duplicated save() call in link dialog widget thing
bzr revid: xmo@openerp.com-20130903143237-6pwsbqzc02bv3mri
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.editor.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index 8dee9aa9c65..4dd6a958949 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -38,7 +38,14 @@ <ul class="list-group form-group"> <li class="list-group-item active"> <h3 class="list-group-item-heading">Page on your website</h3> - <select class="form-control pages url-source"/> + <div class="input-group"> + <input type="text" class="form-control pages url-source" + placeholder="Create new page"/> + <div class="input-group-btn existing dropdown"> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Existing page <span class="caret"></span></button> + <ul class="dropdown-menu pull-right"/> + </div> + </div> </li> <li class="list-group-item"> <div class="pull-right"> |
