src/Social/FrontendBundle/Resources/views/layout_simple.html.twig line 1

Open in your IDE?
  1. {% extends 'SocialFrontendBundle::layout_base.html.twig' %}
  2. {% block stylesheets %}
  3.     {{ parent() }}
  4.     {% stylesheets filter="?yui_css, cssrewrite"
  5.         "bundles/socialfrontend/css/theme/vendor/bootstrap-datepicker.min.css"
  6.         "bundles/socialfrontend/css/theme/custom/stylesheet-complete-new.min.css"
  7.         "bundles/socialfrontend/css/app/custom/main-new.css"
  8.         "bundles/socialfrontend/css/app/custom/modal-style.css"
  9.         "bundles/socialfrontend/css/theme/custom/responsive.css"
  10.         "bundles/socialfrontend/css/app/custom/non-account.css"
  11.         "bundles/socialfrontend/css/theme/vendor/flipclock/flipclock.css" %}
  12.         <link href="{{ asset_url }}" rel="stylesheet" media="screen"/>
  13.     {% endstylesheets %}
  14. {% endblock %}
  15. {% block javascripts %}
  16.     {{ parent() }}
  17.     {% javascripts filter="?yui_js"
  18.         "bundles/socialfrontend/js/theme/vendor/jquery.js"
  19.         "bundles/socialfrontend/js/theme/vendor/bootstrap.min.js"
  20.         "bundles/socialfrontend/js/vendor/fancy-select/fancySelect.js"
  21.         "bundles/socialfrontend/js/vendor/bootbox/bootbox.js"
  22.         "bundles/socialfrontend/js/app/custom/main.js"
  23.         'bundles/socialfrontend/js/app/custom/messaging/chat_v2.js'
  24.         "bundles/socialfrontend/js/app/custom/account/photo_upload.js"
  25.         "bundles/socialfrontend/js/vendor/flipclock/flipclock.min.js" %}
  26.         <script type="text/javascript" src="{{ asset_url }}"></script>
  27.     {% endjavascripts %}
  28.     <script src="https://js.pusher.com/6.0/pusher.min.js"></script>
  29.     <script>
  30.         var pusherAuthKey = '{{ pusher_auth_key }}';
  31.         var rooms = [];
  32.     </script>
  33. {% endblock %}
  34. {% block body %}
  35.     <body class="set-language-user-{{ app.request.locale }}
  36.         {% if app.request.get('_route') in register_routes %}
  37.             register-page
  38.         {% endif %}
  39.             my-details"
  40.           user-id="{% if app.user %}{{ app.user.id }}{% endif %}">
  41.     <section role="navigation" class="navbar navbar-default top-nav navbar-fixed-top">
  42.         <div class="container">
  43.             <div class="text-center logo-text">
  44.                 <a href="{{ path('social_user_homepage') }}">
  45.                     <img src="{{ asset(theme_manager.getActiveThemeLogo()) }}" alt="">
  46.                 </a>
  47.             </div>
  48.         </div>
  49.     </section>
  50.     <section id="content">
  51.         {% block wrapper %}
  52.             {% block content %} {% endblock %}
  53.         {% endblock %}
  54.     </section>
  55.     {# {% include 'SocialFrontendBundle::layout_footer_base.html.twig' %} #}
  56.     {# {% include 'SocialFrontendBundle::ga_code.html.twig' %} #}
  57.     {% include 'SocialFrontendBundle::hotjar_code.html.twig' %}
  58.     </body>
  59. {% endblock %}