templates/base2.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3.     <head>
  4.         <title>kmapi</title>
  5.         <meta name="description" content="Sanctus">
  6.         <meta name="viewport" content="width=device-width, maximum-scale=5, initial-scale=1, user-scalable=0">
  7.         <!--[if IE]>
  8.             <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
  9.         <!-- up to 10% speed up for external res -->
  10.         {# <link rel="dns-prefetch" href="https://fonts.googleapis.com/"> <link rel="dns-prefetch" href="https://fonts.gstatic.com/">
  11.                 <link rel="preconnect" href="https://fonts.googleapis.com/">
  12.                 <link rel="preconnect" href="https://fonts.gstatic.com/"> #}
  13.         <!-- preloading icon font is helping to speed up a little bit -->
  14.         <link rel="preload" href="{{ asset('smarty/fonts/flaticon/Flaticon.woff2') }}" as="font" type="font/woff2" crossorigin> <link rel="stylesheet" href="{{ asset('smarty/css/core.css') }}">
  15.         <link rel="stylesheet" href="{{ asset('smarty/css/vendor_bundle.min.css') }}">
  16.         {# <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&amp;display=swap"> #}
  17.         <!-- fontawesome -->
  18.         <link
  19.         rel="stylesheet" href="{{ asset('fontawesome/css/all.css') }}"> <!-- favicon -->
  20.         <link rel="shortcut icon" href="{{ asset('favicon.ico') }}">
  21.         <link rel="apple-touch-icon" href="{{ asset('smarty/images/hab.png') }}">
  22.         {%- block css -%}
  23.     {%- endblock -%}
  24.     {# <link rel="manifest" href="{{ asset('eventos_manifest.json') }}"> #}
  25.     <meta name="theme-color" content="#377dff">
  26.     <style>
  27.         body {
  28.             color: #777;
  29.             margin: 0;
  30.             /* background: url("{{ asset('pe.jpg') }}"); */
  31.             /*    background-color: coral;*/
  32.             background-repeat: no-repeat;
  33.             background-size: 100% 100%;
  34.         }
  35.         #footer2 {
  36.             width: 100%;
  37.             height: 100px;
  38.             background-color: black;
  39.             border-top: 0 solid #E0E0E0;
  40.             position: absolute;
  41.             bottom: 0;
  42.             left: 0;
  43.             text-align: center;
  44.         }
  45.         .br2 {
  46.             display: block;
  47.             margin-bottom: 0;
  48.         }
  49.         /* @media print {
  50.             body * {
  51.             visibility: show;
  52.             size:landscape;
  53.             }
  54.           }
  55.          */
  56.         @page {
  57.             size: auto;
  58.         }
  59.     </style>
  60. </head>
  61. <body class="header bg-light">
  62.     <div
  63.         id="wrapper">
  64.         <!-- HEADER -->
  65.         <header id="header" class="shadow-xs bg-gradient-dark">
  66.             <!-- NAVBAR -->
  67.             {# <div class="container position-relative"> #}
  68.                 <div class="ml-2 mr-2 position-relative">                 {# <span class="badge fs--11 mb-3" >  </span>   #}
  69.             </div>
  70.             <!-- /NAVBAR -->
  71.         </header>
  72.         <!-- /HEADER -->
  73.         {%- block body -%}
  74.         <div class="heading-title heading-border mb-20">
  75.             <div class="position-absolute end-0">
  76.                 <a class="btn btn-primary btn-sm" href="{{ asset('videos/plan-marco-2023.mp4') }}" type="video/mp4" target="_blank">
  77.                     <small>
  78.                         Assista o vídeo com a novidade de Março de 2023</small>
  79.                 </a>
  80.                 <br>
  81.                 <a class="btn btn-primary btn-sm" href="{{ asset('videos/plan-julho-2023.mp4') }}" type="video/mp4" target="_blank">
  82.                 <small>
  83.                         Assista o vídeo com a novidade de Julho de 2023</small>
  84.                 </a>
  85.                 <br>
  86.         <video id="videoPlayer" width="620" height="440" controls>
  87.             <source src="{{ asset('videos/plan-julho-2023.mp4') }}" type="video/mp4">
  88.             Seu navegador não suporta reproduzir vídeos.
  89.         </video>
  90.             </div>
  91.         </div>
  92.     {%- endblock -%}
  93.     {#
  94.         style="color:white;"
  95.         <footer id="footer2" class="footer-dark shadow-xs bg-gradient-dark">
  96.         <div class="bg-distinct py-3 clearfix ">
  97.         <div class="fs--14 py-2 float-start float-none-xs m-0-xs">
  98.         Copyright  &copy; {{ sanctus.parameters.instituicaoSigla }}-{{ sanctus.parameters.instituicao}} - CNPJ: {{ sanctus.parameters.cnpj}} ,
  99.         Todos os direitos reservados.  By: <span class="text-gray-200 "><a href="https://sanctus.net.br" target="_blank" class="text-bold-800 grey darken-2"> Sanctus </a></span>
  100.     
  101.         </div>
  102.         </div>
  103.         </footer>
  104.         #}
  105.     {#
  106.         <footer id="footer" class="footer-dark sticky">
  107.     
  108.     
  109.         <div class="bg-distinct py-3 clearfix ">
  110.     
  111.         <div class="container clearfix font-weight-light text-center-xs">
  112.     
  113.         <div class="fs--14 py-2 float-start float-none-xs m-0-xs">
  114.         Copyright  &copy; {{ sanctus.parameters.instituicaoSigla }}-{{ sanctus.parameters.instituicao}} - CNPJ: {{ sanctus.parameters.cnpj}} , Todos os direitos reservados.  By: <span class="text-gray-200 "><a href="https://sanctus.net.br" target="_blank" class="text-bold-800 grey darken-2"> Sanctus </a></span>
  115.         </div>
  116.     
  117.         </div>
  118.         </div>
  119.     
  120.         </footer> #}
  121. </div>
  122. <!-- /#wrapper -->
  123. <script></script>
  124. <script src="{{ asset('smarty/js/core.min.js') }}"></script>
  125. <script src="{{ asset('smarty/js/vendor_bundle.min.js') }}"></script>
  126. <script>
  127.     $.SOW.config.sow__debug_enable = false;
  128.     // Obtém a referência do elemento de vídeo
  129.                 const videoPlayer = document.getElementById('videoPlayer');
  130.                 // Obtém a data atual
  131.                 const currentDate = new Date().toISOString().split('T')[0];
  132.                 // Define a data de término desejada
  133.                 const endDate = '2023-07-15';
  134.                 // Verifica se a data atual é menor ou igual à data de término
  135.                 if (currentDate <= endDate) { // Se a data atual estiver dentro do limite, reproduz o vídeo
  136.                 videoPlayer.play();
  137.                 } else { // Se a data atual for posterior à data de término, exibe uma mensagem de vídeo expirado
  138.                 videoPlayer.style.display = 'none'; // Esconde o elemento de vídeo
  139.                 //alert('Aguarde em breve teremos novidades.');
  140.                 }
  141. </script>
  142. {%- block javascript -%}{%- endblock -%}</body></html>