<div class="layout-nav">
    <div class="container-fluid">
        <div class="nav-control scrolling-tabs-container">
            <div class="fade-left">
                <i class="fa fa-angle-left"></i>
            </div>
            <div class="fade-right">
                <i class="fa fa-angle-right"></i>
            </div>
            <style>
                .admin-nav-links-fix {
                    display: flex;
                    text-align: center;
                    justify-content: center;
                    align-items: center;
                }
            </style>
            <ul class="nav-links scrolling-tabs admin-nav-links-fix">
                <li class=" {% if (nav_links_active == 'index') %} <?= 'active' ?>{% endif %}">
                    <a title="显示主程序信息，MasterlabSocket信息，PHP信息，Web服务器信息，数据库信息" href="/admin/main">
                        <i class="fa fa-info-circle"></i> <span>服务信息</span>
                    </a>
                </li>
                <li class=" {% if (nav_links_active == 'system') %} <?= 'active' ?>{% endif %}">
                    <a title="包含基础设置，时间设置，附件设置，安全设置，邮件配置，LDAP设置，缓存设置，操作日志，慢SQL查询" href="/admin/system"><i class="fa fa-cogs"></i> <span>系统设置</span>
                    </a>
                </li>
                <li class=" {% if (nav_links_active == 'user') %} <?= 'active' ?>{% endif %}">
                    <a title="所有的用户管理，包括添加、删除、修改、邀请" href="/admin/user"><i class="fa fa-user"></i> <span>用户管理</span>
                    </a>
                </li>
                <li class=" {% if (nav_links_active == 'project') %} <?= 'active' ?>{% endif %}">
                    <a title="项目的归档和删除" href="/admin/project">
                        <i class="fa fa-product-hunt"></i> <span>项目管理</span>
                    </a>
                </li>
                <li class=" {% if (nav_links_active == 'issue') %} <?= 'active' ?>{% endif %}">
                    <a title="事项的默认配置，包含：事项类型，事项类型方案，状态，状态流，状态流方案，解决结果，字段管理，界面自定义等" href="/admin/issue_type"><i class="fa fa-tasks"></i> <span>事项配置</span>
                    </a>
                </li>
                <li class=" {% if (nav_links_active == 'project_tpl') %} <?= 'active' ?>{% endif %}">
                    <a title=" " href="/admin/project_tpl"><i class="fa fa-bolt"></i> <span>项目模板</span>
                    </a>
                </li>
                <li class=" {% if (nav_links_active == 'plugin') %} <?= 'active' ?>{% endif %}">
                    <a title=" " href="/admin/plugin_manager"><i class="fa fa-plug"></i> <span>插件管理</span>
                    </a>
                </li>

                {% for plugin in _pluginArr %}
                    {% if plugin.type == _plugin_admin_type %}
                        <li class=" {% if (nav_links_active == plugin.name) %} <?= 'active' ?>{% endif %}">
                            <a title=" " href="/admin/plugin/<?=plugin.name?>"><img style="width:14px;height: 14px" src="<?=plugin.icon_file?>" /> <span><?=plugin.title?></span>
                            </a>
                        </li>
                    {% endif %}
                {% endfor %}
            </ul>
        </div>
    </div>
</div>

<style type="text/css">
    .admin_left_header{
        font-weight: bold;
        /*margin-left: 0px !important;*/
    }
</style>
