<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="org.wdk.WDKConstant"%>
<%@ page import="org.wdk.WDKCore"%>
<%@ page import="org.wdk.WDK"%>
<%@ page import="com.noblelift.imp.platform.module.portal.source.SessionUser"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
	String WDK_ROOT = WDKCore.WDK_ROOT;
	SessionUser su = (SessionUser)WDK.getSessionUser(request, response);
	WDK.writeSessionUser(out, su);
%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
		
		<base href="<%=basePath%>" target="_self">
		<title>流程模板管理</title>
		<link rel="stylesheet" type="text/css" href="platform/wf/chat/css/wf_chat.css">
		<script type="text/javascript" src="<%=WDK_ROOT%>/theme/je/core/js/wdk.js"></script>
		<script type="text/javascript" src="platform/wf/chat/js/wf_chat.js"></script>
		<script type="text/javascript">
	  	<% if(null==su){%>    
	  		$.timeout();
	  	<%}%>
		    
		  
	  	//页面初始化
	  	$(function() {
	  		$.wfchat({
	  			containerid:'parentId'
	  			,width:40
	  			,data:[{
	  				nodetitle:'申请1'
	  				,nodename:'task1'
	  			},{
	  				nodetitle:'市场部审核'
	  				,nodename:'task2'
	  			},{
	  				nodetitle:'营销中心审核'
	  				,nodename:'task3'
	  			},{
	  				nodetitle:'已办结'
	  				,nodename:'end'
	  			}]
	  			,current:'task3'
	  			,blink:true
	  		});
	  	});
	    
		</script>	
		<style type="text/css">
			.fixed-area{
				width:800px;
				height:100px;
				border: 1px solid red;
				background-color: #FFF;
				position: relative;
			}
		</style>
	</head>
	
	<body>
	
		<div class="fixed-area" id="parentId">
		
		</div>
		<div>
		<a href="#" title="This is the tooltip message." class="easyui-tooltip">Hover me</a>
		</div>
		
	</body>
</html>