<div class="tpl-left-nav tpl-left-nav-hover">
	<div class="tpl-left-nav-title">
		<a href="./" class="kg-home">
			<span>KGCMS 企业应用管理系统</span>
			<i class="am-icon-home am-icon-md am-home " style="padding-left: 7px"></i>
		</a>
	</div>
	<div class="tpl-left-nav-list">
		<ul class="tpl-left-nav-menu">
			{%- for row in kg["admin_page"]["left_menu"] %}
			<li class="tpl-left-nav-item">
				<a href="javascript:;" class="nav-link tpl-left-nav-link-list {% if row['current'] %}active{% endif %}">
					<i class="{% if row['icon'] %}{{row['icon']}}{% else %}am-icon-cog{% endif %}"></i>
					<span>{{row['name']}}</span>
					<i class="am-icon-angle-right tpl-left-nav-more-ico am-fr {% if row['current'] %}tpl-left-nav-more-ico-rotate{% endif %}"></i>
				</a>
				{%- for var in row['submenu'] %}
				<ul class="tpl-left-nav-sub-menu" {% if row['current'] %}style="display: block;" {% endif %}>
					<li>
						<a href="{{var['page']}}" {% if var['current'] %}class="active" {% endif %}>
							<i class="am-icon-angle-right"></i>
							<span>{{var['name']}}</span>
							{%- if var['current'] %}
							<i class="am-icon-chevron-circle-right tpl-left-nav-content-ico am-fr am-margin-right"></i>
							{%- endif %}
						</a>
						{%- if var['plus'] %}
						<a class="am-icon-plus am-left-plus" href="{{var['page']|replace('manage','update')}}"></a>
						{%- endif %}
					</li>
				</ul>
				{%- endfor %}
			</li>
			{%- endfor %}
			<li class="tpl-left-nav-item">
				<a href="login?action=logout" class="nav-link tpl-left-nav-link-list">
					<i class="am-icon-key"></i>
					<span>退出登录</span>
				</a>
			</li>
		</ul>
	</div>
</div>