templates/bundles/NucleosUserBundle/layout.html.twig line 1

Open in your IDE?
  1. {# {% extends "@!NucleosUser/layout.html.twig" %} #}
  2. <!DOCTYPE html>
  3. <html>
  4.     <head>
  5.         <meta charset="utf-8">
  6.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8.         <meta name="description" content="">
  9.         <meta name="author" content="">
  10.         <link rel="icon" type="image/x-icon" href="/bundles/oxhoard/img/favicon.ico" />
  11.         <title>{% block title %}Title{% endblock %}</title>
  12.         {% block stylesheets %}
  13.             <link href='//fonts.googleapis.com/css?family=Hind:600,300' rel='stylesheet' type='text/css'>
  14.             <link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
  15.             {% embed 'import-libs/bootstrap.css.html.twig' %}{% endembed %}
  16.             {% embed 'import-libs/fontawesome.css.html.twig' %}{% endembed %}
  17.             {% embed 'import-libs/jqueryDatatables.css.html.twig' %}{% endembed %}
  18.             {{ encore_entry_link_tags('css/v2') }} {# '@OxHoardBundle/Resources/public/sass/sass_styles.scss'  filter='compass,cssrewrite' output="v2.css" #}  
  19.         {% endblock %}
  20.         {% block javascripts %}
  21.             <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script>
  22.             <script type="text/javascript" src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
  23.             {% embed 'import-libs/bootstrap.js.html.twig' %}{% endembed %}
  24.             {% embed 'import-libs/jqueryDatatables.js.html.twig' %}{% endembed %}
  25.             <script type="text/javascript" src="/bundles/oxhoard/js/data_table.js"></script>
  26.         {% endblock %}
  27.     </head>
  28.     <body>
  29.         {# <div>
  30.             {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
  31.                 {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'NucleosUserBundle') }} |
  32.                 <a href="{{ path('nucleos_user_security_logout') }}">
  33.                     {{ 'layout.logout'|trans({}, 'NucleosUserBundle') }}
  34.                 </a>
  35.             {% else %}
  36.                 <a href="{{ path('nucleos_user_security_login') }}">{{ 'layout.login'|trans({}, 'NucleosUserBundle') }}</a>
  37.             {% endif %}
  38.         </div> #}
  39.         {% if app.request.hasPreviousSession %}
  40.             {% for type, messages in app.session.flashbag.all() %}
  41.                 {% for message in messages %}
  42.                     <div class="flash-{{ type }}">
  43.                         {{ message }}
  44.                     </div>
  45.                 {% endfor %}
  46.             {% endfor %}
  47.         {% endif %}
  48.         {% block menu %}
  49.             {% embed 'menu.html.twig' %}
  50.             {% endembed %}
  51.         {% endblock %}
  52.         {% block header %}  
  53.             {% embed 'header.html.twig' %}
  54.             {% endembed %}
  55.         {% endblock %}
  56.         {% block body %}{% endblock %}
  57.         <div id="content" class="container">
  58.             <div class="row marginTop">
  59.                 <div class="hoardlistview-6col col-md-12">
  60.                     <div class="login-form">
  61.                         {% block nucleos_user_content %}
  62.                         {% endblock nucleos_user_content %}
  63.                     </div>
  64.                 </div>
  65.             </div>
  66.         </div>
  67.         {% block footer %}
  68.             {% embed 'footer.html.twig' %}
  69.             {% endembed %}
  70.         {% endblock %}
  71.     </body>
  72. </html>