app/template/HF4002/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,user-scalable=no">
  13.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  14.     <title>{% if subtitle is defined and subtitle is not empty %}{{ subtitle }} / {% elseif title is defined and title is not empty %}{% if title != 'TOPページ' %}{{ title }} / {% endif %}{% endif %}{{ BaseInfo.shop_name }}</title>
  15.     {% if Page.author is not empty %}
  16.         <meta name="author" content="{{ Page.author }}">
  17.     {% endif %}
  18.     {% if Page.description is not empty %}
  19.         <meta name="description" content="{{ Page.description }}">
  20.     {% endif %}
  21.     {% if Page.keyword is not empty %}
  22.         <meta name="keywords" content="{{ Page.keyword }}">
  23.     {% endif %}
  24.     {% if Page.meta_robots is not empty %}
  25.         <meta name="robots" content="{{ Page.meta_robots }}">
  26.     {% endif %}
  27.     {% if Page.meta_tags is not empty %}
  28.         {{ include(template_from_string(Page.meta_tags)) }}
  29.     {% endif %}
  30.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  31.     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  32.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  33.     <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
  34.     <link rel="preconnect" href="https://fonts.gstatic.com">
  35.     <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap">
  36.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  37.     <link rel="stylesheet" href="{{ asset('assets/css/original.css') }}">
  38.     {% block stylesheet %}{% endblock %}
  39.     <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
  40.     <script>
  41.         $(function() {
  42.             $.ajaxSetup({
  43.                 'headers': {
  44.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  45.                 }
  46.             });
  47.         });
  48.     </script>
  49.     {# Layout: HEAD #}
  50.     {% if Layout.Head %}
  51.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  52.     {% endif %}
  53.     {# プラグイン用styleseetやmetatagなど #}
  54.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  55.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  56. </head>
  57. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  58. {# Layout: BODY_AFTER #}
  59. {% if Layout.BodyAfter %}
  60.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  61. {% endif %}
  62. <div class="ec-layoutRole">
  63.     {# Layout: HEADER #}
  64.     {% if Layout.Header %}
  65.         <div class="ec-layoutRole__header">
  66.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  67.         </div>
  68.     {% endif %}
  69.     {# Layout: CONTENTS_TOP #}
  70.     {% if Layout.ContentsTop %}
  71.         <div class="ec-layoutRole__contentTop">
  72.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  73.         </div>
  74.     {% endif %}
  75.     <div class="ec-layoutRole__contents">
  76.         {# Layout: SIDE_LEFT #}
  77.         {% if Layout.SideLeft %}
  78.             <div class="ec-layoutRole__left">
  79.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  80.             </div>
  81.         {% endif %}
  82.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  83.         {% if Layout.ColumnNum == 2 %}
  84.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  85.         {% elseif Layout.ColumnNum == 3 %}
  86.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  87.         {% endif %}
  88.         <div class="{{ layoutRoleMain }}">
  89.             {# Layout: MAIN_TOP #}
  90.             {% if Layout.MainTop %}
  91.                 <div class="ec-layoutRole__mainTop">
  92.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  93.                 </div>
  94.             {% endif %}
  95.             {# MAIN AREA #}
  96.             {% block main %}{% endblock %}
  97.             {# Layout: MAIN_Bottom #}
  98.             {% if Layout.MainBottom %}
  99.                 <div class="ec-layoutRole__mainBottom">
  100.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  101.                 </div>
  102.             {% endif %}
  103.         </div>
  104.         {# Layout: SIDE_RIGHT #}
  105.         {% if Layout.SideRight %}
  106.             <div class="ec-layoutRole__right">
  107.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  108.             </div>
  109.         {% endif %}
  110.     </div>
  111.     {# Layout: CONTENTS_BOTTOM #}
  112.     {% if Layout.ContentsBottom %}
  113.         <div class="ec-layoutRole__contentBottom">
  114.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  115.         </div>
  116.     {% endif %}
  117.     {# Layout: CONTENTS_FOOTER #}
  118.     {% if Layout.Footer %}
  119.         <div class="ec-layoutRole__footer">
  120.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  121.         </div>
  122.     {% endif %}
  123. </div><!-- ec-layoutRole -->
  124. <div class="ec-overlayRole"></div>
  125. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  126. <div class="ec-drawerRole">
  127.     {# Layout: DRAWER #}
  128.     {% if Layout.Drawer %}
  129.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  130.     {% endif %}
  131. </div>
  132. <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>
  133. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  134. <script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
  135. {% include('@common/lang.twig') %}
  136. <script src="{{ asset('assets/js/function.js') }}"></script>
  137. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  138. {% block javascript %}{% endblock %}
  139. {# Layout: CLOSE_BODY_BEFORE #}
  140. {% if Layout.CloseBodyBefore %}
  141.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  142. {% endif %}
  143. {# プラグイン用Snippet #}
  144. {% if plugin_snippets is defined %}
  145.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  146. {% endif %}
  147. <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  148. </body>
  149. </html>