<div class="breadcrumb">
    <h1>Xcare Action Overview</h1>
    <ul>
        <li><a href="<?php echo SITE_URL.ADMIN_DIR ?>">Dashboard</a></li>
        <li>Action Overview</li>
    </ul>
</div>
<div class="separator-breadcrumb border-top"></div>

<div class="row mb-4">
    <div class="col-md-12 mb-4">
        <div class="card text-left">
            <div class="card-body">
                <div class="table-responsive">
                    <table id="actionOverviewTbl" class="display table table-striped table-bordered" style="width:100%">
                        <thead>
                            <tr>
                                <th>Status</th>
                                <th>Total Points</th>
                            </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="application/javascript">
$(document).ready(function() {
    $('#actionOverviewTbl').DataTable({ 
        "ajax": "xcareActionOverview.php?act=load",
        "processing": true,
        "serverSide": true,
        "paging": false,
        "searching": false,
        "ordering": false,
        "language": {
            "processing" : "<div class='loader-bubble loader-bubble-primary m-5'></div>",
            "sEmptyTable" :  "No records found."
        },
        "columns": [
            { "data": "status" },
            { "data": "total" }
        ]
    });
});
</script>
