templates/higotrigo/ht_file/header.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <style>
  6.         /* Reset de box-sizing */
  7.         *, *::before, *::after {
  8.             box-sizing: border-box;
  9.         }
  10.         body {
  11.             font-family: Arial, sans-serif;
  12.             font-size: 12px;
  13.             color: #333;
  14.             margin: 0;
  15.             padding: 0;
  16.         }
  17.         /* Contenedor */
  18.         .container {
  19.             width: 100%;
  20.             padding: 10px;
  21.             margin: 0 auto;
  22.         }
  23.         /* Paneles */
  24.         .panel {
  25.             border: 1px solid #ccc;
  26.             border-radius: 3px;
  27.             margin-bottom: 10px;
  28.             background-color: #f9f9f9;
  29.         }
  30.         .panel-heading {
  31.             padding: 5px 10px;
  32.             border-bottom: 1px solid #ccc;
  33.             background-color: #e9ecef;
  34.             font-weight: bold;
  35.             font-size: 14px;
  36.             position: relative;
  37.         }
  38.         .panel-title {
  39.             margin: 0;
  40.             font-size: 14px;
  41.         }
  42.         /* Columnas basadas en flotantes */
  43.         [class*="col-xs-"] {
  44.             float: left;
  45.             padding: 5px;
  46.         }
  47.         .col-xs-12 {
  48.             width: 100%;
  49.         }
  50.         .col-xs-6 {
  51.             width: 50%;
  52.         }
  53.         .col-xs-5 {
  54.             width: 41.666667%;
  55.         }
  56.         .col-xs-4 {
  57.             width: 33.333333%;
  58.         }
  59.         .col-xs-3 {
  60.             width: 25%;
  61.         }
  62.         .col-xs-2 {
  63.             width: 16.666667%;
  64.         }
  65.         .col-xs-1 {
  66.             width: 8.333333%;
  67.         }
  68.         /* Limpiar flotados en filas */
  69.         .row {
  70.             margin-left: -5px;
  71.             margin-right: -5px;
  72.         }
  73.         /* Texto truncado */
  74.         .text-truncate {
  75.             white-space: nowrap;
  76.             overflow: hidden;
  77.             text-overflow: ellipsis;
  78.         }
  79.         /* Clearfix para limpiar flotados */
  80.         .clearfix::after {
  81.             content: "";
  82.             display: table;
  83.             clear: both;
  84.         }
  85.     </style>
  86. </head>
  87. <body>
  88.     <div class="container">
  89.         <!-- Encabezado Principal -->
  90.         <div class="panel panel-default">
  91.             <div class="panel-heading">
  92.                 <div class="row clearfix">
  93.                     <div class="col-xs-5 text-truncate">OT: {{ ht_file.title }}</div>
  94.                     <div class="col-xs-3">In: {{ ht_file.dateStart|date('d/m/Y H:i') }}</div>
  95.                     <div class="col-xs-3">Out: {{ ht_file.dateEnd|date('d/m/Y H:i') }}</div>
  96.                     <div class="col-xs-1">Pax: {{ ht_file.pax }}</div>
  97.                 </div>
  98.             </div>
  99.             <div class="panel-body">
  100.                 
  101.             </div>
  102.         </div>
  103.     </div>
  104. </body>
  105. </html>