@extends('admin.index')
@section('head')
@parent
@endsection
@section('main-content')
<section class="content">
    <div class="content-header"></div>
    <div class="container-fluid">
        <div class="row">
            <div class="col-12 col-sm-6 col-md-3">
                <div class="info-box">
                    <span class="info-box-icon bg-info elevation-1"><i class="fa fa-database"></i></span>

                    <div class="info-box-content">
                        <span class="info-box-text">系统信息</span>
                        <span class="info-box-number">20GB/40GB</span>
                    </div>
                </div>
            </div>
            <div class="col-12 col-sm-6 col-md-3">
                <div class="info-box mb-3">
                    <span class="info-box-icon bg-danger elevation-1"><i class="fa fa-google-plus"></i></span>

                    <div class="info-box-content">
                        <span class="info-box-text">Likes</span>
                        <span class="info-box-number">41,410</span>
                    </div>
                </div>
            </div>
            <div class="clearfix hidden-md-up"></div>
            <div class="col-12 col-sm-6 col-md-3">
                <div class="info-box mb-3">
                    <span class="info-box-icon bg-success elevation-1"><i class="fa fa-shopping-cart"></i></span>

                    <div class="info-box-content">
                        <span class="info-box-text">Sales</span>
                        <span class="info-box-number">760</span>
                    </div>
                </div>
            </div>
            <div class="col-12 col-sm-6 col-md-3">
                <div class="info-box mb-3">
                    <span class="info-box-icon bg-warning elevation-1"><i class="fa fa-users"></i></span>

                    <div class="info-box-content">
                        <span class="info-box-text">新用户</span>
                        <span class="info-box-number">20</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="card">
                    <div class="card-header">
                        <h5 class="card-title">发布统计</h5>
                        <div class="card-tools">
                            <button type="button" class="btn btn-tool" data-widget="collapse">
                                <i class="fa fa-minus"></i>
                            </button>
                            <button type="button" class="btn btn-tool" data-widget="remove">
                                <i class="fa fa-times"></i>
                            </button>
                        </div>
                    </div>
                    <div class="card-body">
                        <div class="row" id="index-statistic" style="width:100%;min-height:400px;"></div>
                    </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="card">
                        <div class="card-header">
                            <h5 class="card-title">最新发布记录</h5>
                            <div class="card-tools">
                                <button type="button" class="btn btn-tool" data-widget="collapse">
                                    <i class="fa fa-minus"></i>
                                </button>
                                <button type="button" class="btn btn-tool" data-widget="remove">
                                    <i class="fa fa-times"></i>
                                </button>
                            </div>
                        </div>
                        <div class="card-body">
                            <div class="table-responsive">
                                <table class="table m-0">
                                    <thead>
                                    <tr>
                                        <th>应用</th>
                                        <th>分类</th>
                                        <th>标题</th>
                                        <th>浏览量</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr>
                                        <td><span class="badge badge-success">文档</span></td>
                                        <td>美食美篇</td>
                                        <td>小龙虾多吃无益</td>
                                        <td>
                                            <div class="sparkbar" data-color="#00a65a" data-height="20">20</div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><span class="badge badge-info">专题</span></td>
                                        <td>周末乐翻天</td>
                                        <td>芜湖方特主题活动</td>
                                        <td>
                                            <div class="sparkbar" data-color="#00a65a" data-height="20">199</div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><span class="badge badge-success">文档</span></td>
                                        <td>美食美篇</td>
                                        <td>榴莲适合熬粥</td>
                                        <td>
                                            <div class="sparkbar" data-color="#00a65a" data-height="20">110</div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><span class="badge badge-warning">图集</span></td>
                                        <td>好客山东</td>
                                        <td>蓬莱仙境美如画</td>
                                        <td>
                                            <div class="sparkbar" data-color="#00a65a" data-height="20">20</div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><span class="badge badge-warning">图集</span></td>
                                        <td>好客山东</td>
                                        <td>蓬莱仙境美如画2</td>
                                        <td>
                                            <div class="sparkbar" data-color="#00a65a" data-height="20">20</div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><span class="badge badge-warning">图集</span></td>
                                        <td>好客山东</td>
                                        <td>蓬莱仙境美如画3</td>
                                        <td>
                                            <div class="sparkbar" data-color="#00a65a" data-height="20">20</div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><span class="badge badge-danger">视频</span></td>
                                        <td>体育天下</td>
                                        <td>国足何时再临世界杯？</td>
                                        <td>
                                            <div class="sparkbar" data-color="#00a65a" data-height="20">99</div>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    <div class="container-fluid">
        <div class="card">
            <div class="card-header border-transparent">
                <h3 class="card-title">系统操作日志</h3>

                <div class="card-tools">
                    <button type="button" class="btn btn-tool" data-widget="collapse">
                        <i class="fa fa-minus"></i>
                    </button>
                    <button type="button" class="btn btn-tool" data-widget="remove">
                        <i class="fa fa-times"></i>
                    </button>
                </div>
            </div>
            <div class="card-body p-0">
                <div class="table-responsive">
                    <table class="table m-0">
                        <thead>
                        <tr>
                            <th>编号</th>
                            <th>用户</th>
                            <th>行为</th>
                            <th>状态</th>
                            <th>时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>10</td>
                            <td>张三</td>
                            <td>微信调用</td>
                            <td>成功</td>
                            <td>06/01 10:12</td>
                            <td>
                                <span class="badge badge-success">详情</span>
                            </td>
                        </tr>
                        <tr>
                            <td>9</td>
                            <td>张三</td>
                            <td>微信调用</td>
                            <td>成功</td>
                            <td>06/01 10:12</td>
                            <td>
                                <span class="badge badge-success">详情</span>
                            </td>
                        </tr>
                        <tr>
                            <td>8</td>
                            <td>张三</td>
                            <td>微信调用</td>
                            <td>成功</td>
                            <td>06/01 10:12</td>
                            <td>
                                <span class="badge badge-success">详情</span>
                            </td>
                        </tr>
                        <tr>
                            <td>7</td>
                            <td>张三</td>
                            <td>微信调用</td>
                            <td>成功</td>
                            <td>06/01 10:12</td>
                            <td>
                                <span class="badge badge-success">详情</span>
                            </td>
                        </tr>
                        <tr>
                            <td>6</td>
                            <td>张三</td>
                            <td>微信调用</td>
                            <td>成功</td>
                            <td>06/01 10:12</td>
                            <td>
                                <span class="badge badge-success">详情</span>
                            </td>
                        </tr>
                        <tr>
                            <td>5</td>
                            <td>张三</td>
                            <td>微信调用</td>
                            <td>成功</td>
                            <td>06/01 10:12</td>
                            <td>
                                <span class="badge badge-success">详情</span>
                            </td>
                        </tr>
                        <tr>
                            <td>4</td>
                            <td>张三</td>
                            <td>微信调用</td>
                            <td>成功</td>
                            <td>06/01 10:12</td>
                            <td>
                                <span class="badge badge-success">详情</span>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <!-- /.table-responsive -->
            </div>
        </div>
    </div>
</section>
@section('script')
@parent
<script src="static/js/echarts/echarts.common.min.js"></script>
<script src="static/js/index/index.js"></script>
@endsection
@endsection