@extends('admin::frame')

@section('pageTitle','后台首页')

@section('adminScript')
    @parent
    @include('admin::dashboardVersion')
@endsection

@section('bodyContent')

    @include('admin::dashboardDemo')

    <div class="uk-grid">
        <div class="uk-width-1-2">
            <div class="admin-block-stat">
                <div class="icon green">
                    <i class="uk-icon-users"></i>
                </div>
                <a class="number" href="{{action('\App\Admin\Controller\ArticleController@dataList')}}">
                    {{number_format(\EdwinFound\Laravel\Dao\ModelUtil::count('article'))}}
                </a>
                <div class="name">
                    帮助文档总数
                </div>
            </div>
        </div>
        <div class="uk-width-1-2">
            <div class="admin-block-stat">
                <div class="icon red">
                    <i class="uk-icon-list"></i>
                </div>
                <a class="number" href="{{action('\App\Admin\Controller\ArticleCategoryController@dataList')}}">
                    {{number_format(\EdwinFound\Laravel\Dao\ModelUtil::count('article_category'))}}
                </a>
                <div class="name">
                    帮助文档分类
                </div>
            </div>
        </div>
    </div>

    @include('admin::dashboardCopyright')

@endsection
