@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> Roles (<span id="module_total_count"></span>)
                </div>
                <div class="pull-right">
                    <button type="button" data-toggle="modal" data-target="#addRoleModal" class="btn btn-primary"><i
                            class="fa fa-plus"></i> Add Role
                    </button>
                </div>
            </div>
            <div class="card-body">
                <div class="table-responsive">
                    <table id="rolesListTable" class="table table-bordered" style="width: 100%"></table>
                </div>
            </div>
        </div>
    </div>
</div>
@stop

@section('pageSpecificScripts')
@include('admin.roles.rolesListTemplate')
@include('admin.roles.modals.addRoleModal')
@include('admin.roles.modals.editRoleModal')
<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/js/app/rolesScript.js')}}?{{ app_version() }}"></script>
@stop