<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<%@include file="../../../../frame/assets/header-all.jsp"%>
<script type="text/javascript" src="ywvideotaskcatalog.js"></script>
<script type="text/javascript" src=""></script>
<style>
.toolBar {
	background: #F9FAF9;
	height: 32px;
	padding: 1px 1px;
	border-width: 0px;
	border-style: solid;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	border-rigth: 1px solid #ccc;
}
</style>
</head>
<!-- 设置高度,一行 44px,二行80,三行116-->
<body class="easyui-layout">
	<div data-options="region:'west',split:true" id='north' title="规则目录"
		style="height: 90%; width: 412px; background: #fff; overflow-y: auto; overflow-x: hidden">
		<div data-options="region:'north'">
			<div class="form-line clearfix">
				<!-- <div class='fl'>
						<span class="text-content">目录id：</span>
						<input class="easyui-textbox" id="LIKEcatalogid" data-options="validType:'length[0,40]'" >
					</div> -->
				<!-- <div class='fl'>
						<span class="text-content">目录名称：</span>
						<input class="easyui-textbox" id="LIKEcatalogname" data-options="validType:'length[0,40]'">
					</div> -->
				<div class='fl'>
					<span class="text-content">任务名称：</span> 
					<input class="easyui-textbox" id="LIKErulename" data-options="validType:'length[0,40]'">
				</div>
				<!-- <div class='fl'>
						<span class="text-content">目录排序：</span>
						<input class="easyui-numberbox" id="LIKEcatalogorder" data-options="validType:'length[0,10]'">
					</div> -->

			</div>
		</div>
		<div data-options="region:'center',split:true" class="easyui-layout">
			<table class="toolBar" style="width: 408px;" cellspacing="0"
				cellpadding="0">
				<tbody>
					<tr>
						<td >
							<a style="border-right: 1px solid #ccc;" onclick="doSearch()" href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
								<span class="l-btn-left l-btn-icon-left">
									<span class="l-btn-text">查询</span>
									<span class="l-btn-icon icon-search">&nbsp;</span></span>
							</a>
						</td>
						<td>
							<a style="border-right: 1px solid #ccc;" onclick="doAddCatalog()" href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
								<span class="l-btn-left l-btn-icon-left">
									<span class="l-btn-text">增加目录</span>
									<span class="l-btn-icon icon-add">&nbsp;</span>
								</span>
							</a>
						</td>
						<td>
							<a style="border-right: 1px solid #ccc;" onclick="doAddTask()" href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
								<span class="l-btn-left l-btn-icon-left">
									<span class="l-btn-text">增加任务</span>
									<span class="l-btn-icon icon-add">&nbsp;</span>
								</span>
							</a>
						</td>
						<td>
							<a style="border-right: 1px solid #ccc;" onclick="doAddRule()" href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
								<span class="l-btn-left l-btn-icon-left">
									<span class="l-btn-text">增加规则</span>
									<span class="l-btn-icon icon-add">&nbsp;</span>
								</span>
							</a>
						</td>
						<!-- <td>
							<a href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
								<span class="l-btn-left l-btn-icon-left">
									<span class="l-btn-text">选择集合通道</span>
									<span class="l-btn-icon icon-add">&nbsp;</span>
								</span>
							</a>
						</td> -->
						<td>
							<a style="border-right: 1px solid #ccc;" onclick="doStart()" href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
								<span class="l-btn-left l-btn-icon-left">
									<span class="l-btn-text">启用</span>
									<span class="l-btn-icon icon-start">&nbsp;</span>
								</span>
							</a>
						</td>
						<td>
							<a style="border-right: 1px solid #ccc;" onclick="doStop()" href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
								<span class="l-btn-left l-btn-icon-left">
									<span class="l-btn-text">停止</span>
									<span class="l-btn-icon icon-end">&nbsp;</span>
								</span>
							</a>
						</td>
					</tr>
				</tbody>
			</table>
			<div >
				<ul id='ruleTree' class="easyui-tree">
				</ul>
			</div>
		</div>
		<form action="" method="post" name="excelForm" id="excelForm"
			style="display: none;"></form>
	</div>

	<div data-options="region:'center',split:true,border:false"
		class="easyui-layout">
		<iframe scrolling="no" id='ywvideotaskbysetlist' frameborder="0" src=""
			style="width: 100%; height: 99%;"></iframe>

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