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>{{ 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), sandboxed = true) }}
  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/art-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.     <link rel="preconnect" href="https://fonts.googleapis.com">
  36.     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  37.     <link href="https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap" rel="stylesheet">
  38.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  39.     {% block stylesheet %}{% endblock %}
  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/util.css', 'user_data') }}">
  56.     <link rel="stylesheet" href="{{ asset('assets/css/style_add.css', 'user_data') }}">
  57.     <link href="https://use.fontawesome.com/releases/v6.5.2/css/all.css" rel="stylesheet">
  58. </head>
  59. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  60. {# Layout: BODY_AFTER #}
  61. {% if Layout.BodyAfter %}
  62.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  63. {% endif %}
  64. {% if isMaintenance %}
  65.     <div class="ec-maintenanceAlert">
  66.         <div>
  67.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  68.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  69.         </div>
  70.     </div>
  71. {% endif %}
  72. <div class="ec-layoutRole">
  73.     {# Layout: HEADER #}
  74.     {% if Layout.Header %}
  75.         <header class="ec-layoutRole__header">
  76.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  77.         </header>
  78.     {% endif %}
  79.     {# Layout: CONTENTS_TOP #}
  80.     {% if Layout.ContentsTop %}
  81.         <div class="ec-layoutRole__contentTop">
  82.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  83.         </div>
  84.     {% endif %}
  85.     <div class="flex main-color-bg">
  86.         {% if is_granted('ROLE_USER') %}
  87.             <aside class="side-menu-layout">
  88.                 {{ include_dispatch('Block/side_menu.twig') }}
  89.             </aside>
  90.         {% endif %}
  91.         <div class="ec-layoutRole__contents">
  92.             {% if is_granted('ROLE_USER') %}
  93.                 <div class="auction-start-popup-area blinking">
  94.                     <div>
  95.                         <div class="popup-title">
  96.                             オークション開催中
  97.                             <i class="fas fa-angle-down"></i>
  98.                         </div>
  99.                         <div class="auction-list">
  100.                             <ul class="list-group">
  101.                             </ul>
  102.                         </div>
  103.                     </div>
  104.                 </div>
  105.             {% endif %}
  106.             {# Layout: SIDE_LEFT #}
  107.             {% if Layout.SideLeft %}
  108.                 <aside class="ec-layoutRole__left">
  109.                     {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  110.                 </aside>
  111.             {% endif %}
  112.             {% set layoutRoleMain = 'ec-layoutRole__main' %}
  113.             {% if Layout.ColumnNum == 2 %}
  114.                 {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  115.             {% elseif Layout.ColumnNum == 3 %}
  116.                 {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  117.             {% endif %}
  118.             <main class="{{ layoutRoleMain }}">
  119.                 {# Layout: MAIN_TOP #}
  120.                 {% if Layout.MainTop %}
  121.                     <div class="ec-layoutRole__mainTop">
  122.                         {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  123.                     </div>
  124.                 {% endif %}
  125.                 {# MAIN AREA #}
  126.                 {% block main %}{% endblock %}
  127.                 {# Layout: MAIN_Bottom #}
  128.                 {% if Layout.MainBottom %}
  129.                     <div class="ec-layoutRole__mainBottom">
  130.                         {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  131.                     </div>
  132.                 {% endif %}
  133.             </main>
  134.             {# Layout: SIDE_RIGHT #}
  135.             {% if Layout.SideRight %}
  136.                 <aside class="ec-layoutRole__right">
  137.                     {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  138.                 </aside>
  139.             {% endif %}
  140.         </div>
  141.     </div>
  142.     {# Layout: CONTENTS_BOTTOM #}
  143.     {% if Layout.ContentsBottom %}
  144.         <div class="ec-layoutRole__contentBottom">
  145.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  146.         </div>
  147.     {% endif %}
  148.     {# Layout: CONTENTS_FOOTER #}
  149.     {% if Layout.Footer %}
  150.         <footer class="ec-layoutRole__footer">
  151.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  152.         </footer>
  153.     {% endif %}
  154. </div><!-- ec-layoutRole -->
  155. <div class="ec-overlayRole"></div>
  156. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  157. <div class="ec-drawerRole">
  158.     {# Layout: DRAWER #}
  159.     {% if Layout.Drawer %}
  160.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  161.     {% endif %}
  162. </div>
  163. <!-- <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div> -->
  164. {% include('@common/lang.twig') %}
  165. <script src="{{ asset('assets/js/function.js') }}"></script>
  166. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  167. {% block javascript %}{% endblock %}
  168. {# Layout: CLOSE_BODY_BEFORE #}
  169. {% if Layout.CloseBodyBefore %}
  170.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  171. {% endif %}
  172. {# プラグイン用Snippet #}
  173. {% if plugin_snippets is defined %}
  174.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  175. {% endif %}
  176.     <script type="module" src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  177. </body>
  178. </html>