<?php $__env->startSection('GestionStation'); ?>
<style>
.bg-cronos{
background-color:#0b3544;
}
.btn-cronos{
background-color:#0b3544;
color:#ffff;
}
</style>
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">

                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                    </ol>
                </div>
            </div>
        </div><!-- /.container-fluid -->
    </section>


    <!-- Main content -->
    <section class="content">
        <div class="container-fluid">
            <!-- SELECT2 EXAMPLE -->
            <div class="card ">
                <div class="card-header bg-cronos">
                    <h2 class="card-title text-white">Gestion des stations</h2>
                    <div class="card-tools">
                    </div>
                </div>
                <!-- /.card-header -->
                <div class="card-body">
                    <a id="btnModalFormGestionStation" href="#modalFormGestionSation" class="btn btn-cronos text-white add" data-toggle="modal" data-backdrop="static" data-keyboard="false"><i class="fas fa-plus-circle"></i> <span>Ajouter une station</span></a>

                    <table class="table table-striped table-bordered table-hover" data-toolbar="#btnModalFormGestionStation" data-buttons-class="cronos" data-show-refresh="true" data-show-toggle="true" data-show-fullscreen="true" data-show-columns="true" data-show-columns-toggle-all="true" data-show-export="true" data-click-to-select="true" data-detail-view="true" data-detail-formatter="detailFormatter" data-toggle="table" data-url="route?getAllActualite" data-search="true" data-select-item-name="toolbar1" data-pagination="true" data-sort-name="name" data-page-size="10" data-sort-order="desc">
                        <thead>
                            <tr>
                                <th data-field="CodeStation" data-sortable="true">Code Station</th>
                                <th data-field="Designation" data-sortable="true">Désignation</th>
                                <th data-field="Localisation" data-sortable="true">Localisation</th>
                                <th data-field="Contacts" data-sortable="true">Contacts</th>
                                <th data-field="btn" data-halign="center" data-align="center">Actif</th>
                                <th data-formatter="actionFormatter" data-events="actionEvents">Action</th>
                            </tr>
                        </thead>
                    </table>
                </div>
                <!-- /.card-body -->
                <div class="card-footer"></div>
            </div>
            <!-- /.card -->


        </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
    <?php echo $__env->make('Admin.pages.File_GestionStation.deleteGestionStation', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php echo $__env->make('Admin.pages.File_GestionStation.editGestionStation', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php echo $__env->make('Admin.pages.File_GestionStation.addGestionStation', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>

 <!-- Modal-->



<?php $__env->startSection('script'); ?>
    <script>
 function actionFormatter(value, row, index) {
            return [
                '<a class="editGestionSation" style="color:blue" href="javascript:void(0)" title="Modifier">',
                '<i class="fas fa-edit" aria-hidden="true"></i>',
                '</a>',
                ' &nbsp &nbsp',
                '<a class="deleteGestionSation" style="color:red" href="javascript:void(0)" title="Supprimer">',
                '<i class="fas fa-trash" aria-hidden="true"></i>',
                '</a>'

            ].join('');
        }

        window.actionEvents = {
            'click .editGestionSation': function(e, value, row, index) {
         
            }
            'click .deleteGestionSation': function(e, value, row, index) {

            }
        }
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('Admin.pages.layout.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\Station\resources\views/Admin/pages/File_GestionStation/GestionStation.blade.php ENDPATH**/ ?>