diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-12-02 13:45:04 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-12-02 13:45:04 +0100 |
| commit | c1f306dd969c16ec5ebe57833353d11fb20d3b94 (patch) | |
| tree | c020c8be147293c0a1563b1700875c30c738da18 /addons/website/static/src/xml | |
| parent | b51daf482becb359aae89ea91e131ee848ddb010 (diff) | |
[WIP] website: add website_button widget in backend to publish and go back to the website. (need bootstrap 3 for layout)
bzr revid: chm@openerp.com-20131202124504-78zvm5t0p1hpsn53
Diffstat (limited to 'addons/website/static/src/xml')
| -rw-r--r-- | addons/website/static/src/xml/website.backend.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/addons/website/static/src/xml/website.backend.xml b/addons/website/static/src/xml/website.backend.xml new file mode 100644 index 00000000000..e7f83c23740 --- /dev/null +++ b/addons/website/static/src/xml/website.backend.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- vim:fdl=1: +--> +<templates id="template" xml:space="preserve"> + + <t t-name="WidgetWebsiteButton"> + + <div class="btn-group oe_WidgetWebsiteButton"> + <button class="btn btn-success"> + <span class="oe_unpublish">Not Published</span> + <span class="oe_publish">Published</span> + </button> + <button id="dopprod-6" data-toggle="dropdown" type="button" class="btn btn-default dropdown-toggle"> + <span class="caret"></span> + </button> + <ul role="menu" class="dropdown-menu" aria-labelledby="dopprod-6"> + <li> + <a href="#" title="View in frontend">Website</a> + </li> + </ul> + </div> + + </t> + +</templates> |
