src/DcSiteBundle/Resources/views/Lexus/Configurator/index.html.twig line 1

Open in your IDE?
  1. {% extends '@DcSite/Lexus/template.html.twig' %}
  2. {% block head %}
  3.     <title>{% if not carId %}
  4.                 {{ 'seo.configurator.start.title'|trans({}, 'dc_lexus') }}
  5.             {% else %}
  6.                 {{ 'seo.configurator.single.title'|trans({'%model%' : modelTitle }, 'dc_lexus') }}
  7.             {% endif %}</title>
  8.     <meta name="description" content="
  9.             {% if not carId %}
  10.                 {{ 'seo.configurator.start.desciption'|trans({}, 'dc_lexus') }}
  11.             {% else %}
  12.                 {{ 'seo.configurator.single.description'|trans({'%model%' : modelTitle }, 'dc_lexus') }}
  13.             {% endif %}" />
  14.     <meta name="keywords"  content="" />
  15.     <link rel="stylesheet" type="text/css" href="/dist/{{ MODE }}/dcsite/lexus/css/lexusCarConfigurator.css?{{ VERSION }}">
  16.     <style>
  17.         .color__name #colorPrice{
  18.             color: #4589CE;
  19.         }
  20.         .box__modification-info-item svg fill {
  21.             fill: #4589CE;
  22.         }
  23.     </style>
  24. {% endblock %}
  25. {% block content %}
  26.     <div style="padding-bottom: 20px;">
  27.     {% include '@DcSite/Modules/configurator/index.html.twig' %}
  28.     </div>
  29. {% endblock %}
  30. {% block script %}
  31.     <script src="/dist/{{ MODE }}/dcsite/lexus/js/lexusCarConfigurator.js?{{ VERSION }}"></script>
  32.     <script>
  33.         $(() => {
  34.             window.initConfigurator({
  35.                 el: '#carConfig',
  36.                 carId: {{ carId }},
  37.                 hash: '{{ hash }}',
  38.                 initUrl: '{{ path('base_configurator_init', {id: '__id__'}) }}',
  39.                 initByHashUrl: '{{ path('base_configurator_init_by_hash', {hash: '__hash__'}) }}',
  40.                 totalInitUrl: '{{ path('base_configurator_init_total') }}',
  41.                 initCreditUrl: '{{ path('base_configurator_init_credit') }}',
  42.                 accessoryUrl: '{{ path('base_configurator_load_accessory') }}',
  43.                 optionsUrl: '{{ path('base_configurator_load_options') }}',
  44.                 initInsuranceUrl: '{{ path('base_casco_options') }}',
  45.                 saveUrl: '{{ path('base_configurator_save') }}',
  46.                 privacyUrl: '{{ privacyUrl }}',
  47.                 baseCoefficientType: {{ baseType }},
  48.                 listCoefficientType: {{ listType }},
  49.                 optionCoefficientType: {{ optionType }}
  50.             });
  51.         });
  52.     </script>
  53. {% endblock %}