app/template/unishop/index.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
  4. http://www.lockon.co.jp/
  5. This program is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU General Public License
  7. as published by the Free Software Foundation; either version 2
  8. of the License, or (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  16. #}
  17. {% extends 'default_frame.twig' %}
  18. {% set body_class = 'front_page' %}
  19. {% block javascript %}
  20. <script>
  21. $(function(){
  22.     $('.main_visual').slick({
  23.     centerMode: true,
  24.   centerPadding: '20px',
  25.         dots:false,
  26.         arrows:true,
  27.         autoplay: true,
  28.         speed: 500,
  29.     prevArrow: '<div class="slide-arrow prev-arrow"><img src="{{ asset('assets') }}/img/nikke/slick/w_prev.gif"></div>',
  30.     nextArrow: '<div class="slide-arrow next-arrow"><img src="{{ asset('assets') }}/img/nikke/slick/w_next.gif"></div>',
  31.           responsive: [{
  32.                breakpoint: 768,
  33.                     settings: {
  34.   centerPadding: '0px',
  35.     prevArrow: '<div class="slide-arrow prev-arrow"><img src="{{ asset('assets') }}/img/unishop/slick/w_prev.png"></div>',
  36.     nextArrow: '<div class="slide-arrow next-arrow"><img src="{{ asset('assets') }}/img/unishop/slick/w_next.png"></div>'
  37.                }
  38.           },{
  39.                breakpoint: 480,
  40.                     settings: {
  41.   centerPadding: '0px',
  42.     prevArrow: '<div class="slide-arrow prev-arrow"><img src="{{ asset('assets') }}/img/unishop/slick/w_prev.png"></div>',
  43.     nextArrow: '<div class="slide-arrow next-arrow"><img src="{{ asset('assets') }}/img/unishop/slick/w_next.png"></div>'
  44.                     }
  45.                }
  46.           ]
  47.     });
  48. });
  49. </script>
  50. {% endblock %}
  51. {% block main %}
  52. {% if is_granted('ROLE_USER') %}
  53.     <div class="row">
  54.        <div class="col-sm-12">
  55.             <div class="main_visual pcspslide">
  56. <a class="box1" href="{{ url('product_list') }}" style="background-image:url({{ url('homepage') }}/html/user_data/main_image_hata04.jpg);">
  57.     <p>{{ app.user.school.school_name }}<br><br>【 アイテム一覧はコチラ 】</p></a>
  58.             </div>
  59.         </div>
  60.     </div>
  61.     <div id="contents"><div id="main">
  62.     {% else %}
  63.         <div id="contents" class="logout">
  64.             <div class="logouttop pcspslide">
  65.                 <div class="box1" style="background-position:left center;background-image:url({{ url('homepage') }}/html/user_data/main_image_hata07.jpg);">
  66.                     <img src="{{ url('homepage') }}/html/user_data/logo_header_hata9c.png" style="display:block; width:80%; max-width:400px; height:auto; margin:auto 10% 70px auto; filter:drop-shadow(0 0 5px #fff) drop-shadow(0 0 10px #fff);"></div>
  67.             </div>
  68.             <div class="flex_list_link indexbtn" style="margin:10px 0;">
  69.                 <div class="w32 check_pop" style="margin:5px 0;">
  70. <label class="popup" for="pop-up"><img src="{{ asset('assets') }}/img/unishop/icon_category01.png" style="display:block; width:20px; height:auto; margin:0 20px 0 0;"><span>神戸モデル標準服</span></label>
  71. <input type="checkbox" id="pop-up">
  72. <div class="popup_over">
  73.     <div class="popup_window">
  74.         <label class="popup_close" for="pop-up">×</label>
  75.         <p><span>当社が、推奨販売店として</span><span>ご指定をいただいている学校</span><span>に通われる方におかれましては、</span><br><span>別途、学校から配付されますご案内</span><span>または申込用紙をご覧ください。</span></p>
  76.         <a style="color:#333e58; background-color:#fff; background-image:url({{ url('homepage') }}/html/user_data/icon_paperw.png);" target="_blank" href="{{ url('homepage') }}html/user_data/pdf_kobe_model.pdf"><span>内容を了解して</span><span>「神戸モデル標準服」</span><span>のご案内を表示する</span></a>
  77.     </div>
  78. </div><label class="popup_shadow" for="pop-up">×</label>
  79.                 </div>
  80.                 <a class="w32" href="{{ url('user_data', {'route': 'school_list2'}) }}">
  81.                     <img src="{{ url('homepage') }}/html/user_data/icon_school.png" style="display:block; width:40px; height:auto; margin:0 20px 0 0;">
  82.                     <span>お取扱い校</span></a>
  83.                     
  84.                     <a class="w32" href="{{ url('user_data', {'route': 'store_info'}) }}">
  85.                     <img src="{{ url('homepage') }}/html/user_data/icon_store.png.png" style="display:block; width:40px; height:auto; margin:0 20px 0 0;">
  86.                     <span>店舗情報</span></a>
  87.                 <a class="w32" style="margin:5px 0;" href="{{ url('user_data', {'route': 'maker_list'}) }}">
  88.                     <img src="{{ asset('assets') }}/img/unishop/icon_category01_set.png" style="display:block; width:40px; height:auto; margin:0 20px 0 0;">
  89.                     <span><span>主な取扱い</span><span>メーカー・仕入先</span></span></a>
  90.             </div>
  91.         <div class="container-fluid inner"><div id="main">
  92.     {% endif %}
  93. {% endblock %}
  94. {% block CALENDER %}
  95. <iframe src="https://calendar.google.com/calendar/embed?height=600&wkst=1&ctz=Asia%2FTokyo&bgcolor=%23ffffff&src=NmNkMTdlMjliN2M1M2ZmYWJmMjc0OTkzNzM3OTI3NWViYmE0YTUzZDJiNWNmZjM0NzU1YzQ3MzA3OGVlNzJlOEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t&src=Y2FjNTUxMGE3MTYyOGRmZTQxMmNlYmNlYjU4Mzk5OTdhYTY3OTIzYjAzZjU2ODA3MThlYjhiMzI4MDJkYTBjN0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t&src=amEuamFwYW5lc2UjaG9saWRheUBncm91cC52LmNhbGVuZGFyLmdvb2dsZS5jb20&color=%23D50000&color=%234285F4&color=%23D50000" style="border:solid 1px #777" width="800" height="600" frameborder="0" scrolling="no"></iframe>
  96. {% endblock %}