<?php $__env->startSection('titulo'); ?>
    <i class="fas fa-bullhorn"></i> Painel Chamada
<?php $__env->stopSection(); ?>

<?php $__env->startSection('css'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
    <script src='https://code.responsivevoice.org/responsivevoice.js'></script>
    <script src="<?php echo e(URL::asset('js/views/painel/chamada.js')); ?>" ></script>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('pagina'); ?>


<input id="hdnTextoChamada" type="hidden" value="<?php echo e($texto); ?>" />

<div id="conteudoPagina" class="container-fluid">
    <div class="card rounded text-left">
        <div class="card-body">
            <div class="row">
                <div class="col ml-2">
                    <button id="btnChamar" class="btn bg-success text-white"><i class="fas fa-play"></i> Iniciar Chamada</button>
                    <button id="btnPararChamada" class="btn bg-danger text-white d-none"><i class="fas fa-stop"></i> Parar Chamada</button>
                </div>
                <p id="txtAtualizacao" class="float-right pr-4"></p>
            </div>
        </div>
    </div>
    <div class="card mt-2">
        <div class="card-body">
            <div id="conteudoPagina" class="container-fluid">
                <div class="row">
                    <table id="tbListaChamada" class="table table-hover text-left">
                        <thead>
                            <th>#</th>
                            <th>Placa</th>
                            <th>Motorista</th>
                            <th>Destino</th>
                            <th>Cliente</th>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <br/>
</div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>