app/template/akracing/default_frame.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. {#
  3. This file is part of EC-CUBE
  4. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  5. http://www.ec-cube.co.jp/
  6. For the full copyright and license information, please view the LICENSE
  7. file that was distributed with this source code.
  8. #}
  9. <html lang="{{ eccube_config.locale }}">
  10. <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://ogp.me/ns/product#">
  11.     <meta charset="utf-8">
  12.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  13.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  14.     <!-- Global site tag (gtag.js) - Google Analytics -->
  15.     <script async src="https://www.googletagmanager.com/gtag/js?id=UA-110696190-1"></script>
  16.     <script>
  17.     window.dataLayer = window.dataLayer || [];
  18.     function gtag(){dataLayer.push(arguments);}
  19.     gtag('js', new Date());
  20.     gtag('config', 'UA-110696190-1');
  21.     </script>
  22.     
  23.     <!-- a8.net -->
  24.     <script src="//statics.a8.net/a8sales/a8sales.js"></script>
  25.     <script src="//statics.a8.net/a8sales/a8crossDomain.js"></script>
  26.     <!-- a8.net -->
  27.     
  28.     <title>{{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %}</title>
  29.     {% if Page.author is not empty %}
  30.         <meta name="author" content="{{ Page.author }}">
  31.     {% endif %}
  32.     {% if Page.description is not empty %}
  33.         <meta name="description" content="{{ Page.description }}">
  34.     {% endif %}
  35.     {% if Page.keyword is not empty %}
  36.         <meta name="keywords" content="{{ Page.keyword }}">
  37.     {% endif %}
  38.     {% if Page.meta_robots is not empty %}
  39.         <meta name="robots" content="{{ Page.meta_robots }}">
  40.     {% endif %}
  41.     {% if Page.meta_tags is not empty %}
  42.         {{ include(template_from_string(Page.meta_tags)) }}
  43.     {% endif %}
  44.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  45.     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
  46.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  47.     <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
  48.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  49.     <link rel="stylesheet" href="{{ asset('assets/css/akracing.css?20211029') }}">
  50.     {% block stylesheet %}{% endblock %}
  51.     <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
  52.     <script>
  53.         $(function() {
  54.             $.ajaxSetup({
  55.                 'headers': {
  56.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  57.                 }
  58.             });
  59.         });
  60.     </script>
  61.     {# Layout: HEAD #}
  62.     {% if Layout.Head %}
  63.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  64.     {% endif %}
  65.     {# プラグイン用styleseetやmetatagなど #}
  66.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  67.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  68. </head>
  69. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  70. <div id="akracing">
  71. {# Layout: BODY_AFTER #}
  72. {% if Layout.BodyAfter %}
  73.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  74. {% endif %}
  75. <div class="ec-layoutRole">
  76.     {# Layout: HEADER #}
  77.     {% if Layout.Header %}
  78.         <div class="ec-layoutRole__header">
  79.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  80.         </div>
  81.     {% endif %}
  82.     {# Layout: CONTENTS_TOP #}
  83.     {% if Layout.ContentsTop %}
  84.         <div class="ec-layoutRole__contentTop">
  85.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  86.         </div>
  87.     {% endif %}
  88.     <div class="ec-layoutRole__contents">
  89.         {# Layout: SIDE_LEFT #}
  90.         {% if Layout.SideLeft %}
  91.             <div class="ec-layoutRole__left">
  92.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  93.             </div>
  94.         {% endif %}
  95.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  96.         {% if Layout.ColumnNum == 2 %}
  97.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  98.         {% elseif Layout.ColumnNum == 3 %}
  99.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  100.         {% endif %}
  101.         <div class="{{ layoutRoleMain }}">
  102.         <main>
  103.             {# Layout: MAIN_TOP #}
  104.             {% if Layout.MainTop %}
  105.                 <div class="ec-layoutRole__mainTop">
  106.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  107.                 </div>
  108.             {% endif %}
  109.             {# MAIN AREA #}
  110.             {% block main %}{% endblock %}
  111.             {# Layout: MAIN_Bottom #}
  112.             {% if Layout.MainBottom %}
  113.                 <div class="ec-layoutRole__mainBottom">
  114.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  115.                 </div>
  116.             {% endif %}
  117.         </main>
  118.         </div>
  119.         {# Layout: SIDE_RIGHT #}
  120.         {% if Layout.SideRight %}
  121.             <div class="ec-layoutRole__right">
  122.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  123.             </div>
  124.         {% endif %}
  125.     </div>
  126.     {# Layout: CONTENTS_BOTTOM #}
  127.     {% if Layout.ContentsBottom %}
  128.         <div class="ec-layoutRole__contentBottom">
  129.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  130.         </div>
  131.     {% endif %}
  132.     {# Layout: CONTENTS_FOOTER #}
  133.     {% if Layout.Footer %}
  134.         <div class="ec-layoutRole__footer">
  135.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  136.         </div>
  137.     {% endif %}
  138. </div><!-- ec-layoutRole -->
  139. </div><!-- /#akracing -->
  140. <div class="ec-overlayRole"></div>
  141. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  142. <div class="ec-drawerRole">
  143.     {# Layout: DRAWER #}
  144.     {% if Layout.Drawer %}
  145.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  146.     {% endif %}
  147. </div>
  148. <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>
  149. <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
  150. <script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
  151. {% include('@common/lang.twig') %}
  152. <script src="{{ asset('assets/js/function.js') }}"></script>
  153. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  154. {% block javascript %}{% endblock %}
  155. {# Layout: CLOSE_BODY_BEFORE #}
  156. {% if Layout.CloseBodyBefore %}
  157.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  158. {% endif %}
  159. {# プラグイン用Snippet #}
  160. {% if plugin_snippets is defined %}
  161.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  162. {% endif %}
  163.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  164. </body>
  165. </html>