<!--左侧菜单栏-->
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                @if($user->thumb == ' '||$user->thumb==null)
                    <img src="{{asset('img/arr.jpg')}}" class="img-circle" alt="User Image">
                @else
                    <img src="{{asset($user->thumb)}}" class="img-circle" alt="User Image">
                @endif            </div>
            <div class="pull-left info">
                <p>{{ $role->display_name }}</p>
                <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
            </div>
        </div>

        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu">
            <li class="header">菜单栏</li>
            <li class="treeview
            @if(Request::url()==url('/table/statistics/1')||Request::url()==url('/table/statistics/2')||Request::url()==url('/table/statistics/3')||
                    Request::url()==url('/table/statistics/4')||Request::url()==url('/table/statistics/5')||Request::url()==url('/table/statistics/6')||
                    Request::url()==url('/table/statistics/7')||Request::url()==url('/table/statistics/8')||Request::url()==url('/table/statistics/9'))
                    active
                    @endif
            ">
                <a href="#">
                    <i class="fa fa-home"></i>
                    <span>信息统计</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>
                <ul class="treeview-menu">
                    <li class="
                    @if(Request::url()==url('table/statistics/1'))
                            active
                            @endif
                    ">
                        <a href="{{ url('/table/statistics/1') }}"><i class="fa fa-circle-o"></i>安置单(货币化安置)</a>
                    </li>
                    <li class="
                    @if(Request::url()==url('table/statistics/2'))
                            active
                            @endif
                    ">
                        <a href="{{ url('/table/statistics/2') }}"><i class="fa fa-circle-o"></i>违章建筑自行拆除费用申领表</a>
                    </li>
                    <li class="
                    @if(Request::url()==url('table/statistics/3'))
                            active
                            @endif
                    ">
                        <a href="{{ url('/table/statistics/3') }}"><i class="fa fa-circle-o"></i>残疾人房征补贴审批确认单</a>
                    </li>
                    <li class="
                    @if(Request::url()==url('table/statistics/4'))
                            active
                            @endif
                    ">
                        <a href="{{ url('/table/statistics/4') }}"><i class="fa fa-circle-o"></i>房屋征收提前搬迁奖励单</a>
                    </li>
                    <li class="
                    @if(Request::url()==url('table/statistics/5'))
                            active
                            @endif
                    ">
                        <a href="{{ url('/table/statistics/5') }}"><i class="fa fa-circle-o"></i>逾期过渡安置补助费发放单</a>
                    </li>
                    <li class="
                    @if(Request::url()==url('table/statistics/6'))
                            active
                            @endif
                    ">
                        <a href="{{ url('/table/statistics/6') }}"><i class="fa fa-circle-o"></i>房屋征收安置补贴单</a>
                    </li>
                    <li class="
                    @if(Request::url()==url('table/statistics/7'))
                            active
                            @endif
                    ">
                        <a href="{{ url('/table/statistics/7') }}"><i class="fa fa-circle-o"></i>核算单（货币化安置）</a>
                    </li>
                    <li class="
                    @if(Request::url()==url('table/statistics/8'))
                            active
                            @endif
                    ">
                        <a href="{{ url('/table/statistics/8') }}"><i class="fa fa-circle-o"></i>核算单（产权调换）</a>
                    </li>
                    <li class="
                    @if(Request::url()==url('table/statistics/9'))
                            active
                            @endif
                    ">
                        <a href="{{ url('/table/statistics/9') }}"><i class="fa fa-circle-o"></i>核算单（货币补偿）</a>
                    </li>
                </ul>
            </li>
            <li class="treeview
            @if(Request::url()==url('/table/1')||Request::url()==url('/table/2')||Request::url()==url('/table/3')||
                    Request::url()==url('/table/4')||Request::url()==url('/table/5')||Request::url()==url('/table/6')||
                    Request::url()==url('/table/7')||Request::url()==url('/table/8')||Request::url()==url('/table/9')||
                    Request::url()==url('/on_table'))
                    active
                    @endif">
                <a href="#">
                    <i class="fa fa-files-o"></i>
                    <span>项目申请</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>
                <ul class="treeview-menu">
                    <li class="
                    @if(Request::url()==url('/table/1')||Request::url()==url('/table/2')||Request::url()==url('/table/3')||
                    Request::url()==url('/table/4')||Request::url()==url('/table/5')||Request::url()==url('/table/6')||
                    Request::url()==url('/table/7')||Request::url()==url('/table/8')||Request::url()==url('/table/9'))
                            active
                    @endif
                    "><a href="{{ url('/table') }}"><i class="fa  fa-file-text-o"></i>受理案件
                            <i class="fa fa-angle-left pull-right"></i></a>
                        <ul class="treeview-menu">
                            <li class="@if(Request::url()==url('/table/1'))
                                    active
                                    @endif"><a href="{{ url('/table/1') }}"><i class="fa fa-circle-o"></i>安置单(货币化安置)</a></li>
                            <li class="@if(Request::url()==url('/table/2'))
                                    active
                                    @endif"><a href="{{ url('/table/2') }}"><i class="fa fa-circle-o"></i>违章建筑自行拆除费用申领表</a></li>
                            <li class="@if(Request::url()==url('/table/3'))
                                    active
                                    @endif"><a href="{{ url('/table/3') }}"><i class="fa fa-circle-o"></i>残疾人房征补贴审批确认单</a></li>
                            <li class="@if(Request::url()==url('/table/4'))
                                    active
                                    @endif"><a href="{{ url('/table/4') }}"><i class="fa fa-circle-o"></i>房屋征收提前搬迁奖励单</a></li>
                            <li class="@if(Request::url()==url('/table/5'))
                                    active
                                    @endif"><a href="{{ url('/table/5') }}"><i class="fa fa-circle-o"></i>逾期过渡安置补助费发放单</a></li>
                            <li class="@if(Request::url()==url('/table/6'))
                                    active
                                    @endif"><a href="{{ url('/table/6') }}"><i class="fa fa-circle-o"></i>房屋征收安置补贴单</a></li>
                            <li class="@if(Request::url()==url('/table/7'))
                                    active
                                    @endif"><a href="{{ url('/table/7') }}"><i class="fa fa-circle-o"></i>核算单（货币化安置）</a></li>
                            <li class="@if(Request::url()==url('/table/8'))
                                    active
                                    @endif"><a href="{{ url('/table/8') }}"><i class="fa fa-circle-o"></i>核算单（产权调换）</a></li>
                            <li class="@if(Request::url()==url('/table/9'))
                                    active
                                    @endif"><a href="{{ url('/table/9') }}"><i class="fa fa-circle-o"></i>核算单（货币补偿）</a></li>
                        </ul>
                    </li>
                    <li class="
                    @if(Request::url()==url('/on_table'))
                     active
                    @endif
                    "><a href="{{ url('/on_table') }}"><i class="fa fa-circle-o"></i>待办案件</a></li>

                </ul>
            </li>
            <li class="treeview
            @if(Request::url()==url('/search/show'))
                    active
                    @endif
            ">
                <a href="{{ url('/search/show') }}">
                    <i class="fa  fa-search"></i>
                    <span>案件追踪</span>
                </a>
            </li>
            <li class="treeview
            @if(Request::url()==url('/user_list') ||Request::url()== url('/job') ||Request::url()== url('/project')||Request::url()==url('/department') )
               active
            @endif
            ">
                <a href="#">
                    <i class="fa fa-cogs"></i>
                    <span>系统设置</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>
                <ul class="treeview-menu">
                    <li class="
                    @if(Request::url()==url('/user_list')||Request::url()==url('/user/create')||Request::url()==url('/user/{id}/edit'))
                            active
                            @endif
                    "><a href="{{ url('/user_list') }}">
                            <i class="fa fa-circle-o"></i>
                            <span>用户管理</span></a>
                    </li>
                    <li class="
                    @if(Request::url()==url('/job')||Request::url()==url('/job/create')||Request::url()==url('/job/{id}/edit'))
                    active
                    @endif
                    "><a href="{{ url('/job') }}">
                            <i class="fa fa-circle-o"></i>
                            <span>职位管理</span>
                        </a>
                    </li>
                    <li class="
                    @if(Request::url()==url('/project')||Request::url()==url('/project/create')||Request::url()==url('/project/{id}/edit'))
                            active
                            @endif
                    "><a href="{{ url('/project') }}">
                            <i class="fa fa-circle-o"></i>
                            <span>项目管理</span>
                        </a>
                    </li>
                    <li class="
                    @if(Request::url()==url('/department')||Request::url()==url('/department/create')||Request::url()==url('/department/{id}/edit'))
                            active
                            @endif
                    "><a href="{{ url('/department') }}">
                            <i class="fa fa-circle-o"></i>
                            <span>机构管理</span>
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>