app/template/default/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: 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>
  15.       {{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %}
  16.         / {{ subtitle }}
  17.       {% elseif title is defined and title is not empty %}
  18.         / {{ title }}
  19.       {% endif %}
  20.     </title>
  21.     {% if Page.meta_tags is not empty %}
  22.       {{ include(template_from_string(Page.meta_tags), sandboxed=true) }}
  23.       {% if Page.description is not empty %}
  24.         <meta name="description" content="{{ Page.description }}" />
  25.       {% endif %}
  26.     {% else %}
  27.       {{ include('meta.twig') }}
  28.     {% endif %}
  29.     {% if Page.author is not empty %}
  30.       <meta name="author" content="{{ Page.author }}" />
  31.     {% endif %}
  32.     {% if Page.keyword is not empty %}
  33.       <meta name="keywords" content="{{ Page.keyword }}" />
  34.     {% endif %}
  35.     {% if Page.meta_robots is not empty %}
  36.       <meta name="robots" content="{{ Page.meta_robots }}" />
  37.     {% endif %}
  38.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}" />
  39.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.5.2/css/all.css" integrity="sha384-PPIZEGYM1v8zp5Py7UjFb79S58UeqCL9pYVnVPURKEqvioPROaVAJKKLzvH2rDnI" crossorigin="anonymous" />
  40.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}" />
  41.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  42.     {% block stylesheet %}
  43.     {% endblock %}
  44.     <script>
  45.       $(function () {
  46.         $.ajaxSetup({
  47.           headers: {
  48.             'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  49.           }
  50.         })
  51.       })
  52.     </script>
  53.     {# Layout: HEAD #}
  54.     {% if Layout.Head %}
  55.       {{ include('block.twig', { Blocks: Layout.Head }) }}
  56.     {% endif %}
  57.     {# プラグイン用styleseetやmetatagなど #}
  58.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  59.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}" />
  60.   </head>
  61.   <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  62.     {# Layout: BODY_AFTER #}
  63.     {% if Layout.BodyAfter %}
  64.       {{ include('block.twig', { Blocks: Layout.BodyAfter }) }}
  65.     {% endif %}
  66.     {% if isMaintenance is defined and isMaintenance and isDebugMode is defined and isDebugMode %}
  67.       <dev class="ec-twoModeAlert">
  68.         <div class="ec-maintenanceAlert">
  69.           <div>
  70.             <div class="ec-maintenanceAlert__icon">
  71.               <img src="{{ asset('assets/icon/exclamation-white.svg') }}" />
  72.             </div>
  73.             {{ 'front.under_maintenance'|trans }}
  74.           </div>
  75.         </div>
  76.         <div class="ec-debugModeAlert bg-danger">
  77.           <div>
  78.             <div class="ec-debugModeAlert__icon">
  79.               <img src="{{ asset('assets/icon/exclamation-white.svg') }}" />
  80.             </div>
  81.             {{ 'front.under_debug_mode'|trans }}
  82.           </div>
  83.         </div>
  84.       </dev>
  85.     {% else %}
  86.       {% if isMaintenance is defined and isMaintenance %}
  87.         <div class="ec-maintenanceAlert">
  88.           <div>
  89.             <div class="ec-maintenanceAlert__icon">
  90.               <img src="{{ asset('assets/icon/exclamation-white.svg') }}" />
  91.             </div>
  92.             {{ 'front.under_maintenance'|trans }}
  93.           </div>
  94.         </div>
  95.       {% endif %}
  96.       {% if isDebugMode is defined and isDebugMode %}
  97.         <div class="ec-debugModeAlert bg-danger">
  98.           <div>
  99.             <div class="ec-debugModeAlert__icon">
  100.               <img src="{{ asset('assets/icon/exclamation-white.svg') }}" />
  101.             </div>
  102.             {{ 'front.under_debug_mode'|trans }}
  103.           </div>
  104.         </div>
  105.       {% endif %}
  106.     {% endif %}
  107.     <div class="ec-layoutRole">
  108.       {# Layout: HEADER #}
  109.       {% if Layout.Header %}
  110.         <header class="ec-layoutRole__header">{{ include('block.twig', { Blocks: Layout.Header }) }}</header>
  111.       {% endif %}
  112.       {# Layout: CONTENTS_TOP #}
  113.       {% if Layout.ContentsTop %}
  114.         <div class="ec-layoutRole__contentTop">{{ include('block.twig', { Blocks: Layout.ContentsTop }) }}</div>
  115.       {% endif %}
  116.       <div class="ec-layoutRole__contents">
  117.         {# Layout: SIDE_LEFT #}
  118.         {% if Layout.SideLeft %}
  119.           <aside class="ec-layoutRole__left">{{ include('block.twig', { Blocks: Layout.SideLeft }) }}</aside>
  120.         {% endif %}
  121.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  122.         {% if Layout.ColumnNum == 2 %}
  123.           {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  124.         {% elseif Layout.ColumnNum == 3 %}
  125.           {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  126.         {% endif %}
  127.         <main class="{{ layoutRoleMain }}">
  128.           {# Layout: MAIN_TOP #}
  129.           {% if Layout.MainTop %}
  130.             <div class="ec-layoutRole__mainTop">{{ include('block.twig', { Blocks: Layout.MainTop }) }}</div>
  131.           {% endif %}
  132.           {# MAIN AREA #}
  133.           {% block main %}
  134.           {% endblock %}
  135.           {# Layout: MAIN_Bottom #}
  136.           {% if Layout.MainBottom %}
  137.             <div class="ec-layoutRole__mainBottom">{{ include('block.twig', { Blocks: Layout.MainBottom }) }}</div>
  138.           {% endif %}
  139.         </main>
  140.         {# Layout: SIDE_RIGHT #}
  141.         {% if Layout.SideRight %}
  142.           <aside class="ec-layoutRole__right">{{ include('block.twig', { Blocks: Layout.SideRight }) }}</aside>
  143.         {% endif %}
  144.       </div>
  145.       {# Layout: CONTENTS_BOTTOM #}
  146.       {% if Layout.ContentsBottom %}
  147.         <div class="ec-layoutRole__contentBottom">{{ include('block.twig', { Blocks: Layout.ContentsBottom }) }}</div>
  148.       {% endif %}
  149.       {# Layout: CONTENTS_FOOTER #}
  150.       {% if Layout.Footer %}
  151.         <footer class="ec-layoutRole__footer">{{ include('block.twig', { Blocks: Layout.Footer }) }}</footer>
  152.       {% endif %}
  153.     </div>
  154.     <!-- ec-layoutRole -->
  155.     <div class="ec-overlayRole"></div>
  156.     <div class="ec-drawerRoleClose">
  157.       <i class="fas fa-times"></i>
  158.     </div>
  159.     <div class="ec-drawerRole">
  160.       {# Layout: DRAWER #}
  161.       {% if Layout.Drawer %}
  162.         {{ include('block.twig', { Blocks: Layout.Drawer }) }}
  163.       {% endif %}
  164.     </div>
  165.     <div class="js-topBtn c-topBtn pagetop">
  166.       <img src="/html/user_data/assets/img/common/top-btn.png" alt="" />
  167.     </div>
  168.     {% include '@common/lang.twig' %}
  169.     <script src="{{ asset('assets/js/function.js') }}"></script>
  170.     <script src="{{ asset('assets/js/eccube.js') }}"></script>
  171.     {% block javascript %}
  172.     {% endblock %}
  173.     {# Layout: CLOSE_BODY_BEFORE #}
  174.     {% if Layout.CloseBodyBefore %}
  175.       {{ include('block.twig', { Blocks: Layout.CloseBodyBefore }) }}
  176.     {% endif %}
  177.     {# プラグイン用Snippet #}
  178.     {% if plugin_snippets is defined %}
  179.       {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  180.     {% endif %}
  181.     {# カスタマイズ #}
  182.     <script src="https://cdn.jsdelivr.net/npm/fullcalendar@6.1.6/index.global.min.js"></script>
  183.     <script src="https://cdn.jsdelivr.net/npm/@fullcalendar/google-calendar@6.1.6/index.global.min.js"></script>
  184.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  185.   </body>
  186. </html>