templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="UTF-8" />
  5.     <title>{% block title %}Taberna Roscón{% endblock %}</title>
  6.     <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
  7.     {% block stylesheets %}
  8.         {{ encore_entry_link_tags('app') }}
  9.     {% endblock %}
  10.     {% block javascripts %}
  11.         {{ encore_entry_script_tags('app') }}
  12.     {% endblock %}
  13. </head>
  14. <body >
  15. <header>
  16.     {% if app.user %}
  17.         <nav class="navbar navbar-expand-lg navbar-light navbar-roscon">
  18.             <div class="container-fluid">
  19.                 <a class="navbar-brand" href="#">
  20.                     <img src="{{ asset('images/taberna_Logo_Negro.png') }}" alt="Taberna Roscón" width="120" height="86" class="d-inline-block align-text-top">
  21.                 </a>
  22.                 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
  23.                     <span class="navbar-toggler-icon"></span>
  24.                 </button>
  25.                 <div class="collapse navbar-collapse" id="navbarNav">
  26.                     <ul class="navbar-nav me-auto mb-2 mb-lg-0" >
  27.                         <li class="nav-item">
  28.                             <a class="nav-link {% if app.request.get('_route') == 'upload_doc'  %} active {% endif %}" href="{{ path('upload_doc') }}">
  29.                                 <i class="bi bi-cloudy"></i>
  30.                                 Subir Documentos
  31.                             </a>
  32.                         </li>
  33.                         <li class="nav-item">
  34.                             <a class="nav-link {% if app.request.get('_route') == 'upload_doc'  %} active {% endif %}" href="{{ path('registration') }}">
  35.                                 <i class="bi bi-person-plus"></i>
  36.                                 Registro De Usuarios
  37.                             </a>
  38.                         </li>
  39.                     </ul>
  40.                     <ul class="navbar-nav" >
  41.                         <li class="nav-item justify-content-end">
  42.                             <a class="nav-link" href="{{ path('app_logout') }}" tabindex="-1" aria-disabled="true">
  43.                                 <i class="bi bi-person-x"></i>
  44.                                 Logout
  45.                             </a>
  46.                         </li>
  47.                     </ul>
  48.                 </div>
  49.             </div>
  50.         </nav>
  51.     {%  endif %}
  52. </header>
  53. <div class="container-fluid" id="mainContainer">
  54.     {% block body %}
  55.     {% endblock %}
  56. </div>
  57. {% if app.user %}
  58.     <nav class=" fixed-bottom navbar-expand-lg navbar-dark bg-dark" style="background-color: #000 !important; margin-left: -0.75rem;margin-right: -0.75rem;height: 95px;">
  59.         <ul class=" ">
  60.             <li class="nav-item" style="width: 125px; float: right;list-style-type: none;border: none;padding: 0px !important;">
  61.                 <a href="https://sokaconsultants.com/">
  62.                     <img src="{{ asset('images/soka-white-small.png') }}" style="height: 52px;margin-right: 30px;margin-top: 25px;" alt="Soka Consultants" >
  63.                 </a>
  64.             </li>
  65.         </ul>
  66.     </nav>
  67. {% endif %}
  68. </body>
  69.     {% block js %}
  70.     {%  endblock %}
  71. </html>