apps/com.actionsoft.apps.coe.pal.publisher/template/page/publish.client.sso.home.html
2022-07-20 13:59:04 +08:00

278 lines
11 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><#title></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="../apps/com.actionsoft.apps.coe.pal.publisher/css/publish.client.sso.css">
<style>
.ui-tree .tree-items {
color: #EDEDED;
}
.awsui-layout-left-title {
border: none;
}
#right-bar {
height: 50px;
line-height: 50px;
vertical-align: middle;
-webkit-box-shadow: 0px 2px 10px #C0C0C0;
-moz-box-shadow: 0px 2px 10px #C0C0C0;
box-shadow: 0px 2px 10px #C0C0C0;
margin-bottom: 10px;
}
.tree-items-title {
margin-right: 10px;
}
.awsui-layout-left-op {
top: 12px;
}
.awsui-layout-icon.arrow-right {
position: absolute;
top: 12px;
left: 5px;
}
.awsui-layout-icon.arrow-left {
width: 24px;
height: 24px;
background: url(../apps/com.actionsoft.apps.coe.pal.publisher/img/layout.png) no-repeat;
}
.app {
margin: 10px 0px;
padding: 10px;
font-size: 14px;
border-top: solid 1px rgba(255, 255, 255, 0.3);
color: rgba(255, 255, 255, 0.8);
cursor: pointer;
}
.app:hover {
background-color: rgba(255, 255, 255, 0.2);
}
.app img {
margin-right: 10px;
vertial-align: bottom;
}
</style>
<script>
window["MzBrowser"]={};(function() {
if(MzBrowser.platform) return;
var ua = window.navigator.userAgent;
MzBrowser.platform = window.navigator.platform;
MzBrowser.firefox = ua.indexOf("Firefox")>0;
MzBrowser.opera = typeof(window.opera)=="object";
MzBrowser.ie = !MzBrowser.opera && ua.indexOf("MSIE")>0;
MzBrowser.mozilla = window.navigator.product == "Gecko";
MzBrowser.netscape= window.navigator.vendor=="Netscape";
MzBrowser.safari= ua.indexOf("Safari")>-1;
if(MzBrowser.firefox) var re = /Firefox(\s|\/)(\d+(\.\d+)?)/;
else if(MzBrowser.ie) var re = /MSIE( )(\d+(\.\d+)?)/;
else if(MzBrowser.opera) var re = /Opera(\s|\/)(\d+(\.\d+)?)/;
else if(MzBrowser.netscape) var re = /Netscape(\s|\/)(\d+(\.\d+)?)/;
else if(MzBrowser.safari) var re = /Version(\/)(\d+(\.\d+)?)/;
else if(MzBrowser.mozilla) var re = /rv(\:)(\d+(\.\d+)?)/;
if("undefined"!=typeof(re)&&re.test(ua))
MzBrowser.version = parseFloat(RegExp.$2);
})();
function aa() {
if(MzBrowser.ie&&MzBrowser.version==8) {
window.location.href = "../pal/error/coe_not_support.htm";
}
}
aa();
</script>
<script type="text/javascript">
var isSecurityPwdChange = <#isSecurityPwdChange>;
var forceChangePwd = <#forceChangePwd>;
var isSecurityPwdComplexity = <#isSecurityPwdComplexity>; // 密码强度
var securityMinPwdLength = <#securityMinPwdLength>; // 允许账户口令最小长度0表示无限制
var securityMaxPwdLength = <#securityMaxPwdLength>; // 允许账户口令最大长度最多32位长度
var wsTreeData = <#wsTree>;
var dockDisplay = '<#dockDisplay>';
var palIds = '';
var version = "v1";
</script>
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal.publisher/js/publish.client.sso.index.js"></script>
</head>
<body style="overflow: hidden;">
<div class="layout awsui-layout" id="show_simple" style="width: 100%; height: 100%; position: relative;">
<div id="show_left" style="background-color: #3d9dd9;">
<div style="padding:3px; width:239px; background-color: #2f363b; color: #929596;overflow: auto;">
<ul id="tree" style="overflow: visible; margin-top: 10px;"></ul>
<div id="relationSearch" appId="<#relationSearchId>" name="<#relationSearchTitle>" cmd="<#relationSearchCmd>" class="app" style="<#showRelationSearch>"><img src="<#relationSearchIcon>" /><span><#relationSearchName></span></div>
</div>
<div style="background-color: #2f363b; color: #929596; height: 40px;text-align: center; font-size: 14px;line-height: 40px;padding: 0 3px;position: absolute;bottom: 0px;"><#fotter></div>
</div>
<div id="show_sep"></div>
<div id="show_right">
<div style="height: 60px; background-color: #f0f0f0;">
<div id="right-bar" style="width: 100%; background-color: #fff;">
<div id="awsui-tabs" class="awsui-tabs" style="background-color: #fff;"></div>
<div id="appviewport2-top-right" class="appviewport2-top-right" style='display: inline-block; margin-left: 15px; float: left;'>
<font id="userName" style="position:relative;top:3px; float: left; cursor: pointer;"><#userName></font>
<span id="userName_icon" class="content-icons down_black" style="cursor: pointer;"></span>
<font style="border-left: solid 1px #c0c0c0;position: relative;float: left;height: 20px;margin-left: 10px;margin-top: 17px;"></font>
<div id="appviewport2-top-right-dialog" style="display: none; top: 45px;">
<span id="updatePwd" onclick="modifyPwd();"><img src="../apps/com.actionsoft.apps.coe.pal.publisher/img/password.png" id="updatePasswordBtn"/>修改密码</span>
<span style="<#entryCoEView>" onClick="entryCoE();"><img src="../apps/com.actionsoft.apps.coe.pal.publisher/img/change.png" />切换到PAL</span>
<span style="<#settingView>" onClick="setting();"><img src="../apps/com.actionsoft.apps.coe.pal.publisher/img/settings.png" />设置</span>
<span onClick="logout();"><img src="../apps/com.actionsoft.apps.coe.pal.publisher/img/exit.png" />退出账号</span>
</div>
<img style="margin-left: 10px; height: 18px; cursor: pointer;" src="../apps/com.actionsoft.apps.coe.pal.publisher/img/bell.png" onclick="showPublishList();" />
</div>
</div>
</div>
<div id="awsui-tabs-content" class="awsui-tabs-panel" style="height: 100%; background-color: rgb(240, 240, 240);">
<iframe id="home_iframe" name="home_iframe" frameborder="0" index="main-index" class="awsui-layout-iframe" style="height: 100%;" allowtransparency="true"
src="./w?sid=<#sid>&amp;cmd=com.actionsoft.apps.coe.pal.publisher_client_sso_main&wsId=<#wsId>"></iframe>
</div>
</div>
</div>
<div id="publish_history" class="fold_right" style="display: none; padding: 10px 20px;">
<div style="width: 100%; margin-top: 20px;"><span style="font-size: 16px; color: #808080;">最近更新</span></div>
<div id="select_type" class="blue_tab" style="text-align: right; margin-top: 20px;">
<span id="publish_list_all" publishType="" class="current">全部</span>
<span publishType="N">新发布</span>
<span publishType="C">变更</span>
<span publishType="S">停用</span>
</div>
<div id="publish_history_list" style="overflow: auto; margin-top: 10px;"></div>
</div>
<div id="modify_dialog" style="display: none;">
<table class="awsui-ux" style="padding: 0px;">
<tbody>
<tr class="force-change-pwd-tips">
<td colspan="2" class="awsui-ux-title">如果需要,请修改门户登录密码!</td>
</tr>
<tr>
<td class="awsui-ux-title" style="width: 125px;">旧口令</td>
<td class="required"><input id="oldPassword" name="oldPassword" class="awsui-textbox" type="password" style="height: 30px;"></td>
</tr>
<tr>
<td class="awsui-ux-title">新口令</td>
<td class="required"><input id="password" name="password" class="awsui-textbox password" type="password" style="height: 30px;"></td>
</tr>
<tr>
<td class="awsui-ux-title">确认口令</td>
<td class="required"><input id="confirmPassword" name="confirmPassword" class="awsui-textbox confirmPassword" type="password" style="height: 30px;"></td>
</tr>
</tbody>
</table>
</div>
<div id="setting_dialog" style="display: none;">
<table class="awsui-ux">
<tbody>
<tr>
<td class="awsui-ux-title" style="width:125px;">门户标题</td>
<td class="required"><input id="title" name="title" class="awsui-textbox" type="text" value="<#title>"></td>
</tr>
<tr>
<td class="awsui-ux-title">页底信息</td>
<td class="required"><input id="fotter" name="fotter" class="awsui-textbox" type="text" value="<#fotter>"></td>
</tr>
<tr>
<td class="awsui-ux-title">允许留言</td>
<td class="required">
<select id="isComment" name="isComment" style="width:313px;" class="awsui-select">
<option value="true"></option>
<option value="false"></option>
</select>
</td>
</tr>
<tr>
<td class="awsui-ux-title">允许打印</td>
<td class="required">
<select id="isPrint" name="isPrint" style="width:313px;" class="awsui-select">
<option value="true"></option>
<option value="false"></option>
</select>
</td>
</tr>
<tr>
<td class="awsui-ux-title">允许查看属性</td>
<td class="required">
<select id="isViewAttribute" name="isViewAttribute" style="width:313px;" class="awsui-select">
<option value="true"></option>
<option value="false"></option>
</select>
</td>
</tr>
<tr>
<td class="awsui-ux-title">允许查看发布历史</td>
<td class="required">
<select id="isViewHistory" name="isViewHistory" style="width:313px;" class="awsui-select">
<option value="true"></option>
<option value="false"></option>
</select>
</td>
</tr>
</tbody>
</table>
</div>
<form action="./w" method="post" id="frm" name="frm" target="_blank">
<input type="hidden" name="cmd" value="com.actionsoft.apps.coe.pal_user_home_page">
<input type="hidden" name="clientIp" value="0:0:0:0:0:0:0:1">
<input type="hidden" name="sid" id="sid" value="<#sid>" />
<input type="hidden" name="appId" id="appId" value="<#appId>" />
</form>
<input type="hidden" name="roleId" id="roleId" value="<#roleId>" />
</body>
<script type="text/javascript">
var modelIds = "<#modelIds>";
var wsIds = "<#wsIds>";
$(document).ready(function(){
$("#show_simple").height($(window).height());
$(window).layout({
left:{
target:"#show_left",
title:"<div style='height: 48px; line-height: 48px; color: #e1e8e6; text-align: center; width: 200px; font-size: 15px;'><img style='margin-right: 5px;' src='../apps/com.actionsoft.apps.coe.pal.publisher/img/title.png'><#title></div>"
},
right:{
target:"#show_right"
},
separater:{
target :"#show_sep",
width : 0
}
});
$(window).trigger('resize');
navtab = awsui.tabs.init($("#awsui-tabs"),{
contentPanel:$("#awsui-tabs-content"),
height:50,
noborder:true
});
var setting = {
item : {
index : "main-index",
title : "首页"
},
contextMenu : false,
close : false
};
navtab.addTab(setting);
});
</script>
</html>