diff options
| author | Christophe Matthieu <chm@odoo.com> | 2014-06-20 09:24:41 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2014-06-20 09:24:41 +0200 |
| commit | e3c2689d891cfb2888e39ba83274d37156b4fa8e (patch) | |
| tree | 349087a006d106c139404d6f4cdb77135895a7af /addons/web/static/src/xml | |
| parent | 578c8832f6781fa75816b58bf52bfb1915392dda (diff) | |
| parent | 5165b52b434086b525301a5a12c09128667e6149 (diff) | |
Merge pull request #619 from odoo-dev/master-add-tour-backend-chm
[IMP] Tour: add tour in web module; tour became available in backend.
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 1 | ||||
| -rw-r--r-- | addons/web/static/src/xml/website.tour.xml | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 913783a2396..fb2fcbf303e 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -2038,4 +2038,5 @@ </t> <t t-name="StatInfo"> <strong><t t-esc="value"/></strong><br/><t t-esc="text"/></t> + </templates> diff --git a/addons/web/static/src/xml/website.tour.xml b/addons/web/static/src/xml/website.tour.xml new file mode 100644 index 00000000000..cae823bd04e --- /dev/null +++ b/addons/web/static/src/xml/website.tour.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<templates id="template" xml:space="preserve"> + <t t-name="tour.popover"> + <div t-attf-class="#{ fixed ? 'popover tour fixed' : 'popover tour' }"> + <div class="arrow" t-if="!next"></div> + <h3 class="popover-title"></h3> + <div class="popover-content"></div> + <t t-if="next or end"> + <nav class="popover-navigation"> + <t t-if="next"> + <button class="btn btn-sm btn-default" data-role="next"><t t-esc="next"/></button> + </t> + <small t-if="next && end"> + <span class="text-muted"> or </span> + <button class="btn-link" data-role="end" style="float: none; padding: 0"><t t-esc="end"/></button> + </small> + <t t-if="end && ! next"> + <button class="btn btn-sm btn-default" data-role="end"><t t-esc="end"/></button> + </t> + </nav> + </t> + </div> + </t> + <t t-name="tour.popover_title"> + <t t-esc="title"/><button title="End This Tutorial" type="button" class="close" data-role="end">×</button> + </t> +</templates> |
