94 lines
3.1 KiB
HTML
Executable File
94 lines
3.1 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Publisher group List</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">
|
|
<link rel="stylesheet" href="../commons/js/jquery/themes/default/ui/reference/jquery-ui.css">
|
|
<link type="text/css" rel="stylesheet" href="../apps/_bpm.platform/css/amc/console.admin.amc.public.css" />
|
|
|
|
<script src="../<I18N#COEPATH>/js/teamwork.publish.js"></script>
|
|
|
|
<style>
|
|
.text-overflow{
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
-o-text-overflow: ellipsis;/*Opera下实现ellipsis效果*/
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
<body style="min-width: 900px;">
|
|
<div>
|
|
<button type="button" class="button blue" style="margin: 10px 0 5px 20px;" onclick="openCreateDialog()">新建</button>
|
|
<div style="position: absolute; top: 10px; right: 10px;">
|
|
<input type="text" style="width:220px;" id="buttoneditSearch" class="awsui-input" placeholder="名称" value="">
|
|
</div>
|
|
</div>
|
|
<div id="mainDiv" style="width:100%;overflow:hidden;">
|
|
<div style="margin-left:0px;margin-right:0px;margin-top:0px; overflow:auto;">
|
|
<table id="listTable" class="listTable">
|
|
<tr>
|
|
<th class="width_12" class="" style="text-align:center;">序号</th>
|
|
<th class="width_18" style="text-align:center;">代码</th>
|
|
<th class="width_15" style="text-align:center;">分类</th>
|
|
<th class="width_15" style="text-align:center;">名称</th>
|
|
<th class="width_23" style="text-align:center;">说明</th>
|
|
<th class="width_17" style="text-align:center;">操作</th>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6">
|
|
<div id="listDiv" style="overflow:auto;">
|
|
<table style="width:100%;" cellspacing=0 cellpadding=0 id='innerTable'>
|
|
<#tbody>
|
|
</table>
|
|
</div>
|
|
<td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<input type="hidden" name="sid" id="sid" value="<#sid>" />
|
|
<input type="hidden" name="wsId" id="wsId" value="<#wsId>" />
|
|
<input type="hidden" name="category" id="category" value="<#category>" />
|
|
|
|
</body>
|
|
|
|
<script type="text/javascript">
|
|
$(function(){
|
|
$(window).trigger('resize');
|
|
|
|
// 点击查询
|
|
$("#buttoneditSearch").buttonedit({
|
|
onClick: function(e) {
|
|
searchList();
|
|
}
|
|
});
|
|
//回车查询
|
|
$('#buttoneditSearch').keydown(function(e){
|
|
if(e.keyCode==13){
|
|
searchList();
|
|
}
|
|
});
|
|
})
|
|
|
|
$(window).resize(function(){
|
|
var totalWidth = $('#mainDiv').width();
|
|
$("#listTable [class*=width_]").each(function(){
|
|
var className = $(this).attr("class");
|
|
var percent = parseInt(className.substr(6, 2));
|
|
$(this).css({"width" : totalWidth*percent/100});
|
|
});
|
|
|
|
$('#mainDiv').height($(window).height() - 47);
|
|
$('#listDiv').width($('#mainDiv').width() - 5).height($('#mainDiv').height() - 44);
|
|
})
|
|
</script>
|
|
</html> |