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

Open in your IDE?
  1. {% extends '@DcSite/Suzuki/base.html.twig' %}
  2. {% block robots %}
  3.     <meta name="robots" content="noindex, follow"/>
  4. {% endblock robots %}
  5. {% block seo %}
  6.     <title>{{ 'seo.main.title'|trans({}, 'dc_suzuki') }}</title>
  7.     <meta name="description" content="{{ 'seo.main.desc'|trans({}, 'dc_suzuki') }}" />
  8. {% endblock seo %}
  9. {% block css %}
  10.     <link type="text/css" media="all" href="{{ asset('/bundles/dcsite/css/suzuki/configurator.css') }}" rel="stylesheet"/>
  11.     <link type="text/css" media="all" href="{{ asset('/bundles/dcsite/css/modules/configurator.css') }}" rel="stylesheet"/>
  12.     <link rel="stylesheet" type="text/css" href="{{ asset('/bundles/core/css/modules/slick/slick.css') }}">
  13.     <style>
  14.         div#carConfig {
  15.             width: 100%;
  16.         }
  17.         .color__name #colorPrice{
  18.             color: #162133;
  19.         }
  20.         .box__modification-info-item svg path {
  21.             fill: #162133;
  22.         }
  23.         .car-config__btn-next-step button {
  24.             width: 100%;
  25.             max-width: 280px;
  26.         }
  27.         .card.config-pop__card.container {
  28.             border: none;
  29.             margin-top: 15px;
  30.         }
  31.         .modal-content .btn-brand-mode {
  32.             padding: 15px;
  33.         }
  34.     </style>
  35. {% endblock %}
  36. {% block content %}
  37.     <section class="configurator page config pb-4">
  38.         {% include '@DcSite/Modules/configurator/index.html.twig' %}
  39.     </section>
  40. {% endblock content %}
  41. {% block pageJS %}
  42.     <script>
  43.         app.onCustomEvent('appInit', function () {
  44.             app.loadJs('{{ asset('/bundles/dcsite/js/sticky.js') }}');
  45.             app.loadJs('{{ asset('/bundles/core/js/modules/slick/slick.js') }}');
  46.             app.loadJs('{{ asset('/bundles/dcsite/js/configurator.js') }}',function () {
  47.                 initConfig({
  48.                     el: '#carConfig',
  49.                     carId: {{ carId }},
  50.                     hash: '{{ hash }}',
  51.                     initUrl: '{{ path('base_configurator_init', {id: '__id__'}) }}',
  52.                     initByHashUrl: '{{ path('base_configurator_init_by_hash', {hash: '__hash__'}) }}',
  53.                     totalInitUrl: '{{ path('base_configurator_init_total') }}',
  54.                     initCreditUrl: '{{ path('base_configurator_init_credit') }}',
  55.                     accessoryUrl: '{{ path('base_configurator_load_accessory') }}',
  56.                     optionsUrl: '{{ path('base_configurator_load_options') }}',
  57.                     initInsuranceUrl : '{{ path('base_casco_options') }}',
  58.                     saveUrl : '{{ path('base_configurator_save') }}',
  59.                     privacyUrl: '{{ privacyUrl }}',
  60.                     baseCoefficientType : {{ baseType }},
  61.                     listCoefficientType : {{ listType }},
  62.                     optionCoefficientType : {{ optionType }},
  63.                     emailSendText : '{{ 'configurator.thx_text'|trans({}, 'dc_base')|raw }}',
  64.                 });
  65.             });
  66.         });
  67.     </script>
  68. {% endblock pageJS %}