<!DOCTYPE html>
<html lang="zh">
<head>
    <@meta/>
	<title>组织机构管理</title>
    <#include "admin/common/include_hplus.ftl">
    <#include "admin/common/include_table.ftl">
	<script src="<@contextPath/>/templates/admin/framework/system/organization/js/list.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>

                        <script type="text/html" id="tableRowToolbar">
                            <a class="btn btn-xs btn-white" data-event="view">查看</a>
                            <@shiro.hasPermission name="SysOrganization_Edit">
                            <a class="btn btn-xs btn-primary" data-event="edit">编辑</a>
                            </@shiro.hasPermission>
                            <@shiro.hasPermission name="SysOrganization_Power">
                                <a class="btn btn-xs btn-success" data-event="power">权限</a>
                            </@shiro.hasPermission>
                        </script>

                        <div class="btn-group" id="tableEventsToolbar" role="group">
                            <@shiro.hasPermission name="SysOrganization_Add">
                            <button type="button" class="btn btn-outline btn-default" onclick="AppOrganization.add()">
                                <i class="fa fa-plus" aria-hidden="true"></i> 添加
                            </button>
                            </@shiro.hasPermission>
                        </div>
                        <table id="tableEvents" data-mobile-responsive="true">
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
