CommonTabHead.jsp 3.52 KB

<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ page import="weaver.general.*" %>
<%
	String id = Util.null2String(request.getParameter("mouldID"));

	String mouldID = "";
	if(!id.equals("")){
		mouldID = MouldIDConst.getID(id);
	}
	
	String navName = Util.null2String(request.getParameter("navName"));
	//String navName = "数据库迁移";
	boolean exceptHeight = Util.null2String(request.getParameter("exceptHeight")).equals("true");
	String _fromURL = Util.null2String(request.getParameter("_fromURL"));
	String fromFlowDoc = Util.null2String(request.getParameter("fromFlowDoc"));
	String limitSec = Util.null2String(request.getParameter("limitSec"));
	String step = Util.null2String(request.getParameter("step"));
%>
<script src="/system/upgradetoe9/js/jquery.tabs.extend_wev8.js"></script>
<style type="text/css">
	.e8_box {
		height:100%;
		width:100%;
		background: #fff;
		/*display:none;
        visibility:hidden;*/
		overflow:hidden;
	}

	.e8_rightBox {
		overflow:hidden;
		padding: 0px;
		margin: 0px;
		background: transparent;
		float:right;
		text-align:right;
		height:40px;
		visibility:hidden;
		white-space:nowrap;
		position:absolute;
		right:0;
		line-height:40px;
	}



	.e8_outbox{
		top:19px;
	}

	.tab_box {
		height: 100%;
		width:100%;
		background:#fff;
		/*visibility:hidden;*/
		border-top:1px solid #DADADA;
		clear:both;
	}
	.tab_box .hide,div.hide {
		display: none;
	}




	.e8_tablogo{
		background-image:url("/system/upgradetoe9/images/default_wev8.png");
		background-size:contain;
		background-repeat:no-repeat;
		background-position:50% 50%;
		width:43px;
		height:60px;
		line-height:60px;
		margin-left:12px;
		float:left;
	}


	.e8_ultab{
		height:60px;
		float:left;
		overflow:hidden;
	}

	.e8_navtab{
		height:20px;
		line-height:58px;
		margin-left:5px;
		font-size:16px;
		font-weight:normal;
	}

	.e8_navtab span#objName{
		display: inline-block;
		max-width: 400px;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
	}

	.e8_tree{
		padding-left:5px !important;
		display:none;
	}

	.e8_outbox{
		position:fixed;
		right:0;
	}

	.div_e8_xtree{
		display:none;
		float:left;
		position:fixed;
		top:0;
		left:0;
	}

</style>


<script type="text/javascript">
<%if("1".equals(limitSec)){ %>
 	 window.notExecute = true;
 <%}%>
jQuery(function(){
	try{
		//jQuery("#topTitle").topMenuTitle({searchFn:onSearch});
	}catch(e){}
    jQuery('.e8_box').Tabs({
        getLine:1,
        iframe:null,
        exceptHeight:<%=exceptHeight%>,
        objName:"<%=navName%>",
        mouldID:"<%= mouldID%>"
    });
    $(".e8_rightBorder").css("display","inline");
    var step = parseInt("<%=step%>");
    for(var i = 1; (step-1)>=0&& i < step+1;i++) {
    	  $(".reportBody").find(".signItem").eq(i).find(".discussitem").css("background","#FFEC8B");
    }
    var current  = step;
   
    $(".reportBody").find(".signItem").eq(current).find(".discussitem").css("background","#4F94CD");
 }); 
 
</script>
<div class="e8_box demo2" style="background-color: #F4F4F4">
	<div class="e8_boxhead" style="<%="1".equals(fromFlowDoc)?"display:none":"" %>">
		<div class="div_e8_xtree" id="div_e8_xtree"></div>
		<div class="e8_tablogo" id="e8_tablogo"></div>
		<div class="e8_ultab">
			<div class="e8_navtab" id="e8_navtab">
				<span id="objName"></span>
			</div>
			<div>
		    	<div class="wizard-steps" style="width:800px;margin-top:10px;">
				</div>
		    	<div id="rightBox" class="e8_rightBox"></div>
			</div>
		</div>
	</div>
	<div class="tab_box <%=_fromURL.equals("doc")?"_synergyBox":"" %>" style="overflow:auto;">