templates/pdf/header.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         {# <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900" rel="stylesheet"> #}
  6.         {# <link rel="preconnect" href="https://fonts.gstatic.com"> #}
  7.         {# <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet"> #}
  8.         {# <link rel="preconnect" href="https://fonts.gstatic.com"> #}
  9.         {# <link href="https://fonts.googleapis.com/css2?family=Quicksand&display=swap" rel="stylesheet"> #}
  10.         <style>
  11.             /* latin-ext */
  12.             @font-face {
  13.                 font-family: 'Lato';
  14.                 font-style: normal;
  15.                 font-weight: 300;
  16.                 src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh7USSwaPGR_p.woff2'))}}") format('woff2');
  17.                 unicode-range: U + 100-024F, U + 259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U+A720-A7FF;
  18.             }
  19.             /* latin */
  20.             @font-face {
  21.                 font-family: 'Lato';
  22.                 font-style: normal;
  23.                 font-weight: 300;
  24.                 src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh7USSwiPGQ.woff2'))}}") format('woff2');
  25.                 unicode-range: U + 0-00FF, U + 131, U + 152-0153, U + 2BB-02BC, U + 2C6, U + 2 DA, U + 2 DC, U + 2000-206F, U + 2074, U + 20 AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U+FEFF, U+FFFD;
  26.             }
  27.             /* latin-ext */
  28.             @font-face {
  29.                 font-family: 'Lato';
  30.                 font-style: normal;
  31.                 font-weight: 400;
  32.                 src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6uyw4BMUTPHjxAwXjeu.woff2'))}}") format('woff2');
  33.                 unicode-range: U + 100-024F, U + 259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U+A720-A7FF;
  34.             }
  35.             /* latin */
  36.             @font-face {
  37.                 font-family: 'Lato';
  38.                 font-style: normal;
  39.                 font-weight: 400;
  40.                 src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6uyw4BMUTPHjx4wXg.woff2'))}}") format('woff2');
  41.                 unicode-range: U + 0-00FF, U + 131, U + 152-0153, U + 2BB-02BC, U + 2C6, U + 2 DA, U + 2 DC, U + 2000-206F, U + 2074, U + 20 AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U+FEFF, U+FFFD;
  42.             }
  43.             /* latin-ext */
  44.             @font-face {
  45.                 font-family: 'Lato';
  46.                 font-style: normal;
  47.                 font-weight: 700;
  48.                 src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh6UVSwaPGR_p.woff2'))}}") format('woff2');
  49.                 unicode-range: U + 100-024F, U + 259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U+A720-A7FF;
  50.             }
  51.             /* latin */
  52.             @font-face {
  53.                 font-family: 'Lato';
  54.                 font-style: normal;
  55.                 font-weight: 700;
  56.                 src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh6UVSwiPGQ.woff2'))}}") format('woff2');
  57.                 unicode-range: U + 0-00FF, U + 131, U + 152-0153, U + 2BB-02BC, U + 2C6, U + 2 DA, U + 2 DC, U + 2000-206F, U + 2074, U + 20 AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U+FEFF, U+FFFD;
  58.             }
  59.             /* latin-ext */
  60.             @font-face {
  61.                 font-family: 'Lato';
  62.                 font-style: normal;
  63.                 font-weight: 900;
  64.                 src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh50XSwaPGR_p.woff2'))}}") format('woff2');
  65.                 unicode-range: U + 100-024F, U + 259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U+A720-A7FF;
  66.             }
  67.             /* latin */
  68.             @font-face {
  69.                 font-family: 'Lato';
  70.                 font-style: normal;
  71.                 font-weight: 900;
  72.                 src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh50XSwiPGQ.woff2'))}}") format('woff2');
  73.                 unicode-range: U + 0-00FF, U + 131, U + 152-0153, U + 2BB-02BC, U + 2C6, U + 2 DA, U + 2 DC, U + 2000-206F, U + 2074, U + 20 AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U+FEFF, U+FFFD;
  74.             }
  75.             {
  76.                 # MONTSERRAT #
  77.             }
  78.             /* cyrillic-ext */
  79.             @font-face {
  80.                 font-family: 'Montserrat';
  81.                 font-style: normal;
  82.                 font-weight: 400;
  83.                 font-display: swap;
  84.                 src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2'))}}") format('woff2');
  85.                 unicode-range: U + 460-052F, U + 1C80-1C88, U + 20B4, U + 2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  86.             }
  87.             /* cyrillic */
  88.             @font-face {
  89.                 font-family: 'Montserrat';
  90.                 font-style: normal;
  91.                 font-weight: 400;
  92.                 font-display: swap;
  93.                 src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2'))}}") format('woff2');
  94.                 unicode-range: U + 400-045F, U + 490-0491, U + 4B0-04B1, U + 2116;
  95.             }
  96.             /* vietnamese */
  97.             @font-face {
  98.                 font-family: 'Montserrat';
  99.                 font-style: normal;
  100.                 font-weight: 400;
  101.                 font-display: swap;
  102.                 src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2'))}}") format('woff2');
  103.                 unicode-range: U + 102-0103, U + 110-0111, U + 128-0129, U + 168-0169, U + 1A0-01A1, U + 1AF-01B0, U + 1EA0-1EF9, U + 20 AB;
  104.             }
  105.             /* latin-ext */
  106.             @font-face {
  107.                 font-family: 'Montserrat';
  108.                 font-style: normal;
  109.                 font-weight: 400;
  110.                 font-display: swap;
  111.                 src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2'))}}") format('woff2');
  112.                 unicode-range: U + 100-024F, U + 259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U+A720-A7FF;
  113.             }
  114.             /* latin */
  115.             @font-face {
  116.                 font-family: 'Montserrat';
  117.                 font-style: normal;
  118.                 font-weight: 400;
  119.                 font-display: swap;
  120.                 src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2'))}}") format('woff2');
  121.                 unicode-range: U + 0-00FF, U + 131, U + 152-0153, U + 2BB-02BC, U + 2C6, U + 2 DA, U + 2 DC, U + 2000-206F, U + 2074, U + 20 AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U+FEFF, U+FFFD;
  122.             }
  123.             /* cyrillic-ext */
  124.             @font-face {
  125.                 font-family: 'Montserrat';
  126.                 font-style: normal;
  127.                 font-weight: 700;
  128.                 font-display: swap;
  129.                 src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gTD_u50.woff2'))}}") format('woff2');
  130.                 unicode-range: U + 460-052F, U + 1C80-1C88, U + 20B4, U + 2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  131.             }
  132.             /* cyrillic */
  133.             @font-face {
  134.                 font-family: 'Montserrat';
  135.                 font-style: normal;
  136.                 font-weight: 700;
  137.                 font-display: swap;
  138.                 src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3g3D_u50.woff2'))}}") format('woff2');
  139.                 unicode-range: U + 400-045F, U + 490-0491, U + 4B0-04B1, U + 2116;
  140.             }
  141.             /* vietnamese */
  142.             @font-face {
  143.                 font-family: 'Montserrat';
  144.                 font-style: normal;
  145.                 font-weight: 700;
  146.                 font-display: swap;
  147.                 src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gbD_u50.woff2'))}}") format('woff2');
  148.                 unicode-range: U + 102-0103, U + 110-0111, U + 128-0129, U + 168-0169, U + 1A0-01A1, U + 1AF-01B0, U + 1EA0-1EF9, U + 20 AB;
  149.             }
  150.             /* latin-ext */
  151.             @font-face {
  152.                 font-family: 'Montserrat';
  153.                 font-style: normal;
  154.                 font-weight: 700;
  155.                 font-display: swap;
  156.                 src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gfD_u50.woff2'))}}") format('woff2');
  157.                 unicode-range: U + 100-024F, U + 259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U+A720-A7FF;
  158.             }
  159.             /* latin */
  160.             @font-face {
  161.                 font-family: 'Montserrat';
  162.                 font-style: normal;
  163.                 font-weight: 700;
  164.                 font-display: swap;
  165.                 src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gnD_g.woff2'))}}") format('woff2');
  166.                 unicode-range: U + 0-00FF, U + 131, U + 152-0153, U + 2BB-02BC, U + 2C6, U + 2 DA, U + 2 DC, U + 2000-206F, U + 2074, U + 20 AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U+FEFF, U+FFFD;
  167.             }
  168.             {
  169.                 # Quicksand #
  170.             }
  171.             /* vietnamese */
  172.             @font-face {
  173.                 font-family: 'Quicksand';
  174.                 font-style: normal;
  175.                 font-weight: 300;
  176.                 font-display: swap;
  177.                 src: url("{{absolute_url(asset('assets/css/fonts/Quicksand/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkKEo58m-wi40.woff2'))}}") format('woff2');
  178.                 unicode-range: U + 102-0103, U + 110-0111, U + 128-0129, U + 168-0169, U + 1A0-01A1, U + 1AF-01B0, U + 1EA0-1EF9, U + 20 AB;
  179.             }
  180.             /* latin-ext */
  181.             @font-face {
  182.                 font-family: 'Quicksand';
  183.                 font-style: normal;
  184.                 font-weight: 300;
  185.                 font-display: swap;
  186.                 src: url("{{absolute_url(asset('assets/css/fonts/Quicksand/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkKEo58i-wi40.woff2'))}}") format('woff2');
  187.                 unicode-range: U + 100-024F, U + 259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U+A720-A7FF;
  188.             }
  189.             /* latin */
  190.             @font-face {
  191.                 font-family: 'Quicksand';
  192.                 font-style: normal;
  193.                 font-weight: 300;
  194.                 font-display: swap;
  195.                 src: url("{{absolute_url(asset('assets/css/fonts/Quicksand/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkKEo58a-wg.woff2'))}}") format('woff2');
  196.                 unicode-range: U + 0-00FF, U + 131, U + 152-0153, U + 2BB-02BC, U + 2C6, U + 2 DA, U + 2 DC, U + 2000-206F, U + 2074, U + 20 AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U+FEFF, U+FFFD;
  197.             }
  198.             .header-left {
  199.                 display: inline-block;
  200.                 text-align: left;
  201.                 width: 500px;
  202.                 vertical-align: middle;
  203.             }
  204.             .header-right {
  205.                 text-align: right;
  206.                 float: right;
  207.                 vertical-align: middle;
  208.             }
  209.             .img-logo-dotto {
  210.                 height: 70px;
  211.                 display: inline-block;
  212.                 padding: 0 0 0 0;
  213.                 max-width: 225px;
  214.                 margin-top: 10px;
  215.             }
  216.             .text-client {
  217.                 font-family: 'Lato', sans-serif;
  218.                 font-size: 24px;
  219.                 color: #353535;
  220.                 font-weight: bold;
  221.                 height:65px;
  222.                 margin-top:10px;
  223.             }
  224.             .img-logo-client{
  225.                 height:80px;
  226.                 margin: 0px auto;
  227.                 display:inline-block;
  228.                 margin-left:5px;
  229.                 padding: 0 0 0 0;
  230.                 max-width: 240px;
  231.             }
  232.         </style>
  233.     </head>
  234.     <body>
  235.         <div style="padding:25px 50px;"> 
  236.             <div class="header-left">
  237.                 {% if result_report.reportLogo %}
  238.                     {% if  result_report.reportLogo.showLogoJD %}
  239.                         <img class="img-logo-dotto" src="{{absolute_url(asset('assets/img/LogoCentrodeGenéticaJorgeDotto_-11.png'))}}" alt="" alt="">
  240.                     {% endif %}
  241.                 {% else %}
  242.                     <img class="img-logo-dotto" src="{{absolute_url(asset('assets/img/LogoCentrodeGenéticaJorgeDotto_-11.png'))}}" alt="" alt="">
  243.                 {% endif %}
  244.                 {% if result_report.reportLogo %}
  245.                     {% if  result_report.reportLogo.path %}
  246.                         <img class="img-logo-client" src="{{absolute_url(asset('uploads/section/images/'~ result_report.reportLogo.path))}}" alt="" alt="">
  247.                     {% endif %}
  248.                 {% else %}
  249.                     {% if result_report.reportGeneratorSecond %}
  250.                         {% if result_report.reportGeneratorSecond.reportGenerator %}
  251.                             {% for logo_client in result_report.reportGeneratorSecond.reportGenerator.reportLogos %}
  252.                                 {% if logo_client.clientLogoAll %}
  253.                                     {% if  logo_client.path %}
  254.                                         <img class="img-logo-client" src="{{absolute_url(asset('uploads/section/images/'~ logo_client.path))}}" alt="" alt="">
  255.                                     {% endif %}
  256.                                 {% endif %}
  257.                             {% endfor %}
  258.                         {% endif %}
  259.                     {% endif %}
  260.                 {% endif %}
  261.                 {# 
  262.                 {% if result_report.reportLogo %}
  263.                     {% if  result_report.reportLogo.path %}
  264.                         <img style="height:50px;" src="{{absolute_url(asset('/uploads/section/images/'~ result_report.reportLogo.path))}}" alt="" alt="">
  265.                     {% endif %}
  266.                 {% endif %} 
  267.                         #}
  268.             </div>
  269.             <div class="header-right">
  270.                 <div class="text-client">
  271.                     {{result_report.client}}
  272.                 </div>
  273.                 <div style="margin: 0px auto;display:block"></div>
  274.             </div>
  275.         </div>
  276.     </body>
  277. </html>