app/template/mizunasu/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. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  15. <link rel="stylesheet" href="//fonts.googleapis.com/earlyaccess/notosansjapanese.css">
  16. <link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
  17.     <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>
  18.     {% if Page.meta_tags is not empty %}
  19.         {{ include(template_from_string(Page.meta_tags)) }}
  20.         {% if Page.description is not empty %}
  21.             <meta name="description" content="{{ Page.description }}">
  22.         {% endif %}
  23.     {% else %}
  24.         {{ include('meta.twig') }}
  25.     {% endif %}
  26.     {% if Page.author is not empty %}
  27.         <meta name="author" content="{{ Page.author }}">
  28.     {% endif %}
  29.     {% if Page.keyword is not empty %}
  30.         <meta name="keywords" content="{{ Page.keyword }}">
  31.     {% endif %}
  32.     {% if Page.meta_robots is not empty %}
  33.         <meta name="robots" content="{{ Page.meta_robots }}">
  34.     {% endif %}
  35.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  36.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  37.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  38.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  39.    
  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. <script>
  50.   (function(d) {
  51.     var config = {
  52.       kitId: 'jwo0omz',
  53.       scriptTimeout: 3000,
  54.       async: true
  55.     },
  56.     h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
  57.   })(document);
  58. </script>
  59.     {# Layout: HEAD #}
  60.     {% if Layout.Head %}
  61.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  62.     {% endif %}
  63.     {# プラグイン用styleseetやmetatagなど #}
  64.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  65.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  66. </head>
  67. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  68. {# Layout: BODY_AFTER #}
  69. {% if Layout.BodyAfter %}
  70.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  71. {% endif %}
  72. {% if isMaintenance %}
  73.     <div class="ec-maintenanceAlert">
  74.         <div>
  75.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  76.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  77.         </div>
  78.     </div>
  79. {% endif %}
  80. <div class="ec-layoutRole">
  81.     {# Layout: HEADER #}
  82.     {% if Layout.Header %}
  83.         <header class="ec-layoutRole__header">
  84.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  85.         </header>
  86.     {% endif %}
  87.     {# Layout: CONTENTS_TOP #}
  88.     {% if Layout.ContentsTop %}
  89.         <div class="ec-layoutRole__contentTop">
  90.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  91.         </div>
  92.     {% endif %}
  93. {# TOPページとの切り分け #}
  94. {% set request_uri = app.request.server.get('REQUEST_URI') %}
  95.                 {% if request_uri == '/'  %}
  96.     <div class="ec-layoutRole__contents_top">
  97.                 {% else %}
  98.     <div class="ec-layoutRole__contents">
  99. {% endif %}
  100.         {# Layout: SIDE_LEFT #}
  101.         {% if Layout.SideLeft %}
  102.             <aside class="ec-layoutRole__left">
  103.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  104.             </aside>
  105.         {% endif %}
  106.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  107.         {% if Layout.ColumnNum == 2 %}
  108.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  109.         {% elseif Layout.ColumnNum == 3 %}
  110.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  111.         {% endif %}
  112.         <main class="{{ layoutRoleMain }}">
  113. {# TOPページとの切り分け #}
  114. {% set request_uri = app.request.server.get('REQUEST_URI') %}
  115.                 {% if request_uri == '/'  %}
  116.                 {% else %}
  117.     <div class="top-product">
  118. {% endif %}
  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. {# TOPページとの切り分け #}
  134. {% set request_uri = app.request.server.get('REQUEST_URI') %}
  135.                 {% if request_uri == '/'  %}
  136.                 {% else %}
  137.     </div>
  138. {% endif %}
  139.         </main>
  140.         {# Layout: SIDE_RIGHT #}
  141.         {% if Layout.SideRight %}
  142.             <aside class="ec-layoutRole__right">
  143.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  144.             </aside>
  145.         {% endif %}
  146.     </div>
  147.     {# Layout: CONTENTS_BOTTOM #}
  148.     {% if Layout.ContentsBottom %}
  149.         <div class="ec-layoutRole__contentBottom">
  150.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  151.         </div>
  152.     {% endif %}
  153.     {# Layout: CONTENTS_FOOTER #}
  154.     {% if Layout.Footer %}
  155.         <footer class="ec-layoutRole__footer">
  156.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  157.         </footer>
  158.     {% endif %}
  159. </div><!-- ec-layoutRole -->
  160. <div class="ec-overlayRole"></div>
  161. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  162. <div class="ec-drawerRole">
  163.     {# Layout: DRAWER #}
  164.     {% if Layout.Drawer %}
  165.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  166.     {% endif %}
  167. </div>
  168. <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>
  169. {% include('@common/lang.twig') %}
  170. <script src="{{ asset('assets/js/function.js') }}"></script>
  171. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  172. {% block javascript %}{% 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.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  182. </body>
  183. </html>