<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>商户统计系统</title>
    <link href="{{ asset('css/sb-admin-2.css') }}" rel="stylesheet" type="text/css"/>
     <link href="{{ asset('css/bootstrap.min.css') }}" rel="stylesheet" type="text/css"/>
      <link href="{{ asset('css/metisMenu.min.css') }}" rel="stylesheet" type="text/css"/>
       <link href="{{ asset('css/font-awesome.min.css') }}" rel="stylesheet" type="text/css"/>
       <link href="{{ asset('css/dataTables.bootstrap.css') }}" rel="stylesheet" type="text/css"/>
       <link href="{{ asset('css/dataTables.responsive.css') }}" rel="stylesheet" type="text/css"/>

    
</head>

<body>

    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="">CP后台管理系统 </a>
            </div>
            <!-- /.navbar-header -->

            <ul class="nav navbar-top-links navbar-right">
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li>
                            <a href="{{ url('/api/auth/modifyPasswordView') }}">修改密码</a>
                            <a href="{{ url('/logout') }}">退出</a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
                <!-- /.dropdown -->
            </ul>
            <!-- /.navbar-top-links -->

            <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">
                        <li>
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> CP结算<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li>
                                    <a href="/book/index">书籍列表</a>
                                    @if(session('cp_manage_auth') && session('cp_manage_auth') ==1)
                                        <a href="/book/except">统计结算的书籍</a>
                                        <a href="/calculate/index">公式结算</a>
                                        <a href="/manage/cplist">cp列表</a>
                                        <a href="/book/bookCpList">修改图书cp名</a>
                                        <a href="/book/cpDataStats">cp数据详情</a>
                                    @endif
                                </li>

                            </ul>
                        </li>
                    </ul>
                </div>

            </div>
        </nav>

        <div id="page-wrapper">
            <div class="container-fluid">
                @yield('content')
            </div>
            <!-- /.container-fluid -->
        </div>

        <!-- /#page-wrapper -->
    </div>
    <!-- /#wrapper -->
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script type="text/javascript" src="{{ asset('js/bootstrap.min.js') }}"></script>
    <script type="text/javascript" src="{{ asset('js/metisMenu.min.js') }}"></script>
    <script type="text/javascript" src="{{ asset('js/sb-admin-2.js') }}"></script>
    <script type="text/javascript" src="{{ asset('js/dataTables.bootstrap.min.js') }}"></script>
    <script type="text/javascript" src="{{ asset('js/jquery.dataTables.min.js') }}"></script>
    @stack('script')
</body>

</html>
