app/template/default/default_frame.twig line 120

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: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://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.     <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>
  15.     {% if Page.meta_tags is not empty %}
  16.         {{ include(template_from_string(Page.meta_tags)) }}
  17.         {% if Page.description is not empty %}
  18.             <meta name="description" content="{{ Page.description }}">
  19.         {% endif %}
  20.     {% else %}
  21.         {{ include('meta.twig') }}
  22.     {% endif %}
  23.     {% if Page.author is not empty %}
  24.         <meta name="author" content="{{ Page.author }}">
  25.     {% endif %}
  26.     {% if Page.keyword is not empty %}
  27.         <meta name="keywords" content="{{ Page.keyword }}">
  28.     {% endif %}
  29.     {% if Page.meta_robots is not empty %}
  30.         <meta name="robots" content="{{ Page.meta_robots }}">
  31.     {% endif %}
  32.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  33.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  34.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  35.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  36.     {% block stylesheet %}{% endblock %}
  37.     <script>
  38.         $(function() {
  39.             $.ajaxSetup({
  40.                 'headers': {
  41.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  42.                 }
  43.             });
  44.         });
  45.     </script>
  46.     {# Layout: HEAD #}
  47.     {% if Layout.Head %}
  48.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  49.     {% endif %}
  50.     {# プラグイン用styleseetやmetatagなど #}
  51.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  52.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  53.     <link rel="stylesheet" href="/html/plugins/daterangepicker/daterangepicker.css">
  54.     <link rel="stylesheet" href="/html/plugins/sweetalert2-theme-bootstrap-4/bootstrap-4.min.css">
  55.     <link rel="stylesheet" href="/html/dist/css/adminlte.min.css">
  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. {% if isMaintenance %}
  63.     <div class="ec-maintenanceAlert">
  64.         <div>
  65.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  66.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  67.         </div>
  68.     </div>
  69. {% endif %}
  70. <div class="ec-layoutRole">
  71.     {# Layout: HEADER #}
  72.     {% if Layout.Header %}
  73.         <header class="ec-layoutRole__header">
  74.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  75.         </header>
  76.     {% endif %}
  77.     {# Layout: CONTENTS_TOP #}
  78.     {% if Layout.ContentsTop %}
  79.         <div class="ec-layoutRole__contentTop">
  80.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  81.         </div>
  82.     {% endif %}
  83.     <div class="ec-layoutRole__contents">
  84.         {# Layout: SIDE_LEFT #}
  85.         {% if Layout.SideLeft %}
  86.             <aside class="ec-layoutRole__left">
  87.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  88.             </aside>
  89.         {% endif %}
  90.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  91.         {% if Layout.ColumnNum == 2 %}
  92.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  93.         {% elseif Layout.ColumnNum == 3 %}
  94.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  95.         {% endif %}
  96.         <main class="{{ layoutRoleMain }}">
  97.             {# Layout: MAIN_TOP #}
  98.             {% if Layout.MainTop %}
  99.                 <div class="ec-layoutRole__mainTop">
  100.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  101.                 </div>
  102.             {% endif %}
  103.             {# MAIN AREA #}
  104.             {% block main %}{% endblock %}
  105.             {# Layout: MAIN_Bottom #}
  106.             {% if Layout.MainBottom %}
  107.                 <div class="ec-layoutRole__mainBottom">
  108.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  109.                 </div>
  110.             {% endif %}
  111.         </main>
  112.         {# Layout: SIDE_RIGHT #}
  113.         {% if Layout.SideRight %}
  114.             <aside class="ec-layoutRole__right">
  115.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  116.             </aside>
  117.         {% endif %}
  118.     </div>
  119.     {# Layout: CONTENTS_BOTTOM #}
  120.     {% if Layout.ContentsBottom %}
  121.         <div class="ec-layoutRole__contentBottom">
  122.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  123.         </div>
  124.     {% endif %}
  125.     {# Layout: CONTENTS_FOOTER #}
  126.     {% if Layout.Footer %}
  127.         <footer class="ec-layoutRole__footer">
  128.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  129.         </footer>
  130.     {% endif %}
  131. </div><!-- ec-layoutRole -->
  132. <div class="ec-overlayRole"></div>
  133. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  134. <div class="ec-drawerRole">
  135.     {# Layout: DRAWER #}
  136.     {% if Layout.Drawer %}
  137.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  138.     {% endif %}
  139. </div>
  140. <div class="ec-blockTopBtn pagetop">&#8593;</div>
  141. {% include('@common/lang.twig') %}
  142. <script src="{{ asset('assets/js/function.js') }}"></script>
  143. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  144. {% block javascript %}{% endblock %}
  145. {# Layout: CLOSE_BODY_BEFORE #}
  146. {% if Layout.CloseBodyBefore %}
  147.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  148. {% endif %}
  149. {# プラグイン用Snippet #}
  150. {% if plugin_snippets is defined %}
  151.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  152. {% endif %}
  153.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  154.     <!-- Bootstrap 4 -->
  155.     <script src="/html/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
  156.     <!-- daterangepicker -->
  157.     <script src="/html/plugins/daterangepicker/daterangepicker.js"></script>
  158.     <!-- AdminLTE App -->
  159.     <script src="/html/dist/js/adminlte.js"></script>
  160. </body>
  161. </html>