app/template/originalTemplate/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.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  15.     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
  16.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  17.     <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
  18.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  19.     {% block stylesheet %}{% endblock %}
  20.     <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
  21.     <script>
  22.         $(function() {
  23.             $.ajaxSetup({
  24.                 'headers': {
  25.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  26.                 }
  27.             });
  28.         });
  29.     </script>
  30.     {# Layout: HEAD #}
  31.     {% if Layout.Head %}
  32.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  33.     {% endif %}
  34.     {# プラグイン用styleseetやmetatagなど #}
  35.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  36.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  37. </head>
  38. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  39. {# Layout: BODY_AFTER #}
  40. {% if Layout.BodyAfter %}
  41.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  42. {% endif %}
  43. <div class="ec-layoutRole">
  44.     {# Layout: HEADER #}
  45.     {% if Layout.Header %}
  46.         <div class="ec-layoutRole__header">
  47.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  48.         </div>
  49.     {% endif %}
  50.     {# Layout: CONTENTS_TOP #}
  51.     {% if Layout.ContentsTop %}
  52.         <div class="ec-layoutRole__contentTop">
  53.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  54.         </div>
  55.     {% endif %}
  56.     <div class="ec-layoutRole__contents">
  57.         {# Layout: SIDE_LEFT #}
  58.         {% if Layout.SideLeft %}
  59.             <div class="ec-layoutRole__left">
  60.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  61.             </div>
  62.         {% endif %}
  63.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  64.         {% if Layout.ColumnNum == 2 %}
  65.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  66.         {% elseif Layout.ColumnNum == 3 %}
  67.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  68.         {% endif %}
  69.         <div class="{{ layoutRoleMain }}">
  70.             {# Layout: MAIN_TOP #}
  71.             {% if Layout.MainTop %}
  72.                 <div class="ec-layoutRole__mainTop">
  73.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  74.                 </div>
  75.             {% endif %}
  76.             {# MAIN AREA #}
  77.             {% block main %}{% endblock %}
  78.             {# Layout: MAIN_Bottom #}
  79.             {% if Layout.MainBottom %}
  80.                 <div class="ec-layoutRole__mainBottom">
  81.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  82.                 </div>
  83.             {% endif %}
  84.         </div>
  85.         {# Layout: SIDE_RIGHT #}
  86.         {% if Layout.SideRight %}
  87.             <div class="ec-layoutRole__right">
  88.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  89.             </div>
  90.         {% endif %}
  91.     </div>
  92.     {# Layout: CONTENTS_BOTTOM #}
  93.     {% if Layout.ContentsBottom %}
  94.         <div class="ec-layoutRole__contentBottom">
  95.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  96.         </div>
  97.     {% endif %}
  98.     {# Layout: CONTENTS_FOOTER #}
  99.     {% if Layout.Footer %}
  100.         <div class="ec-layoutRole__footer">
  101.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  102.         </div>
  103.     {% endif %}
  104. </div><!-- ec-layoutRole -->
  105. <div class="ec-overlayRole"></div>
  106. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  107. <div class="ec-drawerRole">
  108.     {# Layout: DRAWER #}
  109.     {% if Layout.Drawer %}
  110.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  111.     {% endif %}
  112. </div>
  113. <div class="ec-blockTopBtn pagetop">
  114.     <i class="fas fa-angle-up"></i>
  115.     {{''|trans}}
  116. </div>
  117. <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
  118. <script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
  119. {% include('@common/lang.twig') %}
  120. <script src="{{ asset('assets/js/function.js') }}"></script>
  121. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  122. {% block javascript %}{% endblock %}
  123. {# Layout: CLOSE_BODY_BEFORE #}
  124. {% if Layout.CloseBodyBefore %}
  125.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  126. {% endif %}
  127. {# プラグイン用Snippet #}
  128. {% if plugin_snippets is defined %}
  129.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  130. {% endif %}
  131.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  132. </body>
  133. </html>