summaryrefslogtreecommitdiff
path: root/addons/website_sale_comparison/static/src/xml/comparison.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/website_sale_comparison/static/src/xml/comparison.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/website_sale_comparison/static/src/xml/comparison.xml')
-rw-r--r--addons/website_sale_comparison/static/src/xml/comparison.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/addons/website_sale_comparison/static/src/xml/comparison.xml b/addons/website_sale_comparison/static/src/xml/comparison.xml
new file mode 100644
index 00000000..47085955
--- /dev/null
+++ b/addons/website_sale_comparison/static/src/xml/comparison.xml
@@ -0,0 +1,35 @@
+<templates id="compare_products" xml:space="preserve">
+
+ <t t-name="product_comparison_template">
+ <div class="o_product_feature_panel d-none css_editable_mode_hidden o_bottom_fixed_element">
+ <span class="o_product_panel" id="comparelist">
+ <span class="o_product_panel_header">
+ <span class="o_product_icon"><i class="fa fa-exchange" role="img" aria-label="Product" title="Product"></i></span>
+ <span class="o_product_text">Compare</span>
+ <span class="o_product_circle o_animate_blink badge badge-primary">0</span>
+ </span>
+ <span class="o_product_panel_content">
+ <div class="o_comparelist_products">
+ <div class="o_comparelist_limit_warning" style="display:none">
+ <div class="o_shortlog alert alert-warning" role="alert">
+ <span><i class="fa fa-warning text-danger" role="img" aria-label="Warning" title="Warning"></i> You can compare max 4 products.</span>
+ </div>
+ </div>
+ </div>
+ <div class="o_comparelist_button" style='display:none'>
+ <a role="button" class="btn btn-primary btn-block" href="#"><i class="fa fa-exchange mr4"/>Compare</a>
+ </div>
+ </span>
+ </span>
+ </div>
+ </t>
+
+ <t t-name="popover">
+ <div style="width:600px;" class="popover comparator-popover" role="tooltip">
+ <div class="arrow"/>
+ <h3 class="popover-header"/>
+ <div class="popover-body"/>
+ </div>
+ </t>
+
+</templates>