templates/base.html.twig line 24

Open in your IDE?
  1. {% set idiomas = app.session.get('idiomas') %}
  2. {%  set idiomaActual = app.session.get('idiom') %}
  3. {% if app.session.get('idiom')=='en' %}
  4. {%  set idiomaActual = 'us' %}
  5. {% endif %}
  6. <!DOCTYPE html>
  7. <html lang="en">
  8. <head>
  9.     <meta charset="utf-8">
  10.     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  11.     <title>ACNH Fandom {% block title %}{% endblock %}</title>
  12.     <meta name="description" content="">
  13.     <meta name="author" content="">
  14.     <meta name="HandheldFriendly" content="True">
  15.     <meta name="MobileOptimized" content="320">
  16.     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  17.     {% block stylesheets %}
  18.         {{ encore_entry_link_tags('app') }}
  19.     {% endblock %}
  20. </head>
  21. <body>
  22. {% block body %}
  23.     {% block header %}
  24.         <!-- header -->
  25.         <header>
  26.             <!-- tool bar -->
  27.             <div id="header-toolbar" class="container-fluid headerbackground">
  28.                 <div class="acnh-ctrl" role="menu">
  29.                     <a href="#" class="button-icon"><i class="fab fa-facebook"></i></a>
  30.                     <a href="#" class="button-icon"><i class="fab fa-twitter"></i></a>
  31.                     <a href="#" class="button-icon"><i class="fa fa-envelope"></i></a>
  32.                 </div>
  33.                 <div class="dropdown right">
  34.                     <!--Trigger-->
  35.                     <a  type="button" id="dropdownMenu2" data-toggle="dropdown"
  36.                         aria-haspopup="true" aria-expanded="false"><i class="flag-icon flag-icon-{{ idiomaActual }}"></i></a>
  37.                     <!--Menu-->
  38.                     <div class="dropdown-menu dropdown-primary">
  39.                         {% for idiom in idiomas %}
  40.                         <a class="dropdown-item" data-target="{{ idiom }}"><i class="flag-icon flag-icon-{{ idiom }}"></i></a>
  41.                         {% endfor %}
  42.                     </div>
  43.                 </div>
  44.             </div>
  45.             <div class="submenu" role="menu">
  46.                 <button type="reset" class="btn_acnh white">Log-in/Registro</button>
  47.                 <button type="reset" class="btn_acnh white">Perfil</button>
  48.                 <button type="reset" class="btn_acnh white">Mis Transacciones</button>
  49.                 <button type="reset" class="btn_acnh white">Admin</button>
  50.                 <button type="reset" class="btn_acnh white">Otros</button>
  51.             </div>
  52.         </header>
  53.     {% endblock header %}
  54.     {% block content %}
  55.         {% block aside %}
  56.         {% endblock %}
  57.         {% block principal %}
  58.         {% endblock %}
  59.     {% endblock %}
  60. {% endblock %}
  61. <hr>
  62. {% block footer %}
  63.     <footer>
  64.         <div id="header-toolbar" class="container-fluid footerbackground">
  65.         </div>
  66.     </footer>
  67. {% endblock  %}
  68. {% block javascripts %}
  69.     {{ encore_entry_script_tags('app') }}
  70. {% endblock %}
  71. </body>
  72. </html>