app/template/dtJEIA4011/noheader_frame.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. {#
  3. ///////////////////////////////////////////////////////////////////////
  4. This template is part of EC-CUBE Design template.
  5. Copyright(c) JAPAN ELECTRONIC INDUSTRIAL ARTS CO.LTD.
  6. http://www.jeia.co.jp/
  7. For the full copyright and license information, please view the LICENSE
  8. file that was distributed with this source code.
  9. 本テンプレートの著作権は、「株式会社日本電子工藝社」に帰属いたします。
  10. ※本テンプレートを譲渡・再頒布・転用・第三者へ開示することは禁止いたします。
  11. ただし、事業者によるショップ運営者への設置代行を禁止するものではございません。
  12. ※本テンプレートを申請されたご利用サイトへの設置以外の目的で複製することは禁止いたします。
  13. ※本テンプレートデータ内のライセンス条項、および著作権に関する記述を削除することはできません。
  14. ※ご利用サイトを変更することはできません。申請と異なるサイトにてご利用になる場合は、
  15. 別途、ご利用費用をお支払いただく必要がございます。
  16. ※本テンプレートの改変にあたり、一切のサポートはいたしかねます。
  17. ※本テンプレートは、すべての設置環境で動作する事は保証しておりません。
  18. 2023/11/13 Pico鈴木 ヘッダーフッターが不要な画面に使用
  19. ///////////////////////////////////////////////////////////////////////
  20. #}
  21. <html lang="{{ eccube_config.locale }}">
  22. <head prefix="og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#">
  23.     <meta charset="utf-8">
  24.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  25.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  26.     <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>
  27.     {% if Page.meta_tags is not empty %}
  28.         {{ include(template_from_string(Page.meta_tags)) }}
  29.         {% if Page.description is not empty %}
  30.             <meta name="description" content="{{ Page.description }}">
  31.         {% endif %}
  32.     {% else %}
  33.         {{ include('meta.twig') }}
  34.     {% endif %}
  35.     {% if Page.author is not empty %}
  36.         <meta name="author" content="{{ Page.author }}">
  37.     {% endif %}
  38.     {% if Page.keyword is not empty %}
  39.         <meta name="keywords" content="{{ Page.keyword }}">
  40.     {% endif %}
  41.     {% if Page.meta_robots is not empty %}
  42.         <meta name="robots" content="{{ Page.meta_robots }}">
  43.     {% endif %}
  44.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  45.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  46.     <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
  47.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  48.     {# 当テンプレートでは「/html/bundle/front.bundle.js」は使いません。jQuery,slickの読み込みは旧来方式で読み込みます。
  49.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  50.     #}
  51.     {# jeiafont WEBフォントの読み込み #}
  52.     <style>
  53.         @font-face {
  54.             font-family: 'jeiafont';
  55.             src:
  56.                 url( "{{ asset('assets/icon/jeiafont/fonts/jeiafont.ttf') }}" ) format('truetype'),
  57.                 url( "{{ asset('assets/icon/jeiafont/fonts/jeiafont.woff') }}" ) format('woff'),
  58.                 url( "{{ asset('assets/icon/jeiafont/fonts/jeiafont.svg#jeiafont') }}" ) format('svg');
  59.             font-weight: normal;
  60.             font-style: normal;
  61.             font-display: swap;
  62.         }
  63.     </style>
  64.     {% block stylesheet %}{% endblock %}
  65.     <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  66.     <script>
  67.         $(function() {
  68.             $.ajaxSetup({
  69.                 'headers': {
  70.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  71.                 }
  72.             });
  73.         });
  74.     </script>
  75.     {# Layout: HEAD #}
  76.     {% if Layout.Head %}
  77.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  78.     {% endif %}
  79.     {# プラグイン用styleseetやmetatagなど #}
  80.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  81.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  82. </head>
  83. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  84. {# Layout: BODY_AFTER #}
  85. {% if Layout.BodyAfter %}
  86.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  87. {% endif %}
  88. {% if isMaintenance %}
  89.     <div class="ec-maintenanceAlert">
  90.         <div>
  91.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  92.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  93.         </div>
  94.     </div>
  95. {% endif %}
  96. <div class="ec-layoutRole">
  97.     {# Layout: HEADER #}
  98.     {# テンプレートオリジナルヘッダーはコメントアウト
  99.     {% if Layout.Header %}
  100.         <header class="ec-layoutRole__header">
  101.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  102.         </header>
  103.     {% endif %}
  104.     #}
  105.     {# Block\header.twigから必要な部分を取り出し #}
  106.     <div class="ec-headerRole">
  107.     <!-- ▼ ヘッダー左枠 ▼ -->
  108.        {# 左枠なし #}
  109.     <!-- ▲ ヘッダー左枠 ▲ -->
  110.     <!-- ▼ ヘッダー中央枠 ▼ -->
  111.     <div class="ec-headerRole__center">
  112.         {# ヘッダータイトル #}
  113.         <div class="ec-headerTitle">
  114.             <a href="{{ url('homepage') }}">
  115.                 {#
  116.                 ヘッダーロゴ画像
  117.                 クラウド版ec-cube.coをご利用の方は「コンテンツ管理」→「ブロック管理」から「ヘッダー(商品検索・ログインナビ・カート)」をクリックして編集画面に入り、
  118.                 「img」要素内の「src」属性をアップロードしたヘッダー画像のフルパスに記述を変更してください。​
  119.                 【例】src="/html/user_data/assets/img/header_logo.svg"​
  120.                 #}
  121.                 <img src="{{ asset('assets/img/common/partnerclub_ec_logo_login.svg') }}" alt="{{ BaseInfo.shop_name }}">
  122.             </a>
  123.         </div>
  124.     </div>
  125.     <!-- ▲ ヘッダー中央枠 ▲ -->
  126.     <!-- ▼ ヘッダー右枠 ▼ -->
  127.        {# 右枠なし #}
  128.     <!-- ▲ ヘッダー右枠 ▲ -->
  129.     </div> <!-- END div class="ec-headerRole" --> {# ヘッダーをカスタマイズ #}
  130.     {# Layout: CONTENTS_TOP #}
  131.     {% if Layout.ContentsTop %}
  132.         <div class="ec-layoutRole__contentTop">
  133.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  134.         </div>
  135.     {% endif %}
  136.     <div class="ec-layoutRole__contents">
  137.         {# Layout: SIDE_LEFT #}
  138.         {% if Layout.SideLeft %}
  139.             <aside class="ec-layoutRole__left">
  140.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  141.             </aside>
  142.         {% endif %}
  143.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  144.         {% if Layout.ColumnNum == 2 %}
  145.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  146.         {% elseif Layout.ColumnNum == 3 %}
  147.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  148.         {% endif %}
  149.         <main class="{{ layoutRoleMain }}">
  150.             {# Layout: MAIN_TOP #}
  151.             {% if Layout.MainTop %}
  152.                 <div class="ec-layoutRole__mainTop">
  153.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  154.                 </div>
  155.             {% endif %}
  156.             {# MAIN AREA #}
  157.             {% block main %}{% endblock %}
  158.             {# Layout: MAIN_Bottom #}
  159.             {% if Layout.MainBottom %}
  160.                 <div class="ec-layoutRole__mainBottom">
  161.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  162.                 </div>
  163.             {% endif %}
  164.         </main>
  165.         {# Layout: SIDE_RIGHT #}
  166.         {% if Layout.SideRight %}
  167.             <aside class="ec-layoutRole__right">
  168.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  169.             </aside>
  170.         {% endif %}
  171.     </div>
  172.     {# Layout: CONTENTS_BOTTOM #}
  173.     {% if Layout.ContentsBottom %}
  174.         <div class="ec-layoutRole__contentBottom">
  175.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  176.         </div>
  177.     {% endif %}
  178.     {# Layout: CONTENTS_FOOTER #}
  179. {# フッターは非表示
  180.     {% if Layout.Footer %}
  181.         <footer class="ec-layoutRole__footer">
  182.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  183.         </footer>
  184.     {% endif %}
  185. #}
  186. </div><!-- ec-layoutRole -->
  187. <div class="ec-overlayRole"></div>
  188. <div class="ec-drawerRole">
  189.     {# Layout: DRAWER #}
  190.     {% if Layout.Drawer %}
  191.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  192.     {% endif %}
  193. </div>
  194. {# ページトップボタン #}
  195. <div class="ec-blockTopBtn pagetop"><i class="jeiafont jeia-angleup"></i></div>
  196. <script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
  197. {% include('@common/lang.twig') %}
  198. <script src="{{ asset('assets/js/function.js') }}"></script>
  199. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  200. {% block javascript %}{% endblock %}
  201. {#
  202. simplePARALLAX.js
  203. パララックス動作に「simplePARALLAX.js」を使用しています。
  204. https://simpleparallax.com/
  205. MIT License
  206. Copyright (c) 2017 geosenna
  207. Permission is hereby granted, free of charge, to any person obtaining a copy
  208. of this software and associated documentation files (the "Software"), to deal
  209. in the Software without restriction, including without limitation the rights
  210. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  211. copies of the Software, and to permit persons to whom the Software is
  212. furnished to do so, subject to the following conditions:
  213. The above copyright notice and this permission notice shall be included in all
  214. copies or substantial portions of the Software.
  215. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  216. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  217. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  218. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  219. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  220. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  221. SOFTWARE.
  222. #}
  223. <script src="https://cdn.jsdelivr.net/npm/simple-parallax-js@5.5.1/dist/simpleParallax.min.js"></script>
  224. <script>
  225.     var parallax = document.getElementsByClassName( 'js-parallax' );
  226.     // たまに動作しない事があるようなのでパララックス開始をタイマーで少しずらしておきます
  227.     setTimeout(function(){
  228.         new simpleParallax(parallax, {
  229.             scale: 1.5,
  230.             delay: 1,
  231.         });
  232.     }, 1000);
  233. </script>
  234. {# jeia_function.js #}
  235. <script src="{{ asset('assets/js/jeia_function.js') }}"></script>
  236. {# Layout: CLOSE_BODY_BEFORE #}
  237. {% if Layout.CloseBodyBefore %}
  238.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  239. {% endif %}
  240. {# プラグイン用Snippet #}
  241. {% if plugin_snippets is defined %}
  242.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  243. {% endif %}
  244.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  245. </body>
  246. </html>