@extends('admin.layouts.app')
@section('contentSection')
    <div class="row">
        <div class="col-lg-12">
            <div class="card">
                <div class="card-header">
                    <div class="pull-left"><i class="fa fa-table"></i> Admins (<span id="module_total_count"></span>)</div>
                    <div class="pull-right">
{{--                        <button type="button" id="trash-btn" data-toggle="modal" data-target="#trashedAdminModal"--}}
{{--                                class="btn btn-danger"><i class="fa fa-trash"></i> View trashed--}}
{{--                        </button>--}}
                        <button type="button" data-toggle="modal" data-target="#addAdminModal"
                                class="btn btn-primary"><i class="fa fa-plus"></i> Add Admin
                        </button>
                    </div>
                </div>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="adminsListTable" class="table table-bordered" style="width: 100%"></table>
                    </div>
                </div>
{{--                <div class="card-footer f_custom_card_footer" style="display: none">--}}
{{--                    <div class="row">--}}
{{--                        <div class="col-lg-3">--}}
{{--                            <select class="form-control select-st" id="bulk_actions">--}}
{{--                                <option value="">Actions</option>--}}
{{--                                <option value="delete_bulk">Delete</option>--}}
{{--                            </select>--}}
{{--                        </div>--}}
{{--                        <div class="col-lg-6">--}}
{{--                            <button type="button" id="apply_bulk_actions_btn" class="btn btn-success"><i class="fa fa-check"></i>Apply</button>--}}
{{--                            <span id="bulk_actions_error" style="color: red; display: none"></span>--}}
{{--                        </div>--}}
{{--                    </div>--}}
{{--                </div>--}}
            </div>
        </div>
    </div><!-- End Row-->
@stop

@section('pageSpecificScripts')
    @include('admin.admins.adminsListTemplate')
    @include('admin.admins.adminRolesListTemplate')
    @include('admin.admins.modals.emailModal')
    @include('admin.admins.modals.addAdminModal')
    @include('admin.admins.modals.editAdminModal')
    @include('admin.admins.modals.rolesListModal')
    <script src="{{asset('back_assets/assets/plugins/bootstrap-datatable/js/jquery.dataTables.min.js')}}"></script>
    <script src="{{asset('back_assets/assets/plugins/bootstrap-datatable/js/dataTables.bootstrap4.min.js')}}"></script>
    <script src="{{asset('back_assets/assets/plugins/bootstrap-select/js/bootstrap-select.min.js')}}"></script>
    <script src="{{asset('back_assets/assets/js/app/adminsScript.js')}}?{{ app_version() }}"></script>
@stop
