app/template/uarts/default_frame.twig line 1

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