76 lines
3.6 KiB
HTML
Executable File
76 lines
3.6 KiB
HTML
Executable File
<!doctype html>
|
||
<html lang="zh-cn">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<title>coe初始化第一步</title>
|
||
<link type="text/css" rel="stylesheet" href="../commons/css/awsui.css" />
|
||
<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.coe.pal/css/init/coe.install.tabs.css" />
|
||
<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.coe.pal/css/init/wing-frame.css" />
|
||
<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.coe.pal/css/init/coe.install.step.css" />
|
||
</head>
|
||
<body style='overflow:hidden; background:url("../../../commons/js/jquery/themes/default/ui/app/appviewport2/images/noise-dark_195x195.png") repeat scroll 0 0 #F8F8F8'>
|
||
<div class="maindiv" id="maindiv">
|
||
<h1><I18N#安装BPM平台物理表></h1>
|
||
<font style="font-size:12px">
|
||
<I18N#使当前的AWS BPMS支持CoE,需要为CoE安装运行所需的系统表,如存放各个流程小组的定义,小组社交流等。><br/>
|
||
</font>
|
||
<button id='b1' class="button btn-success" style=" height:30px; margin-top:5px;" onClick="Step1_Start()" disabled="disabled">开始<i class="icon-play"></i></button>
|
||
<br/>
|
||
<span id='step1_main_span'>
|
||
<br/>
|
||
<font><I18N#工作进度></font><img src='../apps/com.actionsoft.apps.coe.pal/img/loading.gif' id='step_img1' style=" display:none"/><br/>
|
||
<textarea readonly="readonly" id='step1ta' style="width:900px; height:255px" onpropertychange="this.scrollTop=this.scrollHeight" class="awsui-input awsui-textarea"></textarea><br/>
|
||
<font style="font-size:12px" ><I18N#温馨提示:此处只显示最新的16条数据,想查看更多可到logs目录下的console日志文件查看。></font><br/>
|
||
</span>
|
||
<button id="x1" class="button" onclick="parent.useCoE();" style="height:30px;margin-left:817px; margin-top:0px; margin-right:0px; white-space: nowrap;" disabled="<#userCoeDisabled>" ><I18N#使用CoE></button>
|
||
</div>
|
||
<script>
|
||
var sid="<#sid>";
|
||
var lang = '<I18N#I18NTYPE>';
|
||
var 安装成功 = "<I18N#安装成功>";
|
||
var 已安装 = "<I18N#已安装>";
|
||
var 正在执行 = "<I18N#正在执行>";
|
||
var initStep = <#initStep>;
|
||
</script>
|
||
<script src="../commons/js/jquery/scripts/jquery.js"></script>
|
||
<script src="../commons/js/awsui.js"></script>
|
||
<script src="../commons/js/jquery/scripts/ui/aws.util.js"></script>
|
||
<script src="../apps/com.actionsoft.apps.coe.pal/js/init/coe.install.step1.js"></script>
|
||
<script>
|
||
function useCoE()
|
||
{
|
||
var html =$("#maindiv").html();
|
||
$("#maindiv").empty();
|
||
$("#maindiv").append('<form action="" name="formCoe" id="formCoe">').append('</form>');
|
||
//parent.location='./w?sid='+sid+'&cmd=com.actionsoft.apps.coe.pal_user_home_page';
|
||
//alert($("#maindiv").html());
|
||
// document.formCoe.action = './w?sid='+sid+'&cmd=com.actionsoft.apps.coe.pal_user_home_page';
|
||
// document.formCoe.submit();
|
||
return ;
|
||
var Sys = {};
|
||
var ua = navigator.userAgent.toLowerCase();
|
||
var s;
|
||
(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
|
||
(s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
|
||
(s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
|
||
(s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
|
||
(s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
|
||
if(location.href.indexOf("com.actionsoft.apps.coe.pal_install_to_init_system_page")==-1)
|
||
{
|
||
//不是从coe的控制台进来的
|
||
if (Sys.chrome)
|
||
{
|
||
//history.go(-1);
|
||
location='../coe';
|
||
}else
|
||
{
|
||
location.reload();
|
||
}
|
||
}else
|
||
{
|
||
history.go(-1);
|
||
}
|
||
}
|
||
</script>
|
||
</body>
|
||
</html> |