<!DOCTYPE html>
<html>
@include('admin.common.commonMedia')

<body>

<!--====================================================
                         MAIN NAVBAR
======================================================-->
@include('admin.common.header')

<!--====================================================
                        PAGE CONTENT
======================================================-->
<div class="page-content d-flex align-items-stretch">

    <!--***** SIDE NAVBAR *****-->
    @include('admin.common.left')

    <div class="content-inner">

        <div class="row" id="report4">

            <div class="col-md-3" onclick="important_task('/web/pending_news')">
                <div class="card text-center social-bottom sb-gp">
                    <i class="fa fa-google-plus"></i>
                    <div>0 </div>
                    <p>我的待办</p>
                </div>
            </div>

            <div class="col-md-3">
                <div class="card text-center social-bottom sb-fb">
                    <i class="fa fa-facebook"></i>
                    <div>100 +</div>
                    <p>普通会员</p>
                </div>
            </div>
            <div class="col-md-3">
                <div class="card text-center social-bottom sb-tw">
                    <i class="fa fa-twitter"></i>
                    <div>100 +</div>
                    <p>管理员</p>
                </div>
            </div>

            <div class="col-md-3">
                <div class="card text-center social-bottom sb-in">
                    <i class="fa fa-instagram"></i>
                    <div>500 +</div>
                    <p>已发布新闻</p>
                </div>
            </div>

        </div>

    <!--***** REPORT-2 *****-->
        <div class="row" id="report2">
            <div class="col-md-6">
                <div class="card card-c1">
                    <div class="card-header card-chart" data-background-color="green">
                        <canvas class="ct-chart" id="myChart1" height="190"></canvas>
                    </div>
                    <div class="card-content">
                        <h4 class="title">Daily Sales</h4>
                        <p class="category">
                            <span class="text-success"><i class="fa fa-long-arrow-up"></i> 55% </span> increase in today sales.</p>
                    </div>
                    <div class="card-footer">
                        <div class="stats">
                            <i class="fa fa-clock-o"></i> updated 4 minutes ago
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-6">
                <div class="card card-c1">
                    <div class="card-header card-chart" data-background-color="orange">
                        <canvas class="ct-chart" id="myChart2" height="190"></canvas>
                    </div>
                    <div class="card-content">
                        <h4 class="title">Email Subscriptions</h4>
                        <p class="category">Last Campaign Performance</p>
                    </div>
                    <div class="card-footer">
                        <div class="stats">
                            <i class="fa fa-clock-o"></i> campaign sent 2 days ago
                        </div>
                    </div>
                </div>
            </div>

        </div>

    </div>
</div>

<!--Global Javascript -->
@include('admin.common.foot')

<!--Core Javascript -->
<script src="{{ asset('xadmin/js/mychart.js')}}"></script>
<script>
    function important_task(url){
        window.location.href = url;

    }
</script>
</body>

</html>