summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/website.tour.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2014-06-18 12:25:53 +0200
committerChristophe Matthieu <chm@odoo.com>2014-06-18 12:25:53 +0200
commit1c8e3c315686646d62e05cf11c7cac01a7ce7d0f (patch)
treec98cd13488430aef98cd3e41137c600b50c04084 /addons/web/static/src/xml/website.tour.xml
parentbc3fc54fac248c829a6472bcdaf06347238195b0 (diff)
[IMP] Tour: add tour in web module; tour became available in backend.
Diffstat (limited to 'addons/web/static/src/xml/website.tour.xml')
-rw-r--r--addons/web/static/src/xml/website.tour.xml27
1 files changed, 27 insertions, 0 deletions
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..d3d3fb8c57a
--- /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"></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 &amp;&amp; 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 &amp;&amp; ! 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>