<nav class="navbar navbar-expand-lg navbar-dark bg-cdark rounded">
    <div class="container-fluid">
        <button class="navbar-toggler collapsed" type="button" data-toggle="collapse"
            data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse mb-" id="bs-example-navbar-collapse-1">
            <form class="navbar-form navbar-left" style="width: 100%;" id="form-caleneval">
                <div class="row">
                    {{ $existe = '' }}
                    <div class="col-md-6 col-sm-12">
                        @if (array_key_exists('periodo', $data))
                            @php
                                $existe = $data['periodo'];
                            @endphp
                        @endif
                        <input type="text" id="f_periodo" name="f_periodo" class="form-control form-control-sm"
                            placeholder="Periodo" value="{{ $existe }}">
                    </div>
                    <div class="col-md-6 col-sm-12 text-center">
                        <button type="button" class="btn btn-sm btn-info" data-toggle="tooltip" data-placement="top"
                            title="" data-original-title="Buscar" form="form-caleneval"
                            onclick="filtro_caleneval(this.form)"><i class="fa fa-search"></i></button>
                        <a href="/exportarCalendarizacionesPdf?periodo={{ $existe }}"><button type="button"
                                class="btn btn-sm btn-danger" data-toggle="tooltip" data-placement="top" title=""
                                data-original-title="Descargar PDF"><i class="fa fa-file-pdf-o"></i></button></a>
                        <a href="/exportarCalendarizacionesExcel?periodo={{ $existe }}"><button type="button"
                                class="btn btn-sm btn-success" data-toggle="tooltip" data-placement="top" title=""
                                data-original-title="Descargar XLSX" form="form-caleneval"><i
                                    class="fa fa-file-excel-o"></i></button></a>
                        <button type="button" class="btn btn-sm btn-light" data-toggle="tooltip" data-placement="top"
                            title="" data-original-title="Limpiar" form="form-caleneval"
                            onclick="limpiar_caleneval()"><i class="fa fa-undo"></i></button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</nav>
