templates/base1.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>{% block title %}Cps-HR-RRHH{% 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.         <link href="{{ asset('vendors/bootstrap/dist/css/bootstrap.min.css') }}" rel="stylesheet">
  9.         <link href="{{ asset('build/css/jquery-ui-1.10.4.custom.css') }}" rel="stylesheet">
  10.         <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
  11.     {% endblock %}
  12. </head>
  13. <body>
  14.     <nav style="position: fixed; top: 0; left: 0; right: 0; height: 60px; 
  15.                 background-color: #007b6d; z-index: 1030; border: none;">
  16.         
  17.         <!-- Logo -->
  18.         <img src="/production/images/logo1.png" 
  19.             style="height: 40px; position: absolute; top: 10px; left: 15px;">
  20.         
  21.         <!-- Texto al lado del logo - POSICIÓN ABSOLUTA TAMBIÉN -->
  22.         <div style="position: absolute; top: 50%; left: 70px; 
  23.                     transform: translateY(-50%); color: white; 
  24.                     font-size: 12px; font-weight: bold;">
  25.             Caja Petrolera - Sistema Encuenta
  26.         </div>
  27.     </nav>
  28.     <div style="margin-top: 60px;"> <!-- Espacio para el navbar de 80px -->
  29.         {% block body %}{% endblock %}
  30.     </div>
  31.     {% block custom_stylesheets %}
  32.     <style>
  33.              body {
  34.             margin: 0;
  35.             padding: 0;
  36.             background-color: #f8f9fa;
  37.         }
  38.         
  39.         /* Eliminar cualquier borde o outline de Bootstrap */
  40.         .navbar {
  41.             border: 0 !important;
  42.             border-radius: 0 !important;
  43.             margin-bottom: 0 !important;
  44.         }
  45.         
  46.         /* Asegurar que no haya espacios */
  47.         html, body {
  48.             height: 100%;
  49.             overflow-x: hidden;
  50.         }
  51.         
  52.         /* Para que los enlaces no tengan outline */
  53.         a, a:focus, a:hover {
  54.             outline: none;
  55.             text-decoration: none;
  56.         }
  57.     </style>
  58.     {% endblock %}
  59.     {% block javascripts %}
  60.         <!-- jQuery para Bootstrap -->
  61.         <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  62.         <!-- Bootstrap JS -->
  63.         <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
  64.     {% endblock %}
  65. </body>
  66. </html>