src/DcSiteBundle/Resources/views/Peugeot/Service/fixed-cost-to.html.twig line 1

Open in your IDE?
  1. {% extends '@DcSite/Peugeot/base.html.twig' %}
  2. {% block seo %}
  3.     {#    <title>{{ 'seo.order_to.title'|trans({}, 'dc_peugeot') }}</title> #}
  4.     {#    <meta name="description" content="{{ 'seo.order_to.desc'|trans({}, 'dc_peugeot') }}" /> #}
  5.     <meta name="keywords" content=""/>
  6. {% endblock seo %}
  7. {% block ogtagDynamic %}
  8.     {#    <meta property="og:title" content="{{ 'seo.order_to.title'|trans({}, 'dc_peugeot') }}"/> #}
  9.     {#    <meta property="og:description" content="{{ 'seo.order_to.desc'|trans({}, 'dc_peugeot') }}"/> #}
  10. {% endblock ogtagDynamic %}
  11. {% block css %}
  12.     <link rel="stylesheet" href="{{ asset('/bundles/dcsite/css/peugeot/services/style.css') }}">
  13.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/base-style/form-control.css') }}">
  14.     <link rel="stylesheet" href="{{ asset('/bundles/core/css/modules/slick/slick.css') }}">
  15.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/peugeot/modules/service-widget.css') }}">
  16.     <link rel='stylesheet' type='text/css' href='{{ asset('/bundles/insurance/css/jquery.mCustomScrollbar.css') }}'/>
  17.     <style>
  18.         div#myTabContent {
  19.             overflow: hidden;
  20.         }
  21.         .calc-val-modification-item {
  22.             min-width: 365px;
  23.         }
  24.         /*section#onlineService {*/
  25.         padding-bottom:
  26.         20
  27.         px
  28.         ;
  29.         }
  30.         .row.reglament__to .table-responsive {
  31.             margin-bottom: 20px;
  32.         }
  33.     </style>
  34. {% endblock %}
  35. {% block content %}
  36.     <section class="order_to">
  37.         <section class="breadcrumbs__new">
  38.             <div class="container">
  39.                 <ol class="global_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  40.                     <li class="marker__none" itemprop="itemListElement" itemscope
  41.                         itemtype="https://schema.org/ListItem">
  42.                         <a itemprop="item" href="{{ path('peugeot_homepage') }}">
  43.                             <span class="breadcrumbs__link" itemprop="name">Peugeot</span></a>
  44.                         <meta itemprop="position" content="1"/>
  45.                     </li>
  46.                     <div class="arrow-bcs"> ❯</div>
  47.                     <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  48.                         itemtype="https://schema.org/ListItem">
  49.                         <span style="color: #837F7F;" class="breadcrumbs__link"
  50.                               itemprop="name">{{ 'main.service'|trans({}, 'dc_peugeot') }}</span>
  51.                         <meta itemprop="position" content="2"/>
  52.                     </li>
  53.                     <div class="arrow-bcs"> ❯</div>
  54.                     <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  55.                         itemtype="https://schema.org/ListItem">
  56.                         <span style="color: #837F7F;" class="breadcrumbs__link"
  57.                               itemprop="name">{{ 'menu.to_za_fiksovanoyu_vartistyu'|trans({}, 'dc_peugeot') }}</span>
  58.                         <meta itemprop="position" content="3"/>
  59.                     </li>
  60.                 </ol>
  61.             </div>
  62.         </section>
  63.     </section>
  64.     <section class="order_to">
  65.         <div class="row">
  66.             <div class="container">
  67.                 <div class="col-sm-12 col-md-12 col-lg-12 col-xl-12 bg-white">
  68.                     {% if app.request.locale == 'ru' %}
  69.                         {% include '@DcSite/Peugeot/Service/translations/fixed-cost-to.ru.html.twig' %}
  70.                     {% else %}
  71.                         {% include '@DcSite/Peugeot/Service/translations/fixed-cost-to.ua.html.twig' %}
  72.                     {% endif %}
  73.                     <div class="row">
  74.                         {% include '@DcSiteBundle/Modules/service/widget-order-to.html.twig' %}
  75.                         {# {% include '@My/Modules/auth.html.twig' %} #}
  76.                     </div>
  77.                     <div class="container">
  78.                         <div class="row justify-content-center mb-5">
  79.                             <div class="col-sm-12 col-md-6 col-lg-4 col-xl-3 text-center">
  80.                                 <a href="#onlineService"
  81.                                    class="btn btn-primary w-100">{{ 'pages.header.order_to'|trans({},'dc_nissan') }}</a>
  82.                             </div>
  83.                         </div>
  84.                     </div>
  85.                 </div>
  86.             </div>
  87.         </div>
  88.     </section>
  89. {% endblock %}
  90. {% block pageJS %}
  91.     <script>
  92.         app.onCustomEvent('appInit', function () {
  93.             app.loadJs('{{ asset('/bundles/core/js/modules/slick/slick.js') }}');
  94.             app.loadJs('{{ asset('/bundles/insurance/js/jquery.mCustomScrollbar.concat.min.js') }}');
  95.             app.loadJs('{{ asset('/bundles/dcsite/js/service-booking.js') }}', function () {
  96.                 initServiceBooking({
  97.                     locale: '{{ app.request.locale }}',
  98.                     initUrl: '{{ path('online-service-init') }}',
  99.                     findUrl: '{{ path('online-service-find') }}',
  100.                     findVariationsUrl: '{{ path('online-service-find-variations') }}',
  101.                     saveCarUrl: '{{ path('online-service-save-car') }}',
  102.                     byModelUrl: '{{ path('online-service-load-by-model') }}',
  103.                     getTimesUrl: '{{ path('online-service-get-time') }}',
  104.                     bookingUrl: '{{ path('online-service-booking') }}',
  105.                     confirmBookingUrl: '{{ path('online-service-booking-confirm') }}',
  106.                     agreementUrl: '{{ privacyUrl }}',
  107.                     nightBookingAgreementUrl: '{{ path('my_profile_night_service_agreement') }}',
  108.                     //withSalePeriod: true,
  109.                     variationId: {{ app.request.get('variation_id') ? app.request.get('variation_id') : 0 }},
  110.                     regulationId: {{ app.request.get('regulation_id') ? app.request.get('regulation_id') : 0 }},
  111.                     dealerId: {{ dealer.getId() }},
  112.                 });
  113.             });
  114.             {# initAuthRegistration({ #}
  115.             {# fbAuthUrl: '{{ path('my_auth_fb_user') }}', #}
  116.             {# googleAuthUrl: '{{ path('my_auth_google_user') }}', #}
  117.             {# registerConfoirmUrl: '{{ path('my_register_confirm') }}' #}
  118.             {# }); #}
  119.             app.loadJs('{{ asset('/bundles/insurance/js/jquery.mCustomScrollbar.concat.min.js') }}');
  120.             app.loadJs('{{ asset('bundles/dcsite/js/regulations.js') }}', function () {
  121.                 initRegulations({
  122.                     initUrl: '{{ path('base_regulation_init') }}',
  123.                     variationUrl: '{{ path('base_regulation_variations') }}',
  124.                     regulationsUrl: '{{ path('base_regulations') }}',
  125.                     //withSalePeriod: true,
  126.                 });
  127.             });
  128.         });
  129.     </script>
  130. {% endblock  pageJS %}