
<!-- BEGIN: Content-->
<div class="app-content content">
    <div class="content-overlay"></div>
    <div class="header-navbar-shadow"></div>
    <div class="content-wrapper">
        <div class="content-header row">
        </div>
        <div class="content-body">
            <!-- Dashboard Analytics Start -->
            <section id="dashboard-analytics">

                <div class="row">

                    <div class="col-xl-3 col-md-12 col-sm-12">

                        <!-- Basic Tables start -->
                        <div class="row" id="basic-table">
                            <div class="col-12">
                                <div class="card">
                                    <div class="card-header">
                                        <h4 class="card-title">Room</h4>
                                    </div>
                                    <div class="card-content">
                                        <!-- Table with no outer spacing -->
                                        <div class="table-responsive">
                                            <table class="table mb-0">

                                                <tbody>
                                                    <tr>
                                                        <td><a href="#" onclick="viewRoom('student');" >Student / Subscribers</a> </td>
                                                    </tr>
                                                    <tr>
                                                        <td><a href="#"  onclick="viewRoom('room');" >Group / Classroom</a> </td>
                                                    </tr>
                                                    <tr>
                                                        <td><a href="#"  onclick="viewRoom('grading');" >Grades</a> </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!-- Basic Tables end -->
                    </div>
                    <div class="col-xl-9 col-md-6 col-sm-12">
                        <div class="card">
                            <div class="card-content">

                                <div id="share_detail">

                                </div>
                                <!-- div class="embed-responsive embed-responsive-item embed-responsive-16by9">
                                    <iframe class="img-thumbnail" src="https://www.youtube.com/embed/vTlSEMdC5qw" allowfullscreen></iframe>
                                </div-->

                            </div>
                        </div>
                    </div>


                </div>





            </section>
            <!-- Dashboard Analytics end -->

        </div>
    </div>
</div>
<!-- END: Content-->


<script type="text/javascript">
<!--

    function viewRoom(page_id) {

        $('#share_detail').html('Processing...');
        $('#acc' + page_id).prop('disabled', true);
        $.ajax({
            url: "/member/viewRoom?proc=PROCESS&page_id=" + page_id + "&mid=" + page_id
        }).done(function (data) {
            $('#share_detail').html(data);
            $('#acc' + page_id).prop('disabled', false);
        });
        return false;
    }

    function deletePageAction(member_id, page_id) {

        var x = confirm("Are you sure you want to delete?");
        if (!x)
            return true;


        $('#acc' + page_id).prop('disabled', true);
        $.ajax({
            url: "/member/deletePageAction?proc=PROCESS&page_id=" + page_id + "&member_id=" + member_id
        }).done(function (data) {
            $('#line_detail' + page_id).html(data);
            $('#acc' + page_id).prop('disabled', false);
        });
        return false;
    }

//initMap();
// -->
</script>