@extends('adminlte::page')

@section('title', 'Cargar Excel')


@section('content')
    <div style="display:none;" id="loader"></div>
    <div id="DivPrincipal">
        <form id="cargaexcel_form" method="post" enctype="multipart/form-data "
            action="{{ url('/admin/grabarsociosexcel') }}">
            @csrf
            <div class="container-fluid p-2">
                <div class="row">
                    <!-- left column -->
                    <div class="col-md-6">
                        <h1><i class="fa fa-th" aria-hidden="true"></i>Cargar Socios Excel</h1>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-11" id="grupo__accion">
                        <div class="float-right">
                            <button type="submit" class="btn btn-info toastrDefaultSuccess" id="btn_Grabar"
                                name="btn_Grabar"> <i class="fas fa-save">
                                    Grabar</i></button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row justify-content-center">
                <!-- left column -->
                <div class="col-md-10">
                    <!-- general form elements -->
                    <div class="card card-success" id="my-card">
                        <div class="card-header bg-warning ">
                            <h3 class="card-title font-weight-bold">Adjuntar Archivo</h3>
                        </div>
                        <div class="card-body">
                            <input name="_token" type="hidden" class="form-control" name='_token' id="_token"
                                value="{{ csrf_token() }}">
                            <div class="form-group">
                                <label for="exampleInputFile">Archivo Socios</label>
                                <div class="input-group">
                                    <div class="custom-file">
                                        <input type="file" class="custom-file-input" accept=".xlsx" name='select_file'
                                            id="select_file">
                                        <label class="custom-file-label" for="exampleInputFile">Seleccionar</label>
                                    </div>

                                </div>
                            </div>

                        </div>
                    </div>
                </div>

            </div>
        </form>
    </div>
@stop

@section('css')
    <link rel="stylesheet" href="{{ asset('css\Loaders\loader.css') }}">
@stop

@section('js')
    <script src="{{ asset('js\mantenimientos\socio\create_data_excel.js') }}"></script>
@stop
