app/template/default/Block/manaheader.twig line 1

Open in your IDE?
  1. {% set request_uri = app.request.server.get('REQUEST_URI') %}
  2. {% if request_uri == '/buycart'  %}
  3. {% block javascript %}
  4. <script>
  5. $(function() {
  6.     $('.bigbox').css('background-color','#22b573');
  7.     $('.header-middle').css('background-color','#22b573');
  8.     
  9. });
  10. </script>
  11. {% endblock %}
  12. {% endif %}
  13. <div class="header-top">
  14.     <div class="header-middle">
  15.         <div class="mw1220">
  16.             <div class="hdbtnbox1"> 
  17.                 <a href="{{url('homepage')}}user_data/flow#flow" /><img src="{{ asset('/html/user_data/assets/img/head_btn1.png') }} " class="hdbtn" alt=""/></a>
  18.                 <a href="{{ url('homepage') }}buycart" /><img src="{{ asset('/html/user_data/assets/img/head_btn2_20.png') }} " class="hdbtn" alt=""/></a>
  19.             </div>
  20.             <div class="hdbtnbox2">
  21.                 <a href="{{ url('homepage') }}cart" /><img src="{{ asset('/html/user_data/assets/img/head_btn3.png') }} " class="hdbtn" alt=""/></a>
  22.                 {% if is_granted('ROLE_USER') %}
  23.                     <a href="{{ url('logout') }}" /><img src="{{ asset('/html/user_data/assets/img/head_btn4_2.png') }} " class="hdbtn" alt=""/></a>
  24.                 {% else %}
  25.                     <a href="{{ url('homepage') }}shopping/login" /><img src="{{ asset('/html/user_data/assets/img/head_btn4.png') }} " class="hdbtn" alt=""/></a>
  26.                 {% endif %}
  27.                 
  28.             </div>
  29.         </div>
  30.     </div>
  31. </div>
  32. <div class="logobox tac">
  33.     <a href="{{ url('homepage') }}">
  34.     <img src="{{ asset('/html/user_data/assets/img/logo.png') }} " alt=""/></a>
  35. </div>