templates/frontend/visualisasi/detail.html.twig line 1

Open in your IDE?
  1. {% extends 'frontend/base.html.twig' %}
  2. {% block body %}
  3.     <div class="page-bar-hero is-detail" style="margin-top:75px;">
  4.         <div class="container d-flex align-items-center">
  5.             <div class="position-relative">
  6.                 <a href="{{ path('homepage') }}" class="btn btn-outline-light btn-sm fw-500 mb-3">
  7.                     <i class="bi bi-arrow-left-circle"></i>
  8.                     Beranda
  9.                 </a>
  10.                 <div class="title-infografik">Visualisasi</div>
  11.             </div>
  12.         </div>
  13.     </div>
  14.     <main>
  15.         <div class="pt-4 pb-5">
  16.             <div class="container">
  17.                 <div class="table table-responsive">
  18.                     <div class="mx-auto mb-4" style="top: 10px;">
  19.                         {{ visualisasi.isi | raw }}
  20.                         {# <iframe src="https://public.tableau.com/app/profile/sam.agsatu/viz/InfografisKunjungan/Kunjungan?:showVizHome=no&:embed=true" width="645" height="955"></iframe> #}
  21.                     </div>                
  22.                 </div>
  23.             </div>
  24.         </div>
  25.     </main>
  26.     <script type='text/javascript'>                    
  27.         var divElement = document.getElementById('viz1677652123262');                    
  28.         var vizElement = divElement.getElementsByTagName('object')[0];                    
  29.         vizElement.style.width='1169px';vizElement.style.height='4127px';                    
  30.         var scriptElement = document.createElement('script');                    
  31.         scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';                    
  32.         vizElement.parentNode.insertBefore(scriptElement, vizElement);                
  33.     </script>
  34. {% endblock %}