src/GlobalBundle/Resources/views/layouts/popup.html.twig line 1

Open in your IDE?
  1. {% set CDN_URL = app_CDN_url() %}
  2. <div class="modal book-a-demo fade" id="bookAdemo">
  3.         <div class="modal-dialog modal-lg">
  4.             <div class="modal-content">
  5.                     <button type="button" id="close-btn" class="close" data-dismiss="modal">&times;</button>
  6.                 <!-- Modal body -->
  7.                 <div class="modal-body" id="bookAdemo_normal">
  8.                    {# <h2>{{ pimcore_input("landing_bookademo_title") }}</h2>
  9.                     <p>{{ pimcore_input("landing_bookademo_desc") }}</p> #}
  10.                     <h2>Book A Demo</h2>
  11.                     <p>Book A Demo Description</p>
  12.                     <div class="book-demo-form form-commom-design">
  13.                         <form name="frmBookDemo" id="frmBookDemo" class="application-form" method="POST" >
  14.                         <div class="row no-gutters">
  15.                             <div class="col-md-6">
  16.                                 <div class="form-group">
  17.                                     <label for="firstName" class="d-none">First Name</label>
  18.                                     <input type="text" class="form-control" name="firstName" id="firstName" placeholder="First Name">
  19.                                 </div>
  20.                             </div>
  21.                             <div class="col-md-6">
  22.                                 <div class="form-group">
  23.                                     <label for="lastName" class="d-none">Last Name</label>
  24.                                     <input type="text" class="form-control" name="lastName" id="lastName" placeholder="Last Name">
  25.                                 </div>
  26.                             </div>
  27.                             <div class="col-md-6">
  28.                                 <div class="form-group">
  29.                                     <label for="jobRole" class="d-none">Job Role</label>
  30.                                     <select class="form-control select-job-role" id="jobRole" name="jobRole">
  31.                                         <option value="">Job Role</option>
  32.                                         <option>Owner/CEO</option>
  33.                                         <option>Management</option>
  34.                                         <option>Buyer</option>
  35.                                         <option>Designer</option>
  36.                                         <option>Developer</option>
  37.                                         <option>Marketing</option>
  38.                                         <option>Sales</option>
  39.                                     </select>
  40.                                 </div>
  41.                             </div>
  42.                             <div class="col-md-6">
  43.                                 <div class="form-group">
  44.                                     <label for="companyType" class="d-none">Type Of Company</label>
  45.                                     <select class="form-control type-of-company" id="companyType" name="companyType">
  46.                                         <option value="">Type Of Company</option>
  47.                                         <option>DIY/Garden Centre</option>
  48.                                         <option>MAss Merchant/Warehouse</option>
  49.                                         <option>Supermarket</option>
  50.                                         <option>Department Store</option>
  51.                                         <option>Commercial Interior</option>
  52.                                         <option>Homeware/Interior Designer</option>
  53.                                         <option>HoReCa</option>
  54.                                         <option>Individual</option>
  55.                                         <option>Other</option>
  56.                                     </select>
  57.                                 </div>
  58.                             </div>
  59.                             <div class="col-md-6">
  60.                                 <div class="form-group">
  61.                                     <label for="companySize" class="d-none">Company Size</label>
  62.                                     <select class="form-control company-size" id="companySize" name="companySize">
  63.                                         <option value="">Company Size</option>
  64.                                         <option>1-10</option>
  65.                                         <option>11-100</option>
  66.                                         <option>101-250</option>
  67.                                         <option>251-500</option>
  68.                                         <option>501-1000</option>
  69.                                         <option>1001+</option>                                        
  70.                                     </select>
  71.                                 </div>
  72.                             </div>
  73.                             <div class="col-md-6">
  74.                                 <div class="form-group">
  75.                                     <label for="companyName" class="d-none">Company Name</label>
  76.                                     <input type="text" class="form-control" id="companyName" name="companyName" placeholder="Company Name">
  77.                                 </div>
  78.                             </div>
  79.                             <div class="col-md-6">
  80.                                 <div class="form-group">
  81.                                     <label for="email" class="d-none">Email</label>
  82.                                     <input type="text" class="form-control" id="email" name="email" placeholder="Email">
  83.                                 </div>
  84.                             </div>
  85.                             <div class="col-md-6">
  86.                                 <div class="form-group">
  87.                                     <button type="submit" name="submit_bookdemo" class="btn btn-send">{{ pimcore_input("landing_bookademo_btnsend") }}</button>
  88.                                 </div>
  89.                             </div>
  90.                         </div>
  91.                         </form>
  92.                         <div class="col-md-12" id="bookAdemo_error" style="display:none">Error!!</div>
  93.                     </div>
  94.                 </div>
  95.                 <div class="modal-body" id="bookAdemo_success" style="display:none">
  96.                     <h2>THANKS!</h2>
  97.                     <p>Once we’ve reviewed your company we’ll be in touch.</p>
  98.                     <div class="book-demo-form form-commom-design border-0">
  99.                         <form>
  100.                         <div class="row no-gutters">
  101.                             <div class="col-md-12">
  102.                                 <div class="thanks-icon">
  103.                                     <img src="{{asset(CDN_URL~'/assets/images/book-de,mo-thanks-icon.svg')}}" alt="Thanks Icon">
  104.                                 </div>
  105.                                 </div>
  106.                         </div>
  107.                         </form>
  108.                     </div>
  109.                 </div>
  110.             </div>
  111.         </div>
  112.     </div>
  113.    <!-- Sign UP Modal -->
  114.   <div class="modal fade signup-modal" id="signup" tabindex="-1" role="dialog" aria-labelledby="signupmodalTitle" aria-hidden="true">
  115.     <div class="modal-dialog modal-dialog-centered" role="document">
  116.       <div class="modal-content">
  117.         <div class="modal-header">
  118.           <h5 class="modal-title" id="exampleModalLongTitle">Let's Get You</h5>
  119.           <h2><em>Signed Up!</em></h2>
  120.           <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  121.             <span aria-hidden="true">&times;</span>
  122.           </button>
  123.         </div>
  124.         <div class="modal-body">
  125.             <form name="frmSignup" id="frmSignup" class="application-form" method="POST">
  126.                 <div class="form-row">
  127.                   <div class="col-md-12">
  128.                     <input type="text" name="firstName" id="signupFirstName" class="form-control" placeholder="First name *">
  129.                   </div>
  130.                   <div class="col-md-12">
  131.                     <input type="text" name="lastName" id="signupLastName" class="form-control" placeholder="Last name ">
  132.                   </div>
  133.                   <div class="col-md-12">
  134.                     <input type="text" class="form-control" name="companyName" id="signupCompanyName" placeholder="Company name *">
  135.                   </div>
  136.                 <div class="col-md-3 col-4">
  137.                     <label for="exampleFormControlInput1" class="d-none">Contact Number</label>
  138.                     <input class="form-control contactNumberCode" id="jquery-intl-phone" name="contactNumberCode" type="tel">
  139.                 </div>
  140.           <div class="col-md-9 col-8">
  141.               <input type="number" class="form-control" name="contactNumber" id="signupContactNumber" placeholder="Contact Number" maxlength="15" oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);">
  142.           </div>         
  143.                   <div class="col-md-12">
  144.                     <input type="email" class="form-control" name="email" id="signupEmail" placeholder="Business Email *">
  145.                   </div>
  146.           {% if countries is defined %}
  147.               <div class="col-md-12 country-dropdown-select2-div">
  148.                 <select class="form-control country-dropdown-select2" name="countryName" id="signupCountry">
  149.                     <option value="">Select Country *</option>
  150.                     {% for option in countries %} 
  151.                       {% set getValueStr = app_general_filter_value_string('countryFilter', option.id)  %} 
  152.                       <option value="{{option.name}}">{{getValueStr}}</option>
  153.                     {% endfor %}
  154.                 </select>
  155.               </div>
  156.           {% endif %}
  157.           <div class="col-md-12">
  158.             <input type="text" class="form-control" name="website" id="signupWebsite" placeholder="Website">
  159.           </div>
  160.                   <div class="col-md-9 who-im">
  161.                       <label for="select">I'm A:</label>
  162.                   </div>
  163.                   <div class="col-md-3 slect-user">
  164.               <select class="form-control" name="customerType" id="customerType">
  165.                   <option value="R">Buyer</option>
  166.                   <option value="M">Supplier</option>
  167.                   <option value="R">Designer</option>
  168.               </select>
  169.                     <!--<div class="radio-tile-group">
  170.                         <div class="input-container">
  171.                             <input class="radio-button" value="R" name="customerType" type="radio" name="radio" />
  172.                             <div class="radio-tile">
  173.                                 <p class="radio-tile-label">
  174.                                     Buyer
  175.                                 </p>
  176.                                 <div class="icon walk-icon">
  177.                                     <i class="icofont-check-alt"></i>
  178.                                 </div>
  179.                             </div>
  180.                         </div>
  181.                         <div class="input-container">
  182.                             <input class="radio-button" value="M" name="customerType" type="radio" name="radio" />
  183.                             <div class="radio-tile">
  184.                                 <p class="radio-tile-label">
  185.                                     Supplier
  186.                                 </p>
  187.                                 <div class="icon bike-icon">
  188.                                     <i class="icofont-check-alt"></i>
  189.                                 </div>
  190.                             </div>
  191.                         </div>
  192.                         <div class="input-container">
  193.                             <input class="radio-button" value="D" name="customerType" type="radio" name="radio" />
  194.                             <div class="radio-tile">
  195.                                 <p class="radio-tile-label">
  196.                                     Designer
  197.                                 </p>
  198.                                 <div class="icon car-icon">
  199.                                     <i class="icofont-check-alt"></i>
  200.                                 </div>
  201.                             </div>
  202.                         </div>
  203.                     </div>-->
  204.                   </div>
  205.                   <div class="col-md-12">
  206.                     <input type="password" class="form-control" name="password" id="password" placeholder="Password *">
  207.                   </div>
  208.                   <div class="col-md-12">
  209.                     <input type="password" class="form-control"  name="ConfirmPassword" id="signupConfirmPassword" placeholder="Confirm Password *">
  210.                   </div>
  211.                   <div class="col-md-12 custom-control custom-checkbox my-1 mr-sm-2 check-text">
  212.                     <input type="checkbox" class="custom-control-input" id="customControlInline">
  213.                     <label class="custom-control-label" for="customControlInline">I confirm that I use my Nu Find account exclusively for business purposes and that I am authorized to act on behalf of a company.</label>
  214.                   </div>
  215.                   <div class="col-md-12 custom-control custom-checkbox my-1 mr-sm-2 check-text">
  216.                     <input type="checkbox" name="signupAgree" id="signupAgree" class="custom-control-input">
  217.           {% set currentSite = app_current_site() %}
  218.                     <label class="custom-control-label" for="signupAgree">I have read the 
  219.             {% if currentSite == '3SWebsite' %}
  220.               <a href="#">Privacy Policy</a> 
  221.             {% else %}
  222.               <a href="https://d2fzew76uxzkhe.cloudfront.net/assets/NuFind Website/Legal/Privacy Policy.pdf" target="_blank">Privacy Policy</a> 
  223.             {% endif %}
  224.             and agree to it.
  225.           </label>
  226.           </div>
  227.                   {# reCAPTCHA v2. Site key comes from the RECAPTCHA_SITE_KEY website
  228.                      setting; nothing renders until it is filled in. Verified server
  229.                      side in GeneralHelper::verifyRecaptcha(). #}
  230.                   {% set recaptchaSiteKey = pimcore_website_config('RECAPTCHA_SITE_KEY') %}
  231.                   {% if recaptchaSiteKey %}
  232.                     <div class="col-md-12 recaptcha-wrapper">
  233.                       <div class="g-recaptcha" data-sitekey="{{ recaptchaSiteKey }}"></div>
  234.                       <span class="error-msg" id="signupRecaptcha-error" style="display:none;"></span>
  235.                     </div>
  236.                     <script src="https://www.google.com/recaptcha/api.js" async defer></script>
  237.                   {% endif %}
  238.                   <div class="col-md-12 signup-btn">
  239.                     <button type="submit" class="btn btn-secondary disabled" id="signupDone">Sign Up</button>
  240.                   </div>
  241.           {% if '/edit/companies/grid' not in app.request.pathinfo and '/edit/customers/grid' not in app.request.pathinfo %}
  242.             <div class="col-md-12 bottom-txt">
  243.                 <p>Already have an Account?</p>
  244.             </div>
  245.             <div class="col-md-12 login-btn">
  246.                 <button type="button" data-toggle="modal" data-target="#login" data-dismiss="modal" class="btn btn-primary login">Log In</button>
  247.             </div>
  248.         {% endif %}
  249.           
  250.                   
  251.                  
  252.                 </div>
  253.             </form>
  254.         </div>
  255.         
  256.       <div class="modal-body" id="signup_success" style="display:none;">
  257.         <h2 style='color:#d19688;'>WOOHOO! You’re Signed Up!</h2>
  258.         <div class="pop-form-wrapper">
  259.                 <div class="success-msg">
  260.                         <h3>We’ve just sent you an email confirmation. <br>Please double check your junk mail and mark us as<br> ‘not junk’ so that we can message.<br>One of our On-boarders will be in touch soon.<br><br><b>We can’t wait to show you around!</b></h3>
  261.                         <div class="row thanks-btn bottom-btn-row">
  262.                             <div class="form-group btn-wrapper col-md-12">
  263.                                 <button class="btn btn-send" id="close-btn-signup-form" data-dismiss="modal">Close</button>
  264.                             </div>
  265.                         </div>
  266.                 </div>
  267.         </div>
  268.   </div>
  269.       </div>
  270.     </div>
  271.   </div>
  272.     
  273.     
  274.     <!-- Thank you modal -->
  275.     {# <div class="modal dark-pop fade" id="signup_success">
  276.             <div class="modal-dialog modal-lg">
  277.                     <div class="modal-content">
  278.                                     <button type="button" class="close" data-dismiss="modal">&times;</button>
  279.                             <!-- Modal body -->
  280.                             <div class="modal-body">
  281.                                     <h2>WOOHOO! You’re Signed Up!</h2>
  282.                                     <div class="pop-form-wrapper">
  283.                                             <div class="success-msg">
  284.                                                     <h3>We’ve just sent you an email confirmation. <br>Please double check your junk mail and mark us as<br> ‘not junk’ so that we can message.<br>One of our On-boarders will be in touch soon.<br><br><b>We can’t wait to show you around!</b></h3>
  285.                                             </div>
  286.                                     </div>
  287.                             </div>
  288.                     </div>
  289.             </div>
  290.     </div> #}
  291.