116 lines
3.3 KiB
HTML
116 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<title>Publisher Client Home</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 wsTreeData = <#wsTree>;
|
||
var dockDisplay = '<#dockDisplay>';
|
||
</script>
|
||
|
||
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal.publisher/js/publish.client.js"></script>
|
||
|
||
<style type="text/css">
|
||
.auto_divcontenr {
|
||
text-align: left;
|
||
padding-top: 5px;
|
||
padding-left: 2px;
|
||
padding-right: 5px;
|
||
height: 20px;
|
||
color: black;
|
||
font-weight: normal;
|
||
background-image: none;
|
||
background-color: white;
|
||
}
|
||
</style>
|
||
|
||
</head>
|
||
<body>
|
||
<div class="layout awsui-layout" id="show_simple" style="width: 100%; height: 100%; position: relative;">
|
||
<div id="show_foot">
|
||
<div style="text-align:center;font-size:13px;"><#fotter></div>
|
||
</div>
|
||
<div id="show_left">
|
||
<div id="autoSearchDiv" style="z-index: 999; min-width: 180px; position: absolute; top: 24px; left: 8px; border: 1px solid #c5c5c5; display: none;">
|
||
</div>
|
||
<div style="padding:3px; width:239px; background-color: #fff;">
|
||
<ul id="tree" style="overflow: visible"></ul>
|
||
</div>
|
||
</div>
|
||
<div id="show_sep"></div>
|
||
<div id="show_right">
|
||
<div id="awsui-tabs" class="awsui-tabs"></div>
|
||
<div id="awsui-tabs-content" class="awsui-tabs-panel">
|
||
<iframe frameborder="0" index="main-index" class="awsui-layout-iframe" src="./w?sid=<#sid>&cmd=com.actionsoft.apps.coe.pal.publisher_client_main"></iframe>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<input type="hidden" name="sid" id="sid" value="<#sid>" />
|
||
<input type="hidden" name="roleId" id="roleId" value="<#roleId>" />
|
||
</body>
|
||
|
||
<script type="text/javascript">
|
||
$(document).ready(function(){
|
||
$("#show_simple").height($(window).height());
|
||
|
||
$(window).layout({
|
||
bottom:{
|
||
target :"#show_foot",
|
||
height: "30px",
|
||
show :true
|
||
},
|
||
left:{
|
||
target:"#show_left",
|
||
title:"<input type='text' id='buttonedit' placeholder='文件名' class='txt' style='height: 14px; width: 150px; line-height: 14px;'>"
|
||
},
|
||
right:{
|
||
target:"#show_right"
|
||
},
|
||
separater:{
|
||
target :"#show_sep",
|
||
width : 0
|
||
}
|
||
});
|
||
|
||
// 查询
|
||
$("#buttonedit").buttonedit({
|
||
onLiveSearch: function(e) {
|
||
$("#autoSearchDiv").html("");
|
||
var palName = $("#buttonedit").val();
|
||
if (palName == "" || palName.trim() == "") {
|
||
return;
|
||
}
|
||
var param = {
|
||
name : palName.trim()
|
||
}
|
||
$.ajax({
|
||
type : "POST",
|
||
url : "./w?sid=" + encodeURIComponent(jQuery('#sid').val())
|
||
+ "&cmd=com.actionsoft.apps.coe.pal.publisher_client_search",
|
||
data : param,
|
||
success : function(msg) {
|
||
var msg = JSON.parse(msg).msg;
|
||
$("#autoSearchDiv").html(msg).show();
|
||
}
|
||
});
|
||
}
|
||
});
|
||
$("#buttonedit").parent().css({"height" : "24px"});
|
||
|
||
$(window).trigger('resize');
|
||
|
||
});
|
||
|
||
$(window).resize(function(){
|
||
//设置tree外层div高度,以设置滚动条
|
||
$("#tree").parent().height($(window).height() - 80);
|
||
})
|
||
</script>
|
||
</html> |