@extends('admin.index')
@section('head')
    @parent
@endsection
@section('main-content')
    <section class="content ">
        <div class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-sm-12">
                        <ol class="breadcrumb float-sm-left">
                            <li class="breadcrumb-item"><a href="/news/news">文档</a></li>
                            <li class="breadcrumb-item active">设置</li>
                        </ol>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-header d-flex p-0">
                        <ul class="nav nav-pills  p-2">
                            <li class="nav-item"><a class="nav-link active show" href="#sort_tab"
                                                    data-toggle="tab">分类设置</a></li>
                            <li class="nav-item"><a class="nav-link" href="#tab_2" data-toggle="tab">发布设置</a></li>
                            <li class="nav-item"><a class="nav-link" href="#tab_3" data-toggle="tab">审核设置</a></li>
                        </ul>
                    </div>
                    <div class="card-body">
                        <div class="tab-content">
                            <div class="tab-pane animated fadeIn active show" id="sort_tab">
                                <sort-component url="/news/sort" editable="true"></sort-component>
                            </div>
                            <div class="tab-pane animated fadeIn" id="tab_2">
                                //todo 发布设置
                            </div>
                            <div class="tab-pane animated fadeIn" id="tab_3">
                                //todo 审核设置
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
@section('script')
    @parent
    <script src="/static/js/common/component.js?vt={{time()}}"></script>
    <script src="/static/js/news/news_setting.js?vt={{time()}}"></script>
@endsection
@endsection