Back

Template Source: bdgenerix/snippets/_end_body_scripts.html

{% load i18n %} {% load bdex_tags %} {% if SITE_NAME == "Brandsfever" or INSTANCE_ID == "vw"%} <script type="text/javascript" src="{{ STATIC_URL }}bdex/js/zenbox.js"></script> <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}bdex/css/zenbox.css"> <div id="zendesk-btn"> <div>{% trans "Support" %}</div> </div> <div class="dn"> <div id="zendesk-popup"> <div id="zendesk-form"> <h1>{% trans "How can we help you?" %}</h1> <form action="{% if request.is_secure %}{% url bdex-support-form-secure %}{% else %}{% url bdex-support-form %}{% endif %}" method="POST"> {% csrf_token %} <fieldset> <label>{% trans "Order Number" %}*:</label> <br> <input type="text" name="order_number" placeholder='{% trans "please write your related order number here" %}'> <div class="err">{% trans "this field is required" %}</div> <br> <label>{% trans "My issue is" %}*:</label> <br> <select name="issue"> <option value="1" selected="selected">{% trans "I did not receive my product" %}</option> <option value="2">{% trans "I received my product but defective" %}</option> <option value="3">{% trans "I received wrong product" %}</option> <option value="4">{% trans "Other" %}</option> </select> <br> <label>{% trans "Details" %}*:</label> <br> <textarea name="details" rows="6" placeholder='{% trans "please describe your problem here" %}'></textarea> <div class="err">{% trans "this field is required" %}</div> <br> <label>{% trans "Your Email Address" %}*:</label> <br> <input type="email" name="email" placeholder='{% trans "write your email address here" %}'> <div class="err">{% trans "this field is required" %}</div> <br> </fieldset> </form> <input type="button" id="zendesk-submit" value='{% trans "Submit" %}'> </div> <div id="zendesk-result"> <h1 style="text-align:center;width:500px;">{% trans "Thanks for your feedback" %}</h1> <h1 style="text-align:center;">{% trans "Happy shopping with" %} {{ SITE_NAME }}</h1> </div> </div> </div> <!--START : right side bar --> {% if user.is_authenticated %} <div class="sidebar-right" ng-controller="BrowsehistoryCtrl"> <div class="container"> <div> <div class="btn-view-history clickable" > <img src="https://s3-ap-southeast-1.amazonaws.com/brandsfever-static2/icons/rightarrow.png"> RECENTLY VIEWED </div> </div> <div> <div class="view-history-container"> <div class="scroll-up clickable"></div> <div class="scroll"> <div class="moving-scroll"> <div class="item" ng-repeat="recent_product in recent_items"> <a ng-href="/store/productspec/{[{ recent_product.pk }]}/details/" target="_blank"> <img ng-src="{[{ recent_product.img }]}"/> </a> </div> </div> </div> <div class="scroll-down clickable"></div> </div> </div> </div> </div> {% endif %} <!--END: right side bar --> {% endif %} <!-- End Zendesk Script --> {% if SITE_NAME == "Brandsfever" %} <!-- CrazyEgg Script --> <script type="text/javascript"> setTimeout(function(){var a=document.createElement("script"); var b=document.getElementsByTagName("script")[0]; a.src=document.location.protocol+"//dnn506yrbagrg.cloudfront.net/pages/scripts/0018/3781.js?"+Math.floor(new Date().getTime()/3600000); a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1); </script> {% endif %} <!-- End CrazyEgg Script -->