<!DOCTYPE html>
<html lang="zh">
<head>
	<@meta/>
	<title>资源管理</title>
	<#include "admin/common/include_hplus.ftl">
	<#include "admin/common/include_table.ftl">
	<#include "admin/common/include_ztree.ftl">
	<script src="<@contextPath/>/templates/admin/framework/system/module/js/main.js" type="text/javascript"></script>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox ">
				<div class="ibox-content">
					<h3>${module.name}<input type="hidden" id="moduleId" value="${module.oid}"></h3>

					<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
						<tr>
							<td id="module_tree_id" width="250" valign="top">
								<ul class="ztree"></ul>
							</td>
							<td valign="top" style="padding-left:10px;border-left: 1px solid #e5e5e5;">
								<script type="text/html" id="tableRowToolbar">
									{{if mtype == 1}}
									<a class="btn btn-xs btn-primary" data-event="edit">编辑</a>
									{{/if}}
									<a class="btn btn-xs btn-danger" data-event="del">删除</a>
								</script>

								<div class="btn-group" id="tableEventsToolbar" role="group">
									<button type="button" class="btn btn-outline btn-default" onclick="AppModule.add()">
										<i class="fa fa-plus" aria-hidden="true"></i> 添加
									</button>
									<button type="button" class="btn btn-outline btn-default" onclick="AppModule.batchDelete()">
										<i class="fa fa-trash" aria-hidden="true"></i> 删除
									</button>
								</div>
								<table id="tableEvents" data-mobile-responsive="true">
								</table>
							</td>
						</tr>
					</table>

				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>
