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

@section('pageSpecificScripts')
@include('admin.projects.projectsListTemplate')
@include('admin.projects.modals.addProjectModal')
@include('admin.projects.modals.editProjectModal')
<script src="{{ asset('back_assets/assets/plugins/summernote/dist/summernote-bs4.min.js') }}"></script>
<script src="{{ asset('back_assets/assets/plugins/bootstrap-select/js/bootstrap-select.min.js') }}"></script>
<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/projectsScript.js')}}?{{ app_version() }}"></script>
@stop