<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            {% include 'nav_li_profile.html' %}
            <li>
               <a href="/"><i class="fa fa-th-large"></i> <span class="nav-label">仪表盘</span><span class="label label-info pull-right"></span></a>
              <!--<a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label">仪表盘</span> <span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="index.html">Dashboard v.1</a></li>
                    <li ><a href="dashboard_2.html">Dashboard v.2</a></li>
                    <li ><a href="dashboard_3.html">Dashboard v.3</a></li>
                </ul>-->
            </li>
            <li id="juser">
                <a href="#"><i class="fa fa-rebel"></i> <span class="nav-label">用户管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li id="dept_list"><a href="/juser/dept_list/">查看部门</a></li>
                    <li id="dept_add"><a href="/juser/dept_add/">添加部门</a></li>
                    <li id="group_list"><a href="/juser/group_list/">查看小组</a></li>
                    <li id="group_add"><a href="/juser/group_add/">添加小组</a></li>
                    <li id="user_list"><a href="/juser/user_list/">查看用户<span class="label {% ifequal user_active_num user_total_num %}label-primary {% else %}label-warning {% endifequal %}pull-right">{{ user_active_num }}/{{ user_total_num }}</span></a></li>
                    <li id="user_add"><a href="/juser/user_add/">添加用户</a></li>
                </ul>
            </li>
            <li id="jasset">
                <a><i class="fa fa-cube"></i> <span class="nav-label">资产管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li id="host_add"><a href="/jasset/host_add/">添加资产</a></li>
                    <li id="host_list"><a href="/jasset/host_list/">查看资产&nbsp&nbsp</span><span class="label label-info pull-right">16/18</span></a></li>
                    <li id="jgroup_add"><a href="/jasset/jgroup_add/">添加主机组</a></li>
                    <li id="jgroup_list"><a href="/jasset/jgroup_list/">查看主机组</a></li>
                    <li id="idc_add"><a href="/jasset/idc_add/">添加IDC</a></li>
                    <li id="idc_list"><a href="/jasset/idc_list/">查看IDC</a></li>
                </ul>
            </li>
            <li id="jperm">
                <a href="#"><i class="fa fa-edit"></i> <span class="nav-label">授权管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li id="perm_add">
                        <a href="/jperm/perm_add/">授权添加</a>
                    </li>
                    <li id="perm_list">
                        <a href="/jperm/perm_list/">授权查看</a>
                    </li>

                    <li id="sudo_add">
                        <a href="/jperm/sudo_add/">Sudo添加</a>
                    </li>
                    <li id="sudo_list">
                        <a href="/jperm/sudo_list/">Sudo查看</a>
                    </li>

                     <li id="cmd_add">
                        <a href="/jperm/cmd_add/">命令组添加</a>
                    </li>
                    <li id="cmd_list">
                        <a href="/jperm/cmd_list/">命令组查看</a>
                    </li>

                </ul>
            </li>
            <li id="jlog">
                <a href="#"><i class="fa fa-files-o"></i> <span class="nav-label">日志审计</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li id="log_list"><a href="/jlog/log_list/online/">查看日志</a></li>
                    <li id="log_detail"><a href="/jlog/log_detail/">日志分析</a></li>
                </ul>
            </li>
            <li>
                <a href="#"><i class="fa fa-download"></i> <span class="nav-label">上传下载</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="/file/upload/">文件上传</a></li>
                    <li><a href="/file/download/">文件下载</a></li>
                </ul>
            </li>

            <li class="special_link">
                <a href="http://www.jumpserver.org" target="_blank"><i class="fa fa-database"></i> <span class="nav-label">访问官网</span></a>
            </li>
        </ul>

    </div>
</nav>