<?php $__env->startSection('content'); ?>
    <link href="<?php echo e(asset('css/bootstrap.css')); ?>" rel="stylesheet" id="bootstrap-css">
    <script src="<?php echo e(asset('js/bootstrap.js')); ?>"></script>
    <script src="<?php echo e(asset('js/jqueryBootstrap.js')); ?>">
    </script>
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript">
        google.charts.load('current', {
            'packages': ['corechart']
        });
        google.charts.setOnLoadCallback(drawChart);

        function drawChart() {

            var data = google.visualization.arrayToDataTable([
                ['Tipo', 'Solicitações'],
                <?php if(isset($dados)): ?>
                    <?php $__currentLoopData = $dados; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $dado): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php echo "['" . $dado->status . "', " . $dado->qtde . '],'; ?>

                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php echo "[' ', 0]"; ?>

                <?php endif; ?>
            ]);

            var options = {
                title: 'Status das solicitações atualmente'
            };

            var chart = new google.visualization.PieChart(document.getElementById('grafico'));

            chart.draw(data, options);
        }
    </script>

    <style>
        div.um {

            width: 250 px;
            height: 7.5em;

            background-color: #286fb6;

        }

    </style>


    <div class="row justify-content-center mt-20">
        <div class="col-lg-7">
            <div class="card">
                <article class="card-body">
                    <h4 class="card-title mb-4 mt-1 text-center"><b>Registre Sua Manifestação</b></h4>
                    <form method="POST" action="<?php echo e(route('login')); ?>">
                        <?php echo csrf_field(); ?>

                        <div class="form-group">

                            <label for="email" class="col-form-label text-md-right"><?php echo e(__('E-Mail')); ?></label>
                            <input id="email" type="email" class="form-control <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                name="email" value="<?php echo e(old('email')); ?>" required autocomplete="email" autofocus>

                            <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <span class="invalid-feedback" role="alert">
                                    <strong><?php echo e($message); ?></strong>
                                </span>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                        </div>

                        <div class="form-group">

                            <label for="password" class="col-form-label text-md-right"><?php echo e(__('Senha')); ?></label>
                            <input id="password" type="password"
                                class="form-control <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="password" required
                                autocomplete="current-password">

                            <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <span class="invalid-feedback" role="alert">
                                    <strong><?php echo e($message); ?></strong>
                                </span>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                        </div>
                        <div class="form-group row mb-0">
                            <div class="col-md-8 offset-md-4">
                                <button type="submit" class="btn btn-primary btn-hero">
                                    <?php echo e(__('Entrar')); ?>

                                </button>

                                <?php if(Route::has('password.request')): ?>
                                    <a class="btn btn-link" href="<?php echo e(route('password.request')); ?>">
                                        <?php echo e(__('Esqueceu a senha?')); ?>

                                    </a>
                                <?php endif; ?>
                            </div>
                        </div>
                    </form>
                    <hr>
                    <div class="row">
                        <div class="col-md-5">
                            <h4 class="text-center h4">Ainda não tenho Cadastro?</h4>
                            <center><a href="<?php echo e(url('/solicitante/create')); ?>"
                                    class="btn btn-outline-primary btn-lg">Cadastre-se</a></center>
                        </div>
                        <div class="col-md-1">
                            <canvas width="0" height="100" style="border:1px solid #ccc;"></canvas>
                        </div>
                        <div class="col-md-6">
                            <h4 class="text-center h4">Desejo fazer uma manifestação anônima</h4>
                            <center><a href="<?php echo e(url('/formularioAnonimo')); ?>"
                                    class="btn btn-outline-primary btn-lg">Manifestar-se anonimamente</a></center>
                        </div>
                    </div>
                </article>
            </div>
        </div>
       
    </div>
    <div class="row justify-content-center mt-20">
        <div class="alert alert-success h3 cor_olinda_amerelo_bg text-center col-lg-10" role="alert">
            <h4 class="alert-heading text-dark h4"><b>Olinda quer lhe ouvir!</b></h4>
            <p class=" text-dark h4">A manifestação é o direito sem ônus de expressar nas modalidades verbal ou escrita,
                podendo ser registrados elogios, sugestões, informações, reclamações ou denúncias quanto aos serviços
                prestados pelo Município de Olinda.
                A sua identificação não é obrigatória, mas se quiser identificar-se, a Ouvidoria preservará o sigilo.</p>
        </div>
    </div>
    </div>
    <br>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('modelo.modelo', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\ouvidoria\resources\views/auth/login.blade.php ENDPATH**/ ?>