modules/QSL/AMP/templates/web/customer/modules/QSL/AMP/vote_bar/vote_bar.twig line 1

Open in your IDE?
  1. {##
  2.  # Vote bar
  3.  #}
  4. <div class="vote-bar">
  5.   <div class="rating-stars">
  6.     <div class="stars-row row">
  7.       {% for num in this.getStarsCount() %}
  8.         <div class="star-sngl">
  9.             <span class="star">
  10.                 <svg width="15px" height="14px" viewBox="0 0 15 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  11.                     <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  12.                         <g id="star" transform="translate(-102.000000, -342.000000)" fill="#E2E2E2">
  13.                             <g id="star-1">
  14.                                 <g id="rating" transform="translate(54.000000, 340.000000)">
  15.                                     <polygon id="Star-1-Copy-3" points="55.3602356 13.6085145 50.8113598 16 51.6801178 10.9347524 48 7.34752416 53.0857977 6.60851449 55.3602356 2 57.6346734 6.60851449 62.7204711 7.34752416 59.0403534 10.9347524 59.9091113 16"></polygon>
  16.                                 </g>
  17.                             </g>
  18.                         </g>
  19.                     </g>
  20.                 </svg>
  21.             </span>
  22.         </div>
  23.       {% endfor %}
  24.     </div>
  25.     <div class="stars-row full row full-{{ this.getPercent() }}">
  26.       {% for num in this.getStarsCount() %}
  27.         <div class="star-sngl">
  28.             <span class="star">
  29.                 <svg width="15px" height="14px" viewBox="0 0 15 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  30.                     <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  31.                         <g id="star-a" transform="translate(-86.000000, -342.000000)" fill="#25C5DF">
  32.                             <g id="star-a-1">
  33.                                 <g id="rating" transform="translate(54.000000, 340.000000)">
  34.                                     <polygon id="Star-1-Copy-2" points="39.3602356 13.6085145 34.8113598 16 35.6801178 10.9347524 32 7.34752416 37.0857977 6.60851449 39.3602356 2 41.6346734 6.60851449 46.7204711 7.34752416 43.0403534 10.9347524 43.9091113 16"></polygon>
  35.                                 </g>
  36.                             </g>
  37.                         </g>
  38.                     </g>
  39.                 </svg>
  40.             </span>
  41.         </div>
  42.       {% endfor %}
  43.     </div>
  44.   </div>
  45.   {% if this.getRatingLabel() %}
  46.     <span class="rating-label">{{ this.getRatingLabel() }}</span>
  47.   {% endif %}
  48. </div>