summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/theme_preview.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website/static/src/xml/theme_preview.xml')
-rw-r--r--addons/website/static/src/xml/theme_preview.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/addons/website/static/src/xml/theme_preview.xml b/addons/website/static/src/xml/theme_preview.xml
new file mode 100644
index 00000000..67ce152e
--- /dev/null
+++ b/addons/website/static/src/xml/theme_preview.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<templates id="template" xml:space="preserve">
+ <t t-name="website.ThemePreview.Buttons">
+ <div>
+ <div class="o_form_buttons_view" role="toolbar" aria-label="Main actions">
+ <button type="object" name="button_choose_theme" class="btn btn-primary o_use_theme">
+ Start Now
+ </button>
+ <button class="btn btn-link o_switch_theme">
+ Choose another theme
+ </button>
+ </div>
+ </div>
+ </t>
+
+ <t t-name="website.ThemePreview.SwitchModeButton">
+ <div class="btn-group btn-group-toggle ml-1" data-toggle="buttons">
+ <label class="btn btn-secondary active">
+ <input type="radio" name="viewer" data-mode='desktop' autocomplete="off" checked='checked'/> Desktop
+ </label>
+ <label class="btn btn-secondary">
+ <input type="radio" name="viewer" data-mode='mobile' autocomplete="off"/> Mobile
+ </label>
+ </div>
+ </t>
+ <t t-name="website.ThemePreview.Loader">
+ <div class="o_theme_install_loader_container position-fixed fixed-top fixed-left
+ h-100 w-100 d-flex flex-column align-items-center text-white font-weight-bold">
+ <t t-if="showTips">Building your website...</t>
+ <div class="o_theme_install_loader"></div>
+ <p t-if="showTips" class="o_theme_install_loader_tip text-center w-25">
+ TIP: Follow the
+ <span class="o_tooltip o_tooltip_visible top o_animated position-relative"></span>
+ to build the perfect page in 5 steps.
+ </p>
+ </div>
+ </t>
+</templates>