72 lines
2.2 KiB
HTML
72 lines
2.2 KiB
HTML
|
|
<!DOCTYPE html>
|
|||
|
|
<html style="height: 100%;">
|
|||
|
|
<head>
|
|||
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|||
|
|
<title>Publisher Client Main</title>
|
|||
|
|
<!-- js -->
|
|||
|
|
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script>
|
|||
|
|
<script type="text/javascript" src="../commons/js/awsui.js"></script>
|
|||
|
|
<!-- css -->
|
|||
|
|
<link rel="stylesheet" href="../commons/css/awsui.css">
|
|||
|
|
|
|||
|
|
<script type="text/javascript">
|
|||
|
|
var wsId = "<#wsId>";
|
|||
|
|
var data = <#treeData>;
|
|||
|
|
var filePerms = "<#filePerms>";
|
|||
|
|
var processRootId = "<#processRootId>";
|
|||
|
|
|
|||
|
|
$(document).ready(function(){
|
|||
|
|
parent.$(".header").css({"width": "300px"});
|
|||
|
|
var flag = true;
|
|||
|
|
if(screen.width==1024){
|
|||
|
|
//flag = false;
|
|||
|
|
}
|
|||
|
|
//layout配置
|
|||
|
|
$(window).layout({
|
|||
|
|
head:{
|
|||
|
|
target:"#simple-head",
|
|||
|
|
height:"50px"
|
|||
|
|
},
|
|||
|
|
left:{
|
|||
|
|
target:"#simple-left",
|
|||
|
|
title:"流程树"
|
|||
|
|
},
|
|||
|
|
right:{
|
|||
|
|
target:"#simple-right"
|
|||
|
|
},
|
|||
|
|
separater:{
|
|||
|
|
target:"#simple-layout-separater",
|
|||
|
|
width:0
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
$("#queryInput").myAutoInput("./w");
|
|||
|
|
|
|||
|
|
$(window).trigger('resize');
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
$(window).resize(function(){
|
|||
|
|
//设置tree外层div高度,以设置滚动条
|
|||
|
|
$("#repositoryTree").parent().height($(window).height() - 80);
|
|||
|
|
})
|
|||
|
|
</script>
|
|||
|
|
|
|||
|
|
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal.publisher/js/publish.search.home.js"></script>
|
|||
|
|
<script src="../apps/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.processlevel.main.autoajax.js"></script>
|
|||
|
|
|
|||
|
|
</head>
|
|||
|
|
<body style='background-color: #F1F2F4'>
|
|||
|
|
<div id="simple-left" style="width:220px; background-color: #F1F2F4;">
|
|||
|
|
<div style="padding:10px 3px 0px 3px;width:215px;overflow:auto;">
|
|||
|
|
<ul id="repositoryTree" style="overflow:visible"></ul>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div id="simple-layout-separater"></div>
|
|||
|
|
<div id="simple-right">
|
|||
|
|
<iframe id="disignerIframe" uuid="" allowfullscreen="true" webkitallowfullscreen="true" frameborder="0" height="100%" width="100%" class="awsui-layout-iframe" src=""></iframe>
|
|||
|
|
</div>
|
|||
|
|
<input type="hidden" name="sid" id="sid" value="<#sid>" />
|
|||
|
|
<input type="hidden" name="wsId" id="wsId" value="<#wsId>" />
|
|||
|
|
<ul id="contextMenu" class="awsui-menu"></ul>
|
|||
|
|
</body>
|
|||
|
|
</html>
|