app/template/biotop/default_frame.twig line 101

Open in your IDE?
  1. <!doctype html>
  2. <html lang="{{ eccube_config.locale }}">
  3. <head prefix="og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#">
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  7.     <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>
  8.     {% if Page.meta_tags is not empty %}
  9.         {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  10.         {% if Page.description is not empty %}
  11.             <meta name="description" content="{{ Page.description }}">
  12.         {% endif %}
  13.     {% else %}
  14.         {{ include('meta.twig') }}
  15.     {% endif %}
  16.     {% if Page.author is not empty %}
  17.         <meta name="author" content="{{ Page.author }}">
  18.     {% endif %}
  19.     {% if Page.keyword is not empty %}
  20.         <meta name="keywords" content="{{ Page.keyword }}">
  21.     {% endif %}
  22.     {% if Page.meta_robots is not empty %}
  23.         <meta name="robots" content="{{ Page.meta_robots }}">
  24.     {% endif %}
  25.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  26.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  27.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  28.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  29.     {% block stylesheet %}{% endblock %}
  30.     <script>
  31.         $(function() {
  32.             $.ajaxSetup({
  33.                 'headers': {
  34.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  35.                 }
  36.             });
  37.             // readonlyのselectboxを開かないようにする
  38.             $('select[readonly]').on("focus mousedown touchstart", function(e) {
  39.                 e.preventDefault();
  40.             });
  41.         });
  42.     </script>
  43.     {# Layout: HEAD #}
  44.     {% if Layout.Head %}
  45.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  46.     {% endif %}
  47.     {# プラグイン用styleseetやmetatagなど #}
  48.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  49.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  50. </head>
  51. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  52. {# Layout: BODY_AFTER #}
  53. {% if Layout.BodyAfter %}
  54.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  55. {% endif %}
  56. {% if isMaintenance %}
  57.     <div class="ec-maintenanceAlert">
  58.         <div>
  59.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  60.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  61.         </div>
  62.     </div>
  63. {% endif %}
  64. <div class="ec-layoutRole">
  65.     {# Layout: HEADER #}
  66.     {% if Layout.Header %}
  67.         <header class="ec-layoutRole__header">
  68.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  69.         </header>
  70.     {% endif %}
  71.     {# Layout: CONTENTS_TOP #}
  72.     {% if Layout.ContentsTop %}
  73.         <div class="ec-layoutRole__contentTop">
  74.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  75.         </div>
  76.     {% endif %}
  77.     <div class="ec-layoutRole__contents">
  78.         {# Layout: SIDE_LEFT #}
  79.         {% if Layout.SideLeft %}
  80.             <aside class="ec-layoutRole__left">
  81.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  82.             </aside>
  83.         {% endif %}
  84.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  85.         {% if Layout.ColumnNum == 2 %}
  86.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  87.         {% elseif Layout.ColumnNum == 3 %}
  88.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  89.         {% endif %}
  90.         <main class="{{ layoutRoleMain }}">
  91.             {# Layout: MAIN_TOP #}
  92.             {% if Layout.MainTop %}
  93.                 <div class="ec-layoutRole__mainTop">
  94.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  95.                 </div>
  96.             {% endif %}
  97.             {# MAIN AREA #}
  98.             {% block main %}{% endblock %}
  99.             {# Layout: MAIN_Bottom #}
  100.             {% if Layout.MainBottom %}
  101.                 <div class="ec-layoutRole__mainBottom">
  102.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  103.                 </div>
  104.             {% endif %}
  105.         </main>
  106.         {# Layout: SIDE_RIGHT #}
  107.         {% if Layout.SideRight %}
  108.             <aside class="ec-layoutRole__right">
  109.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  110.             </aside>
  111.         {% endif %}
  112.     </div>
  113.     {# Layout: CONTENTS_BOTTOM #}
  114.     {% if Layout.ContentsBottom %}
  115.         <div class="ec-layoutRole__contentBottom">
  116.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  117.         </div>
  118.     {% endif %}
  119.     {# Layout: CONTENTS_FOOTER #}
  120.     {% if Layout.Footer %}
  121.         <footer class="ec-layoutRole__footer">
  122.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  123.         </footer>
  124.     {% endif %}
  125. </div><!-- ec-layoutRole -->
  126. <div class="ec-overlayRole"></div>
  127. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  128. <div class="ec-drawerRole">
  129.     {# Layout: DRAWER #}
  130.     {% if Layout.Drawer %}
  131.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  132.     {% endif %}
  133. </div>
  134. <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>
  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>