<?php $this->load->view('template/head_front.php'); ?>
<style>
    body {
        background: #ffffff !important;
    }
    .front-contenedor-logos {
        height:120px;
    }

    nav.top-menu {
        height:48px;
    }

    .logo-empresa-front img {
        width:29%;
    }

    .footer {
        top: 205% !important;
        }
    .info-user, .info-agencia {
        display:none;
    }
    .front-contenedor-logos {
        display:none;
    }
</style>

<script src="<?= base_url() ?>/assets/js/modules/informes/graficos.js"></script>
<body>
<?php $this->load->view('template/header.php'); ?>
    <div class="container" style="margin-top: 54px;">
        <div class="row">
        <div class="col-md-12 col-lg-12">
                <h3 style="text-align: center; margin: 10px 0 0 0;"><?= $titulo ?></h3>
        </div>
        </div>

        <div class="row">
        <br>  
        <div id="chartTorta"></div>
        </div>

        <div class="row" style="position:absolute; top:74px; color:#258e1d; width:100%; left:1%; text-align:center;">
        <h3>TOTAL:  PESO VOTACION <?= $total_participantes->peso_participantes ?> / PARTICIPANTES <?= $total_participantes->participantes ?></h3>
    
    </div>
        </div>

        <script src="<?= base_url() ?>assets/js/jquery-1.11.3.min.js"></script>
         <script>
         $(document).ready(function () {
            load = function() {
                $('#chartTorta').load('registros/grafico',function(){
                    load()
                });  
            }
        });

        $(function(){
            load()
        });
         </script>


