1.事务添加
2.亦庄bug修改 3.业务系统添加逻辑变更
This commit is contained in:
@@ -1,466 +1,466 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://"
|
||||
+ request.getServerName() + ":" + request.getServerPort()
|
||||
+ path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_addNodeInfo.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/css/suggest.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.js' />"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/onmouse.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.tools.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/j.suggest.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
var vstart;
|
||||
function add(){
|
||||
//去空格
|
||||
$("#nodeIp").val($.trim($("#nodeIp").val()));
|
||||
$("#nNa").val($.trim($("#nNa").val()));
|
||||
|
||||
if($id("nodeIp","ip","i18n_addNodeInfo.text.nodeIp_n81i") && $("#nodeIp").checkByteLength(64,"i18n_addNodeInfo.text.nodeIp_n81i")
|
||||
&& $id("nodeMac","","i18n_addNodeInfo.text.nodeMac_n81i") && $("#nodeMac").checkByteLength(100,"i18n_addNodeInfo.text.nodeMac_n81i")
|
||||
&& $id("nNa","","i18n_addNodeInfo.text.nNa_n81i") && $("#nNa").checkByteLength(64,"i18n_addNodeInfo.text.nNa_n81i")
|
||||
&& $id("nodeBoxIspn","","i18n_addNodeInfo.text.nodeBoxIspn_n81i") && $id("nodeUType","sz","i18n_addNodeInfo.text.nodeUType_n81i")
|
||||
&& $id("nodeBeginUType","xz","i18n_addNodeInfo.text.nodeBeginUType_n81i")){
|
||||
if($("#nodeType").val() == "1"){
|
||||
if($("#networElementType").val() == ""){
|
||||
alert("i18n_addNodeInfo.message.nodeBeginUType_n81i");
|
||||
return false;
|
||||
}
|
||||
}else if($("#nodeType").val()==0&&(!$("#specialServerTypeTR").is(":hidden"))){
|
||||
if($("#specialServerType").val() == ""){
|
||||
alert("i18n_addNodeInfo.message.nodeSpecialServerType_n81i");
|
||||
return false;
|
||||
}
|
||||
$("#version2").val("");
|
||||
$("#version3").val("");
|
||||
$("#networElementType").val("");
|
||||
}else{
|
||||
$("#version2").val("");
|
||||
$("#version3").val("");
|
||||
$("#specialServerType").val("");
|
||||
$("#networElementType").val("");
|
||||
}
|
||||
document.Nodeform.action="<%=path%>/nodeGroupManage/nodeManage!executeAction.do?action=doAdd";
|
||||
document.Nodeform.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function goBack(){
|
||||
document.Nodeform.action="<%=path%>/nodeGroupManage/nodeManage!executeAction.do?action=query";
|
||||
document.Nodeform.submit();
|
||||
}
|
||||
|
||||
function nodeTypeChange(){
|
||||
var nodeType = $("#nodeType").val();
|
||||
if(nodeType=='1'){
|
||||
$("#networElementTypeTR").show();
|
||||
$(".snmpVersionType").show();
|
||||
}else{
|
||||
$("#networElementTypeTR").hide();
|
||||
$(".snmpVersionType").hide();
|
||||
}
|
||||
var nodeTypeIndex=$("#nodeType option").index($('#nodeType option:selected'));
|
||||
if(nodeTypeIndex==2){
|
||||
$("#specialServerTypeTR").show();
|
||||
}else{
|
||||
$("#specialServerTypeTR").hide();
|
||||
}
|
||||
}
|
||||
|
||||
//-- 节点IP 失去焦点事件绑定 自动匹配该节点是否已存在某机柜
|
||||
function nodeIpChange(){
|
||||
$.post("<c:url value='/nodeGroupManage/nodeManage!getNodeBox.do'/>",
|
||||
{nodeIp:$("#nodeIp").val()},
|
||||
function(data){
|
||||
if(data!=null && data!=""){
|
||||
$("#nodeBoxIspn").val(data.nodeBoxIspn);
|
||||
$("#nodeUType").val(data.nodeUType);
|
||||
if(data.nodeUType!=null){
|
||||
vstart =data.nodeBeginUType;//保留节点在机柜已有起始U位
|
||||
//$("#nodeUType").trigger("blur");//触发节点厚度(U位)的绑定事件,即获取机柜的空闲位置(可选起始U位选项)
|
||||
$("#nodeUType").trigger("onchange");//触发节点厚度(U位)的绑定事件,即获取机柜的空闲位置(可选起始U位选项)
|
||||
}
|
||||
}else{
|
||||
vstart = null;
|
||||
$("#nodeBoxIspn").val("");//Ispn的值改变会触发它自己绑定的事件,即把nodeUType和nodeBeginUType清空
|
||||
}
|
||||
}, "json");
|
||||
}
|
||||
|
||||
function checkNodeIp(){
|
||||
$.post("<c:url value='/nodeGroupManage/nodeManage!checkNodeIp.do'/>",
|
||||
{nodeIp:$("#nodeIp").val(),nodeGroupId:$("#nodeGroupId").val()},
|
||||
function(data){
|
||||
if(data!=null && data!=""){
|
||||
//同一节点组存在相同的IP
|
||||
if(data.isExist !=null){
|
||||
alert("i18n_addNodeInfo.message.nodeGroup_n81i");
|
||||
$("#nodeIp").val("");
|
||||
clearInfo();
|
||||
}else{
|
||||
//其它节点组存在相同IP
|
||||
if(data.nodeIp !=null){
|
||||
//设置Mac
|
||||
$("#nodeMac").val(data.nodeMac);
|
||||
//设置节点名称
|
||||
$("#nNa").val(data.nodeName);
|
||||
//设置节点类型
|
||||
if(data.nodeType==1){
|
||||
$("#nodeType").val(data.nodeType);
|
||||
$("#networElementTypeTR").show();
|
||||
//设置SNMP版本
|
||||
$(".snmpVersionType").show();
|
||||
if(data.snmpVersion == "1"){
|
||||
$("#version2").attr("checked","checked");
|
||||
}else if(data.snmpVersion == "3"){
|
||||
$("#version3").attr("checked","checked");
|
||||
}
|
||||
}else{
|
||||
$("#networElementTypeTR").hide();
|
||||
}
|
||||
if(data.nodeType==0&&data.specialServerType!=0){
|
||||
$("#nodeType option:last").attr("selected","selected");
|
||||
$("#specialServerTypeTR").show();
|
||||
$("#specialServerType").val(data.specialServerType);
|
||||
}else{
|
||||
$("#nodeType option:first").val(data.nodeType);
|
||||
$("#specialServerTypeTR").hide();
|
||||
}
|
||||
//设置网元类型
|
||||
$("#networElementType").val(data.networElementType);
|
||||
//设置用户名
|
||||
$("#nodeUserName").val(data.nodeUserName);
|
||||
//设置密码
|
||||
$("#nodePassword").val(data.nodePassword);
|
||||
//设置机柜编号
|
||||
$("#nodeBoxIspn").val(data.nodeBoxIspn);
|
||||
//设置机柜起始U位
|
||||
vstart = data.nodeBeginUType
|
||||
//设置节点厚度
|
||||
$("#nodeUType").val(data.nodeUType);
|
||||
/* $("#nodeUType").trigger("onchange"); */
|
||||
nodeUTypeChange()
|
||||
//设置节点IP信息
|
||||
$("#nodeIpInfo").val(data.nodeIpInfo);
|
||||
//设置节点描述
|
||||
$("#nodeDesc").val(data.nodeDesc);
|
||||
$("#nodeIp").next().html("i18n_addNodeInfo.message.nodeIp_n81i");
|
||||
}
|
||||
}
|
||||
}else{
|
||||
clearInfo();
|
||||
}
|
||||
},
|
||||
"json"
|
||||
);
|
||||
}
|
||||
|
||||
function clearInfo(){
|
||||
$("#nodeMac").val("");
|
||||
$("#nNa").val("");
|
||||
/* $("#nodeType").val(0); */
|
||||
$("#nodeType option:first").attr("selected","selected");
|
||||
$("#networElementTypeTR").hide();
|
||||
$("#networElementType").val("");
|
||||
$("#nodeUserName").val("");
|
||||
$("#nodePassword").val("");
|
||||
$("#nodeBoxIspn").val("");
|
||||
$("#version2").attr("checked","checked");
|
||||
$("#nodeUType").val("");
|
||||
$("#nodeBeginUType").empty();
|
||||
$("#nodeBeginUType").append("<option value=''>i18n_addNodeInfo.message.selectDefault_n81i</option>");
|
||||
$("#nodeIpInfo").val("");
|
||||
$("#nodeDesc").val("");
|
||||
$("#nodeIp").next().html("");
|
||||
}
|
||||
//-- 节点厚度(U位) 事件绑定 由节点厚度(U位)决定起始U位的可选项
|
||||
function nodeUTypeChange(){
|
||||
if(isNaN($("#nodeUType").val())){
|
||||
alert("i18n_addNodeInfo.message.nodeUType_n81i");
|
||||
$("#nodeUType").val("");
|
||||
$("#nodeBeginUType").empty();
|
||||
$("#nodeBeginUType").append("<option value=''>i18n_addNodeInfo.message.selectDefault_n81i</option>");
|
||||
$("#nodeUType").focus();
|
||||
return;
|
||||
}
|
||||
$("#nodeBeginUType").empty();
|
||||
$("#nodeBeginUType").append("<option value=''>i18n_addNodeInfo.message.selectDefault_n81i</option>");
|
||||
var boxIspn = $("#nodeBoxIspn").val();
|
||||
var nodeIp = $("#nodeIp").val();
|
||||
var curVal = $("#nodeUType").val();
|
||||
if(curVal!=""){
|
||||
$.post("<c:url value='/nodeGroupManage/nodeManage!getBoxFreePosition.do'/>",
|
||||
{"nodeBoxIspn":boxIspn,"nodeIp":nodeIp,"nodeUType":curVal},
|
||||
function(data){
|
||||
// 追加option元素
|
||||
if(data!=null && data!=""){
|
||||
var optionStr="";
|
||||
$.each(data, function(i,val){
|
||||
if(i==0){
|
||||
optionStr = "<option selected='selected' value='"+val+"'>" + val + "</option>"
|
||||
}else{
|
||||
optionStr = "<option value='"+val+"'>" + val + "</option>"
|
||||
}
|
||||
$("#nodeBeginUType").append(optionStr);
|
||||
});
|
||||
}
|
||||
// 自动匹配位置
|
||||
if(vstart!=null && vstart!=""){
|
||||
$("#nodeBeginUType >option[value='"+vstart+"']").attr("selected",true);
|
||||
vstart = null;//该值改变后只能使用一次,所以一经调用就将其清空
|
||||
}
|
||||
}, "json");
|
||||
}
|
||||
}
|
||||
|
||||
// -----界面机柜及位置相关处理
|
||||
$(function(){
|
||||
//-- 机柜 事件绑定 清空节点起始U位和节点厚度(U位)
|
||||
$("#nodeBoxIspn").bind("input",function(){
|
||||
$("#nodeBeginUType").empty();
|
||||
$("#nodeBeginUType").append("<option value=''>i18n_addNodeInfo.message.selectDefault_n81i</option>");
|
||||
$("#nodeUType").val("");
|
||||
});
|
||||
|
||||
//联想查询修改成列表形式
|
||||
jQuery.post("<c:url value='/nodePosition/boxSet!getAllBoxsIspn.do' />",{},function(data,textStatus){
|
||||
var everyItems=data.split(";");
|
||||
var allName=new Array();
|
||||
for(var j=0;j<everyItems.length;j++){
|
||||
if(j!=(everyItems.length-1)){
|
||||
var getN=everyItems[j];
|
||||
allName[j]=new Array('',getN,'');
|
||||
}
|
||||
}
|
||||
jQuery("#nodeBoxIspn").suggest(allName,{hot_list:allName,attachObject:"#suggest1"});
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list">
|
||||
<div class="box_2">
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="goBack()" value="i18n_addNodeInfo.button.back_n81i"/>
|
||||
</div>
|
||||
<div style="height: 25px"></div>
|
||||
<form action="" name="Nodeform" method="post" style="border:0px;">
|
||||
<input type="hidden" name="position" value="${position }" />
|
||||
<input type="hidden" name="nodeGroupId" value="${nodeGroupId }" id="nodeGroupId"/>
|
||||
<input type="hidden" name="fromWhere" value="${fromWhere }"/>
|
||||
<input type="hidden" name="type" value="${type }"/>
|
||||
<input type="hidden" name="showStopNGroup" value="${showStopNGroup }" />
|
||||
<input type="hidden" name="isValid" value="${isValid }" />
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table1">
|
||||
<tr>
|
||||
<td colspan="4" class="color_7">
|
||||
<strong>i18n_addNodeInfo.text.title_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nodeIp_n81i:
|
||||
</td>
|
||||
<td class="color_3" width="30%" align="left">
|
||||
<input type="text" name="nodeTable.nodeIp" id="nodeIp"
|
||||
style="width: 155px;" onchange="checkNodeIp()" />
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nodeMac_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<input type="text" name="nodeTable.nodeMac" id="nodeMac"
|
||||
style="width: 155px;" />
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nNa_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left" >
|
||||
<input type="text" name="nodeTable.nodeName" id="nNa"
|
||||
style="width: 155px;" />
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nodeType_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<select name="nodeTable.nodeType" id="nodeType" onchange="nodeTypeChange()"
|
||||
style="width: 161px;" >
|
||||
<option value="0">
|
||||
i18n_addNodeInfo.message.nodeType0_n81i
|
||||
</option>
|
||||
<option value="1">
|
||||
i18n_addNodeInfo.message.nodeType1_n81i
|
||||
</option>
|
||||
<option value="0">
|
||||
i18n_addNodeInfo.message.nodeType2_n81i
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="networElementTypeTR" style="display: none;">
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.networElementType_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left" colspan="3">
|
||||
<select name="nodeTable.networElementType" id="networElementType"
|
||||
style="width: 161px;" >
|
||||
<option value="">i18n_addNodeInfo.message.selectDefault_n81i</option>
|
||||
<c:forEach items="${optionList}" var="optionTable" >
|
||||
<option value="${optionTable.typeCode}" <c:if test="${optionTable.typeCode == nodeTable.networElementType}">selected="selected"</c:if>>
|
||||
${optionTable.typeValue}
|
||||
</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="specialServerTypeTR" style="display: none;">
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.specialServerType_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left" colspan="3">
|
||||
<select name="nodeTable.specialServerType" id="specialServerType"
|
||||
style="width: 161px;" >
|
||||
<option value="">i18n_addNodeInfo.message.selectDefault_n81i</option>
|
||||
<c:forEach items="${optionList2}" var="optionTable" >
|
||||
<option value="${optionTable.typeCode}" <c:if test="${optionTable.typeCode == nodeTable.specialServerType}">selected="selected"</c:if>>
|
||||
${optionTable.typeValue}
|
||||
</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nodeUserName_n81i:
|
||||
</td>
|
||||
<td class="color_6" width="30%" align="left">
|
||||
<input type="text" name="nodeTable.nodeUserName" id="nodeUserName"
|
||||
style="width: 155px;" />
|
||||
</td>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nodePassword_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<c:choose>
|
||||
<c:when test="${jsbh}">
|
||||
<input type="text" name="nodeTable.nodePassword" id="nodePassword"
|
||||
style="width: 155px;" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<input type="password" name="nodeTable.nodePassword" id="nodePassword"
|
||||
style="width: 155px;" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.nodeBoxIspn_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<input name="nodeTable.nodeBoxIspn" id="nodeBoxIspn" style="width: 156px;" title="i18n_addNodeInfo.message.nodeBoxIspn_n81i"/>
|
||||
<font color="red">*</font>
|
||||
<div id='suggest1' class="ac_results"></div>
|
||||
</td>
|
||||
<td class="color_1 snmpVersionType" align="right" style="display: none;">
|
||||
i18n_addNodeInfo.text.snmpVersion_n81i:
|
||||
</td>
|
||||
<td class="color_6 snmpVersionType" align="left" style="display: none;">
|
||||
<input type="radio" name="nodeTable.snmpVersion" value="1" id="version2" checked="checked"/>VERSION2C
|
||||
<input type="radio" name="nodeTable.snmpVersion" value="3" id="version3"/>VERSION3
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.nodeUType_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<input type="text" name="nodeTable.nodeUType" id="nodeUType"
|
||||
style="width: 155px;" oninput="nodeUTypeChange()"/>
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.nodeBeginUType_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left">
|
||||
<select name="nodeTable.nodeBeginUType" id="nodeBeginUType"
|
||||
style="width: 161px;" >
|
||||
<option value="">
|
||||
i18n_addNodeInfo.message.selectDefault_n81i
|
||||
</option>
|
||||
</select>
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.nodeIpInfo_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<textarea rows="4" cols="40" name="nodeTable.nodeIpInfo"
|
||||
id="nodeIpInfo" style="width: 155px; height: 50px;"
|
||||
></textarea>
|
||||
</td>
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.nodeDesc_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
<textarea rows="4" cols="40" name="nodeTable.nodeDesc"
|
||||
id="nodeDesc" style="width: 155px; height: 50px;"
|
||||
></textarea>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_7" colspan="4" align="right">
|
||||
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="add()" value="i18n_addNodeInfo.button.submit_n81i"/>
|
||||
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="javascript:document.forms['Nodeform'].reset()"
|
||||
value="i18n_addNodeInfo.button.reset_n81i"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://"
|
||||
+ request.getServerName() + ":" + request.getServerPort()
|
||||
+ path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_addNodeInfo.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/css/suggest.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.js' />"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/onmouse.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.tools.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/j.suggest.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
var vstart;
|
||||
function add(){
|
||||
//去空格
|
||||
$("#nodeIp").val($.trim($("#nodeIp").val()));
|
||||
$("#nNa").val($.trim($("#nNa").val()));
|
||||
|
||||
if($id("nodeIp","ip","i18n_addNodeInfo.text.nodeIp_n81i") && $("#nodeIp").checkByteLength(64,"i18n_addNodeInfo.text.nodeIp_n81i")
|
||||
&& $id("nodeMac","","i18n_addNodeInfo.text.nodeMac_n81i") && $("#nodeMac").checkByteLength(100,"i18n_addNodeInfo.text.nodeMac_n81i")
|
||||
&& $id("nNa","","i18n_addNodeInfo.text.nNa_n81i") && $("#nNa").checkByteLength(64,"i18n_addNodeInfo.text.nNa_n81i")
|
||||
&& $id("nodeBoxIspn","","i18n_addNodeInfo.text.nodeBoxIspn_n81i") && $id("nodeUType","sz","i18n_addNodeInfo.text.nodeUType_n81i")
|
||||
&& $id("nodeBeginUType","xz","i18n_addNodeInfo.text.nodeBeginUType_n81i")){
|
||||
if($("#nodeType").val() == "1"){
|
||||
if($("#networElementType").val() == ""){
|
||||
alert("i18n_addNodeInfo.message.nodeBeginUType_n81i");
|
||||
return false;
|
||||
}
|
||||
}else if($("#nodeType").val()==0&&(!$("#specialServerTypeTR").is(":hidden"))){
|
||||
if($("#specialServerType").val() == ""){
|
||||
alert("i18n_addNodeInfo.message.nodeSpecialServerType_n81i");
|
||||
return false;
|
||||
}
|
||||
$("#version2").val("");
|
||||
$("#version3").val("");
|
||||
$("#networElementType").val("");
|
||||
}else{
|
||||
$("#version2").val("");
|
||||
$("#version3").val("");
|
||||
$("#specialServerType").val("");
|
||||
$("#networElementType").val("");
|
||||
}
|
||||
document.Nodeform.action="<%=path%>/nodeGroupManage/nodeManage!executeAction.do?action=doAdd";
|
||||
document.Nodeform.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function goBack(){
|
||||
document.Nodeform.action="<%=path%>/nodeGroupManage/nodeManage!executeAction.do?action=query";
|
||||
document.Nodeform.submit();
|
||||
}
|
||||
|
||||
function nodeTypeChange(){
|
||||
var nodeType = $("#nodeType").val();
|
||||
if(nodeType=='1'){
|
||||
$("#networElementTypeTR").show();
|
||||
$(".snmpVersionType").show();
|
||||
}else{
|
||||
$("#networElementTypeTR").hide();
|
||||
$(".snmpVersionType").hide();
|
||||
}
|
||||
var nodeTypeIndex=$("#nodeType option").index($('#nodeType option:selected'));
|
||||
if(nodeTypeIndex==2){
|
||||
$("#specialServerTypeTR").show();
|
||||
}else{
|
||||
$("#specialServerTypeTR").hide();
|
||||
}
|
||||
}
|
||||
|
||||
//-- 节点IP 失去焦点事件绑定 自动匹配该节点是否已存在某机柜
|
||||
function nodeIpChange(){
|
||||
$.post("<c:url value='/nodeGroupManage/nodeManage!getNodeBox.do'/>",
|
||||
{nodeIp:$("#nodeIp").val()},
|
||||
function(data){
|
||||
if(data!=null && data!=""){
|
||||
$("#nodeBoxIspn").val(data.nodeBoxIspn);
|
||||
$("#nodeUType").val(data.nodeUType);
|
||||
if(data.nodeUType!=null){
|
||||
vstart =data.nodeBeginUType;//保留节点在机柜已有起始U位
|
||||
//$("#nodeUType").trigger("blur");//触发节点厚度(U位)的绑定事件,即获取机柜的空闲位置(可选起始U位选项)
|
||||
$("#nodeUType").trigger("onchange");//触发节点厚度(U位)的绑定事件,即获取机柜的空闲位置(可选起始U位选项)
|
||||
}
|
||||
}else{
|
||||
vstart = null;
|
||||
$("#nodeBoxIspn").val("");//Ispn的值改变会触发它自己绑定的事件,即把nodeUType和nodeBeginUType清空
|
||||
}
|
||||
}, "json");
|
||||
}
|
||||
|
||||
function checkNodeIp(){
|
||||
$.post("<c:url value='/nodeGroupManage/nodeManage!checkNodeIp.do'/>",
|
||||
{nodeIp:$("#nodeIp").val(),nodeGroupId:$("#nodeGroupId").val()},
|
||||
function(data){
|
||||
if(data!=null && data!=""){
|
||||
//同一节点组存在相同的IP
|
||||
if(data.isExist !=null){
|
||||
alert("i18n_addNodeInfo.message.nodeGroup_n81i");
|
||||
$("#nodeIp").val("");
|
||||
clearInfo();
|
||||
}else{
|
||||
//其它节点组存在相同IP
|
||||
if(data.nodeIp !=null){
|
||||
//设置Mac
|
||||
$("#nodeMac").val(data.nodeMac);
|
||||
//设置节点名称
|
||||
$("#nNa").val(data.nodeName);
|
||||
//设置节点类型
|
||||
if(data.nodeType==1){
|
||||
$("#nodeType").val(data.nodeType);
|
||||
$("#networElementTypeTR").show();
|
||||
//设置SNMP版本
|
||||
$(".snmpVersionType").show();
|
||||
if(data.snmpVersion == "1"){
|
||||
$("#version2").attr("checked","checked");
|
||||
}else if(data.snmpVersion == "3"){
|
||||
$("#version3").attr("checked","checked");
|
||||
}
|
||||
}else{
|
||||
$("#networElementTypeTR").hide();
|
||||
}
|
||||
if(data.nodeType==0&&data.specialServerType!=0){
|
||||
$("#nodeType option:last").attr("selected","selected");
|
||||
$("#specialServerTypeTR").show();
|
||||
$("#specialServerType").val(data.specialServerType);
|
||||
}else{
|
||||
$("#nodeType option:first").val(data.nodeType);
|
||||
$("#specialServerTypeTR").hide();
|
||||
}
|
||||
//设置网元类型
|
||||
$("#networElementType").val(data.networElementType);
|
||||
//设置用户名
|
||||
$("#nodeUserName").val(data.nodeUserName);
|
||||
//设置密码
|
||||
$("#nodePassword").val(data.nodePassword);
|
||||
//设置机柜编号
|
||||
$("#nodeBoxIspn").val(data.nodeBoxIspn);
|
||||
//设置机柜起始U位
|
||||
vstart = data.nodeBeginUType
|
||||
//设置节点厚度
|
||||
$("#nodeUType").val(data.nodeUType);
|
||||
/* $("#nodeUType").trigger("onchange"); */
|
||||
nodeUTypeChange()
|
||||
//设置节点IP信息
|
||||
$("#nodeIpInfo").val(data.nodeIpInfo);
|
||||
//设置节点描述
|
||||
$("#nodeDesc").val(data.nodeDesc);
|
||||
$("#nodeIp").next().html("i18n_addNodeInfo.message.nodeIp_n81i");
|
||||
}
|
||||
}
|
||||
}else{
|
||||
clearInfo();
|
||||
}
|
||||
},
|
||||
"json"
|
||||
);
|
||||
}
|
||||
|
||||
function clearInfo(){
|
||||
$("#nodeMac").val("");
|
||||
$("#nNa").val("");
|
||||
/* $("#nodeType").val(0); */
|
||||
$("#nodeType option:first").attr("selected","selected");
|
||||
$("#networElementTypeTR").hide();
|
||||
$("#networElementType").val("");
|
||||
$("#nodeUserName").val("");
|
||||
$("#nodePassword").val("");
|
||||
$("#nodeBoxIspn").val("");
|
||||
$("#version2").attr("checked","checked");
|
||||
$("#nodeUType").val("");
|
||||
$("#nodeBeginUType").empty();
|
||||
$("#nodeBeginUType").append("<option value=''>i18n_addNodeInfo.message.selectDefault_n81i</option>");
|
||||
$("#nodeIpInfo").val("");
|
||||
$("#nodeDesc").val("");
|
||||
$("#nodeIp").next().html("");
|
||||
}
|
||||
//-- 节点厚度(U位) 事件绑定 由节点厚度(U位)决定起始U位的可选项
|
||||
function nodeUTypeChange(){
|
||||
if(isNaN($("#nodeUType").val())){
|
||||
alert("i18n_addNodeInfo.message.nodeUType_n81i");
|
||||
$("#nodeUType").val("");
|
||||
$("#nodeBeginUType").empty();
|
||||
$("#nodeBeginUType").append("<option value=''>i18n_addNodeInfo.message.selectDefault_n81i</option>");
|
||||
$("#nodeUType").focus();
|
||||
return;
|
||||
}
|
||||
$("#nodeBeginUType").empty();
|
||||
$("#nodeBeginUType").append("<option value=''>i18n_addNodeInfo.message.selectDefault_n81i</option>");
|
||||
var boxIspn = $("#nodeBoxIspn").val();
|
||||
var nodeIp = $("#nodeIp").val();
|
||||
var curVal = $("#nodeUType").val();
|
||||
if(curVal!=""){
|
||||
$.post("<c:url value='/nodeGroupManage/nodeManage!getBoxFreePosition.do'/>",
|
||||
{"nodeBoxIspn":boxIspn,"nodeIp":nodeIp,"nodeUType":curVal},
|
||||
function(data){
|
||||
// 追加option元素
|
||||
if(data!=null && data!=""){
|
||||
var optionStr="";
|
||||
$.each(data, function(i,val){
|
||||
if(i==0){
|
||||
optionStr = "<option selected='selected' value='"+val+"'>" + val + "</option>"
|
||||
}else{
|
||||
optionStr = "<option value='"+val+"'>" + val + "</option>"
|
||||
}
|
||||
$("#nodeBeginUType").append(optionStr);
|
||||
});
|
||||
}
|
||||
// 自动匹配位置
|
||||
if(vstart!=null && vstart!=""){
|
||||
$("#nodeBeginUType >option[value='"+vstart+"']").attr("selected",true);
|
||||
vstart = null;//该值改变后只能使用一次,所以一经调用就将其清空
|
||||
}
|
||||
}, "json");
|
||||
}
|
||||
}
|
||||
|
||||
// -----界面机柜及位置相关处理
|
||||
$(function(){
|
||||
//-- 机柜 事件绑定 清空节点起始U位和节点厚度(U位)
|
||||
$("#nodeBoxIspn").bind("input",function(){
|
||||
$("#nodeBeginUType").empty();
|
||||
$("#nodeBeginUType").append("<option value=''>i18n_addNodeInfo.message.selectDefault_n81i</option>");
|
||||
$("#nodeUType").val("");
|
||||
});
|
||||
|
||||
//联想查询修改成列表形式
|
||||
jQuery.post("<c:url value='/nodePosition/boxSet!getAllBoxsIspn.do' />",{},function(data,textStatus){
|
||||
var everyItems=data.split(";");
|
||||
var allName=new Array();
|
||||
for(var j=0;j<everyItems.length;j++){
|
||||
if(j!=(everyItems.length-1)){
|
||||
var getN=everyItems[j];
|
||||
allName[j]=new Array('',getN,'');
|
||||
}
|
||||
}
|
||||
jQuery("#nodeBoxIspn").suggest(allName,{hot_list:allName,attachObject:"#suggest1"});
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list">
|
||||
<div class="box_2">
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="goBack()" value="i18n_addNodeInfo.button.back_n81i"/>
|
||||
</div>
|
||||
<div style="height: 25px"></div>
|
||||
<form action="" name="Nodeform" method="post" style="border:0px;">
|
||||
<input type="hidden" name="position" value="${position }" />
|
||||
<input type="hidden" name="nodeGroupId" value="${nodeGroupId }" id="nodeGroupId"/>
|
||||
<input type="hidden" name="fromWhere" value="${fromWhere }"/>
|
||||
<input type="hidden" name="type" value="${type }"/>
|
||||
<input type="hidden" name="showStopNGroup" value="${showStopNGroup }" />
|
||||
<input type="hidden" name="isValid" value="${isValid }" />
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table1">
|
||||
<tr>
|
||||
<td colspan="4" class="color_7">
|
||||
<strong>i18n_addNodeInfo.text.title_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nodeIp_n81i:
|
||||
</td>
|
||||
<td class="color_3" width="30%" align="left">
|
||||
<input type="text" name="nodeTable.nodeIp" id="nodeIp"
|
||||
style="width: 155px;" onchange="checkNodeIp()" />
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nodeMac_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<input type="text" name="nodeTable.nodeMac" id="nodeMac"
|
||||
style="width: 155px;" />
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nNa_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left" >
|
||||
<input type="text" name="nodeTable.nodeName" id="nNa"
|
||||
style="width: 155px;" />
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nodeType_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<select name="nodeTable.nodeType" id="nodeType" onchange="nodeTypeChange()"
|
||||
style="width: 161px;" >
|
||||
<option value="0">
|
||||
i18n_addNodeInfo.message.nodeType0_n81i
|
||||
</option>
|
||||
<option value="1">
|
||||
i18n_addNodeInfo.message.nodeType1_n81i
|
||||
</option>
|
||||
<option value="0">
|
||||
i18n_addNodeInfo.message.nodeType2_n81i
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="networElementTypeTR" style="display: none;">
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.networElementType_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left" colspan="3">
|
||||
<select name="nodeTable.networElementType" id="networElementType"
|
||||
style="width: 161px;" >
|
||||
<option value="">i18n_addNodeInfo.message.selectDefault_n81i</option>
|
||||
<c:forEach items="${optionList}" var="optionTable" >
|
||||
<option value="${optionTable.typeCode}" <c:if test="${optionTable.typeCode == nodeTable.networElementType}">selected="selected"</c:if>>
|
||||
${optionTable.typeValue}
|
||||
</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="specialServerTypeTR" style="display: none;">
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.specialServerType_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left" colspan="3">
|
||||
<select name="nodeTable.specialServerType" id="specialServerType"
|
||||
style="width: 161px;" >
|
||||
<option value="">i18n_addNodeInfo.message.selectDefault_n81i</option>
|
||||
<c:forEach items="${optionList2}" var="optionTable" >
|
||||
<option value="${optionTable.typeCode}" <c:if test="${optionTable.typeCode == nodeTable.specialServerType}">selected="selected"</c:if>>
|
||||
${optionTable.typeValue}
|
||||
</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nodeUserName_n81i:
|
||||
</td>
|
||||
<td class="color_6" width="30%" align="left">
|
||||
<input type="text" name="nodeTable.nodeUserName" id="nodeUserName"
|
||||
style="width: 155px;" />
|
||||
</td>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_addNodeInfo.text.nodePassword_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<c:choose>
|
||||
<c:when test="${jsbh}">
|
||||
<input type="text" name="nodeTable.nodePassword" id="nodePassword"
|
||||
style="width: 155px;" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<input type="password" name="nodeTable.nodePassword" id="nodePassword"
|
||||
style="width: 155px;" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.nodeBoxIspn_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<input name="nodeTable.nodeBoxIspn" id="nodeBoxIspn" style="width: 156px;" title="i18n_addNodeInfo.message.nodeBoxIspn_n81i"/>
|
||||
<font color="red">*</font>
|
||||
<div id='suggest1' class="ac_results"></div>
|
||||
</td>
|
||||
<td class="color_1 snmpVersionType" align="right" style="display: none;">
|
||||
i18n_addNodeInfo.text.snmpVersion_n81i:
|
||||
</td>
|
||||
<td class="color_6 snmpVersionType" align="left" style="display: none;">
|
||||
<input type="radio" name="nodeTable.snmpVersion" value="1" id="version2" checked="checked"/>VERSION2C
|
||||
<input type="radio" name="nodeTable.snmpVersion" value="3" id="version3"/>VERSION3
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.nodeUType_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<input type="text" name="nodeTable.nodeUType" id="nodeUType"
|
||||
style="width: 155px;" oninput="nodeUTypeChange()"/>
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.nodeBeginUType_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left">
|
||||
<select name="nodeTable.nodeBeginUType" id="nodeBeginUType"
|
||||
style="width: 161px;" >
|
||||
<option value="">
|
||||
i18n_addNodeInfo.message.selectDefault_n81i
|
||||
</option>
|
||||
</select>
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.nodeIpInfo_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
<textarea rows="4" cols="40" name="nodeTable.nodeIpInfo"
|
||||
id="nodeIpInfo" style="width: 155px; height: 50px;"
|
||||
></textarea>
|
||||
</td>
|
||||
<td class="color_1" align="right">
|
||||
i18n_addNodeInfo.text.nodeDesc_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
<textarea rows="4" cols="40" name="nodeTable.nodeDesc"
|
||||
id="nodeDesc" style="width: 155px; height: 50px;"
|
||||
></textarea>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_7" colspan="4" align="right">
|
||||
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="add()" value="i18n_addNodeInfo.button.submit_n81i"/>
|
||||
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="javascript:document.forms['Nodeform'].reset()"
|
||||
value="i18n_addNodeInfo.button.reset_n81i"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,284 +1,284 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://"
|
||||
+ request.getServerName() + ":" + request.getServerPort()
|
||||
+ path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_dni.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/css/suggest.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.js' />"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/onmouse.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.tools.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/j.suggest.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
function goBack(){
|
||||
document.Nodeform.action="<%=path%>/nodeGroupManage/nodeManage!executeAction.do?action=query";
|
||||
document.Nodeform.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list">
|
||||
<div class="box_2">
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="goBack()" value="i18n_dni.button.back_n81i"/>
|
||||
</div>
|
||||
<div style="height: 25px"></div>
|
||||
<form action="" name="Nodeform" method="post" style="border:0px;">
|
||||
<input type="hidden" name="position" value="${position }" />
|
||||
<input type="hidden" name="pageNo" value="${pageNo }" />
|
||||
<input type="hidden" name="pageSize" value="${pageSize }" />
|
||||
<input type="hidden" name="nodeGroupId" value="${nodeGroupId }" />
|
||||
<input type="hidden" name="fromWhere" value="${fromWhere }"/>
|
||||
<input type="hidden" name="type" value="${type }"/>
|
||||
<input type="hidden" name="showStopNGroup" value="${showStopNGroup }" />
|
||||
<input type="hidden" name="isValid" value="${isValid }" />
|
||||
<input type="hidden" name="nodeIpVo" value="${nodeIpVo }" />
|
||||
<input type="hidden" name="nodeNameVo" value="${nodeNameVo }" />
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table1">
|
||||
<tr>
|
||||
<td colspan="4" class="color_top">
|
||||
<strong>i18n_dni.text.title_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${dsinfo eq null }">
|
||||
<tr>
|
||||
<td colspan="4" class="color_1">
|
||||
<font color="red" >
|
||||
<c:if test="${nodeTable.nodeType==0 }">i18n_dni.message.nodeType0_n81i</c:if>
|
||||
<c:if test="${nodeTable.nodeType==1 }">i18n_dni.message.nodeType1_n81i</c:if>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${dsinfo ne null }">
|
||||
<tr>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_dni.text.hostName_n81i:
|
||||
</td>
|
||||
<td class="color_3" width="30%" align="left">
|
||||
${dsinfo.hostName }
|
||||
</td>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_dni.text.operateSystem_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.operateSystem }
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_dni.text.cpuCnt_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.cpuCnt }
|
||||
</td>
|
||||
<td class="color_1" align="right">
|
||||
i18n_dni.text.cpuMhz_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.cpuMhz }
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_dni.text.memorySize_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.memorySize }
|
||||
</td>
|
||||
<td class="color_1" align="right" >
|
||||
i18n_dni.text.diskSize_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
${dsinfo.diskSize }
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_dni.text.swapSize_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.swapSize }
|
||||
</td>
|
||||
<td class="color_1" align="right" >
|
||||
i18n_dni.text.netCnt_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
${dsinfo.netCnt }
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_dni.text.dataCheckTime_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.dataCheckTimeStr }
|
||||
</td>
|
||||
<td class="color_1" align="right" >
|
||||
i18n_dni.text.dataArriveTime_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
${dsinfo.dataArriveTimeStr }
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4" class="color_top">
|
||||
<strong>i18n_dni.text.diskInfo_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${fn:length(dsiDiskList) eq 0}">
|
||||
<tr>
|
||||
<td colspan="4" class="color_1">
|
||||
<font color="red" >
|
||||
i18n_dni.message.noDataGetFromDisk_n81i
|
||||
</font>
|
||||
</td>
|
||||
</c:if>
|
||||
<c:if test="${fn:length(dsiDiskList) > 0}">
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table1">
|
||||
<tr>
|
||||
<td class="color_top" width="10%">
|
||||
i18n_dni.text.index_n81i
|
||||
</td>
|
||||
<td class="color_top" width="45%">
|
||||
i18n_dni.text.diskRang_n81i
|
||||
</td>
|
||||
<td class="color_top" width="45%">
|
||||
i18n_dni.text.rangSize_n81i
|
||||
</td>
|
||||
</tr>
|
||||
<c:forEach items="${dsiDiskList}" var="disk" varStatus="diskIndex" >
|
||||
<c:set var="color" value="color_1" />
|
||||
<c:set var="color_end" value="color_7" />
|
||||
<c:if test="${diskIndex.index%2!=0 }">
|
||||
<c:set var="color" value="color_3" />
|
||||
<c:set var="color_end" value="color_6" />
|
||||
</c:if>
|
||||
<tr>
|
||||
<td class="${color }" >
|
||||
${diskIndex.index+1 }
|
||||
</td>
|
||||
<td class="${color }" >
|
||||
${disk.diskRang }
|
||||
</td>
|
||||
<td class="${color }" >
|
||||
${disk.diskSize }
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<tr>
|
||||
<td colspan="4" class="color_top">
|
||||
<strong>i18n_dni.text.netInfo_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${fn:length(dsiDiskList) eq 0}">
|
||||
<tr>
|
||||
<td colspan="4" class="color_1">
|
||||
<font color="red" >
|
||||
i18n_dni.message.noDataGetFromNet_n81i
|
||||
</font>
|
||||
</td>
|
||||
</c:if>
|
||||
<c:if test="${fn:length(dsiDiskList) > 0}">
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table1">
|
||||
<tr>
|
||||
<td class="color_top" width="4%">
|
||||
i18n_dni.text.index_n81i
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
i18n_dni.text.netName_n81i
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
i18n_dni.text.netState_n81i
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
i18n_dni.text.netSpeed_n81i
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
IP
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
i18n_dni.text.netSubmask_n81i
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
i18n_dni.text.netGateway_n81i
|
||||
</td>
|
||||
<td class="color_8" width="10%">
|
||||
i18n_dni.text.netMac_n81i
|
||||
</td>
|
||||
</tr>
|
||||
<c:forEach items="${dsiNetList}" var="net" varStatus="netIndex" >
|
||||
<c:set var="color" value="color_1" />
|
||||
<c:set var="color_end" value="color_7" />
|
||||
<c:if test="${netIndex.index%2!=0 }">
|
||||
<c:set var="color" value="color_3" />
|
||||
<c:set var="color_end" value="color_6" />
|
||||
</c:if>
|
||||
<tr>
|
||||
<td class="${color }">
|
||||
${netIndex.index+1}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netName}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netState}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netSpeed}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netIp}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netSubmask}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netGateway}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netMac}
|
||||
</td>
|
||||
</tr>
|
||||
<c:set var="index" value="${index + 1}" />
|
||||
</c:forEach>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://"
|
||||
+ request.getServerName() + ":" + request.getServerPort()
|
||||
+ path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_dni.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/css/suggest.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.js' />"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/onmouse.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.tools.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/j.suggest.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
function goBack(){
|
||||
document.Nodeform.action="<%=path%>/nodeGroupManage/nodeManage!executeAction.do?action=query";
|
||||
document.Nodeform.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list">
|
||||
<div class="box_2">
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="goBack()" value="i18n_dni.button.back_n81i"/>
|
||||
</div>
|
||||
<div style="height: 25px"></div>
|
||||
<form action="" name="Nodeform" method="post" style="border:0px;">
|
||||
<input type="hidden" name="position" value="${position }" />
|
||||
<input type="hidden" name="pageNo" value="${pageNo }" />
|
||||
<input type="hidden" name="pageSize" value="${pageSize }" />
|
||||
<input type="hidden" name="nodeGroupId" value="${nodeGroupId }" />
|
||||
<input type="hidden" name="fromWhere" value="${fromWhere }"/>
|
||||
<input type="hidden" name="type" value="${type }"/>
|
||||
<input type="hidden" name="showStopNGroup" value="${showStopNGroup }" />
|
||||
<input type="hidden" name="isValid" value="${isValid }" />
|
||||
<input type="hidden" name="nodeIpVo" value="${nodeIpVo }" />
|
||||
<input type="hidden" name="nodeNameVo" value="${nodeNameVo }" />
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table1">
|
||||
<tr>
|
||||
<td colspan="4" class="color_top">
|
||||
<strong>i18n_dni.text.title_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${dsinfo eq null }">
|
||||
<tr>
|
||||
<td colspan="4" class="color_1">
|
||||
<font color="red" >
|
||||
<c:if test="${nodeTable.nodeType==0 }">i18n_dni.message.nodeType0_n81i</c:if>
|
||||
<c:if test="${nodeTable.nodeType==1 }">i18n_dni.message.nodeType1_n81i</c:if>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${dsinfo ne null }">
|
||||
<tr>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_dni.text.hostName_n81i:
|
||||
</td>
|
||||
<td class="color_3" width="30%" align="left">
|
||||
${dsinfo.hostName }
|
||||
</td>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_dni.text.operateSystem_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.operateSystem }
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" width="20%" align="right">
|
||||
i18n_dni.text.cpuCnt_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.cpuCnt }
|
||||
</td>
|
||||
<td class="color_1" align="right">
|
||||
i18n_dni.text.cpuMhz_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.cpuMhz }
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_dni.text.memorySize_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.memorySize }
|
||||
</td>
|
||||
<td class="color_1" align="right" >
|
||||
i18n_dni.text.diskSize_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
${dsinfo.diskSize }
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_dni.text.swapSize_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.swapSize }
|
||||
</td>
|
||||
<td class="color_1" align="right" >
|
||||
i18n_dni.text.netCnt_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
${dsinfo.netCnt }
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_dni.text.dataCheckTime_n81i:
|
||||
</td>
|
||||
<td class="color_6" align="left">
|
||||
${dsinfo.dataCheckTimeStr }
|
||||
</td>
|
||||
<td class="color_1" align="right" >
|
||||
i18n_dni.text.dataArriveTime_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
${dsinfo.dataArriveTimeStr }
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4" class="color_top">
|
||||
<strong>i18n_dni.text.diskInfo_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${fn:length(dsiDiskList) eq 0}">
|
||||
<tr>
|
||||
<td colspan="4" class="color_1">
|
||||
<font color="red" >
|
||||
i18n_dni.message.noDataGetFromDisk_n81i
|
||||
</font>
|
||||
</td>
|
||||
</c:if>
|
||||
<c:if test="${fn:length(dsiDiskList) > 0}">
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table1">
|
||||
<tr>
|
||||
<td class="color_top" width="10%">
|
||||
i18n_dni.text.index_n81i
|
||||
</td>
|
||||
<td class="color_top" width="45%">
|
||||
i18n_dni.text.diskRang_n81i
|
||||
</td>
|
||||
<td class="color_top" width="45%">
|
||||
i18n_dni.text.rangSize_n81i
|
||||
</td>
|
||||
</tr>
|
||||
<c:forEach items="${dsiDiskList}" var="disk" varStatus="diskIndex" >
|
||||
<c:set var="color" value="color_1" />
|
||||
<c:set var="color_end" value="color_7" />
|
||||
<c:if test="${diskIndex.index%2!=0 }">
|
||||
<c:set var="color" value="color_3" />
|
||||
<c:set var="color_end" value="color_6" />
|
||||
</c:if>
|
||||
<tr>
|
||||
<td class="${color }" >
|
||||
${diskIndex.index+1 }
|
||||
</td>
|
||||
<td class="${color }" >
|
||||
${disk.diskRang }
|
||||
</td>
|
||||
<td class="${color }" >
|
||||
${disk.diskSize }
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<tr>
|
||||
<td colspan="4" class="color_top">
|
||||
<strong>i18n_dni.text.netInfo_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${fn:length(dsiDiskList) eq 0}">
|
||||
<tr>
|
||||
<td colspan="4" class="color_1">
|
||||
<font color="red" >
|
||||
i18n_dni.message.noDataGetFromNet_n81i
|
||||
</font>
|
||||
</td>
|
||||
</c:if>
|
||||
<c:if test="${fn:length(dsiDiskList) > 0}">
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table1">
|
||||
<tr>
|
||||
<td class="color_top" width="4%">
|
||||
i18n_dni.text.index_n81i
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
i18n_dni.text.netName_n81i
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
i18n_dni.text.netState_n81i
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
i18n_dni.text.netSpeed_n81i
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
IP
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
i18n_dni.text.netSubmask_n81i
|
||||
</td>
|
||||
<td class="color_top" width="8%">
|
||||
i18n_dni.text.netGateway_n81i
|
||||
</td>
|
||||
<td class="color_8" width="10%">
|
||||
i18n_dni.text.netMac_n81i
|
||||
</td>
|
||||
</tr>
|
||||
<c:forEach items="${dsiNetList}" var="net" varStatus="netIndex" >
|
||||
<c:set var="color" value="color_1" />
|
||||
<c:set var="color_end" value="color_7" />
|
||||
<c:if test="${netIndex.index%2!=0 }">
|
||||
<c:set var="color" value="color_3" />
|
||||
<c:set var="color_end" value="color_6" />
|
||||
</c:if>
|
||||
<tr>
|
||||
<td class="${color }">
|
||||
${netIndex.index+1}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netName}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netState}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netSpeed}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netIp}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netSubmask}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netGateway}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${net.netMac}
|
||||
</td>
|
||||
</tr>
|
||||
<c:set var="index" value="${index + 1}" />
|
||||
</c:forEach>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,281 +1,281 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://"
|
||||
+ request.getServerName() + ":" + request.getServerPort()
|
||||
+ path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_nili.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/css/suggest.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/js/jBox/Skins/Gray/jbox.css'/>" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/onmouse.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.tools.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.suggest.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
//查询记录
|
||||
function qry(){
|
||||
document.form3.action = "<%=path%>/nodeGroupManage/nodeManage!executeAction.do?action=queryChild";
|
||||
document.form3.submit();
|
||||
}
|
||||
|
||||
var set_Id;
|
||||
var ajaxProperties = "";
|
||||
var ajaxTableName = "";
|
||||
var ajaxType = "";
|
||||
var id = "";
|
||||
var returnDiv = "";
|
||||
var ajaxValue = "";
|
||||
|
||||
function lianxiangkeydown() {
|
||||
clearTimeout(set_Id);
|
||||
}
|
||||
|
||||
function lianxiangkeyup(ajaxProperties1,ajaxTableName1,ajaxType1,id1,returnDiv1,ajaxValue1) {
|
||||
if(parent.parent.document.getElementById("lianxiangStatus").value=="2")
|
||||
{
|
||||
if(jQuery.trim(ajaxValue1)=="") return false;
|
||||
ajaxProperties = ajaxProperties1;
|
||||
ajaxTableName = ajaxTableName1;
|
||||
ajaxType = ajaxType1;
|
||||
id = id1;
|
||||
returnDiv = returnDiv1;
|
||||
|
||||
if(!checkStrNoDian(ajaxValue1)){
|
||||
ajaxValue = ajaxValue1;
|
||||
}else{
|
||||
clearTimeout(set_Id);
|
||||
alert('i18n_nili.message.inputInfo_n81i');
|
||||
$("#"+id).val('');
|
||||
return;
|
||||
}
|
||||
clearTimeout(set_Id);
|
||||
set_Id = setTimeout(ajaxForLianxiang,500);
|
||||
}
|
||||
}
|
||||
|
||||
function ajaxForLianxiang()
|
||||
{
|
||||
if(ajaxProperties == 'nodeIp'){
|
||||
url = "<%=path%>/nodeGroupManage/nodeManage!queryInfoForAjax.do";
|
||||
}else{
|
||||
url = "<%=path%>/sysManage/sysPopedomManage!queryInfoForAjax.do";
|
||||
}
|
||||
jQuery.post(url,
|
||||
{"ajaxProperties":ajaxProperties,"ajaxTableName":ajaxTableName,"ajaxType":ajaxType,"ajaxValue":ajaxValue},function(data)
|
||||
{
|
||||
var lianxiangList = data.split(",");
|
||||
jQuery("#"+id).suggest(lianxiangList,{hot_list:lianxiangList,attachObject:"#"+returnDiv});
|
||||
if(lianxiangList == ''){
|
||||
$("#"+id).css("color","#CBC0B6");
|
||||
}else{
|
||||
$("#"+id).css("color","#000000");
|
||||
}
|
||||
});
|
||||
}
|
||||
function ieBrowser(){
|
||||
if($.browser.msie){
|
||||
if($.browser.version.split('.')[0]<=7){
|
||||
return false;
|
||||
}else{
|
||||
return true;//ie8+
|
||||
}
|
||||
}
|
||||
}
|
||||
$(function(){
|
||||
/*
|
||||
var dh = document.body.clientHeight;
|
||||
var dhh = dh-60+"px;";
|
||||
var tableHeight = $("#info").height();
|
||||
if(tableHeight > dh-60){
|
||||
$("#maindiv").attr("style","margin-left:6px;overflow-y:auto;overflow-x:auto;width:99%;font-size:12px;height: "+dhh);
|
||||
if(ieBrowser()){
|
||||
$("#info").attr("style","width:100%;");
|
||||
}else{
|
||||
$("#info").attr("style","width:98.5%;");
|
||||
}
|
||||
}else{
|
||||
$("#maindiv").attr("style","margin-left:6px;overflow-y:auto;overflow-x:auto;width:98%;font-size:12px;height: "+dhh);
|
||||
$("#info").attr("style","width:100%;");
|
||||
}
|
||||
*/
|
||||
|
||||
$("#info").floatHeaderDiv();
|
||||
|
||||
|
||||
//--同步本页面高度到父页面
|
||||
var $iframe = $("#Ich",window.parent.document)
|
||||
if($iframe != null){
|
||||
//alert($iframe.css('height'));
|
||||
$iframe.css('height',document.body.scrollHeight);
|
||||
//
|
||||
window.parent.resetHeight();
|
||||
}else{
|
||||
//alert('未找到父项');
|
||||
}
|
||||
});
|
||||
|
||||
function downloadfile(fileName){
|
||||
document.form3.action="<c:url value='/'/>/download/downLoadFile!download.do?file="+fileName;
|
||||
document.form3.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body id="nodeBody">
|
||||
<div class="middle_list" id="box" style="overflow: hidden;">
|
||||
<!--中间部分右边开始-->
|
||||
<form name=form3 id="form3" action="<c:url value='nodeManage!queryNodeInfoChild.do'/>" method="post">
|
||||
<input type="hidden" name="nodeGroupId" value="${nodeGroupId }" />
|
||||
<input type="hidden" name = "isComplete" id="isComplete" value="${isComplete}"/>
|
||||
<input type="hidden" name="fromWhere" value="${fromWhere }"/>
|
||||
<div class="box_1">
|
||||
<label class="divTopText"><font class="selectText">i18n_nili.text.nodeState_n81i</font>
|
||||
<select name="nodeStateVo">
|
||||
<option value="">i18n_nili.message.selectDefault_n81i</option>
|
||||
<option value="0" <c:if test="${nodeStateVo==0}">selected=selected</c:if> >i18n_nili.message.online_n81i</option>
|
||||
<option value="1" <c:if test="${nodeStateVo==1}">selected=selected</c:if> >i18n_nili.message.downline_n81i</option>
|
||||
</select></label>
|
||||
<label class="divTopText"><font class="selectText">i18n_nili.text.nodeIp_n81i</font>
|
||||
<input type="text" id="nodeIpVo"
|
||||
onkeyup="lianxiangkeyup('nodeIp','NodeTable','String','nodeIpVo','suggest3',this.value);"
|
||||
name="nodeIpVo" title="i18n_nili.message.nodeIp_n81i" value="${nodeIpVo}" size="20" />
|
||||
<div id='suggest3' class="ac_results"></div></label>
|
||||
<label class="divTopText"><font class="selectText">i18n_nili.text.nodeName_n81i</font>
|
||||
<input type="text" id="nodeNameVo"
|
||||
onkeyup="lianxiangkeyup('nodeName','NodeTable','String','nodeNameVo','suggest1',this.value);"
|
||||
name="nodeNameVo" title="i18n_nili.message.nodeName_n81i" value="${nodeNameVo}" size="20" />
|
||||
<div id='suggest1' class="ac_results"></div></label>
|
||||
<img src="<c:url value='/images/button_chaxun.png'/>"
|
||||
class="img_middle2" onclick="javascript:qry();" />
|
||||
</div>
|
||||
<div id="maindiv" style="clear: left;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table" align="center" id="info">
|
||||
<tr>
|
||||
<td class="color_top" width="6%">
|
||||
i18n_nili.text.index_n81i
|
||||
</td>
|
||||
<td class="color_top" width="12%">
|
||||
i18n_nili.text.nodeIp_n81i
|
||||
</td>
|
||||
<td class="color_top" width="12%">
|
||||
i18n_nili.text.nodeName_n81i
|
||||
</td>
|
||||
<td class="color_top" width="10%">
|
||||
i18n_nili.text.nodeType_n81i
|
||||
</td>
|
||||
<td class="color_top" width="10%">
|
||||
i18n_nili.text.nodeHight_n81i
|
||||
</td>
|
||||
<td class="color_top" width="12%">
|
||||
i18n_nili.text.systemId_n81i
|
||||
</td>
|
||||
<td class="color_top" width="12%">
|
||||
i18n_nili.text.nodeGroup_n81i
|
||||
</td>
|
||||
<td class="color_top" width="10%">
|
||||
i18n_nili.text.nodeState_n81i
|
||||
</td>
|
||||
<td class="color_top" width="15%">
|
||||
i18n_nili.text.createTime_n81i
|
||||
</td>
|
||||
</tr>
|
||||
<!-- 1、远程连接引入页面 -->
|
||||
<jsp:include page="/common/remoteConn.jsp" />
|
||||
<c:set var="index" value="${1}" />
|
||||
<c:choose>
|
||||
<c:when test="${fn:length(nodeList) > 0}">
|
||||
<c:forEach items="${nodeList}" var="node" varStatus="vs">
|
||||
<c:set var="color" value="color_1" />
|
||||
<c:set var="color_end" value="color_7" />
|
||||
<c:if test="${vs.count%2!=0 }">
|
||||
<c:set var="color" value="color_3" />
|
||||
<c:set var="color_end" value="color_6" />
|
||||
</c:if>
|
||||
<tr>
|
||||
<td class="${color }">
|
||||
${index+(pageNo-1)*pageSize}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
<!-- 2、 调用JS,此处远程连接调用JS在/common/remoteConn.jsp中 -->
|
||||
<a href="javascript:void(0);"
|
||||
onclick="remoteConn('${node.nodeSystemType }','${node.nodeIp}','${node.nodeType }', this)" >
|
||||
${node.nodeIp}
|
||||
</a>
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${node.nodeName}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
<c:if test="${node.nodeType==1}">
|
||||
<c:if test="${node.networElementType==1}">
|
||||
i18n_nili.message.specialDevice_n81i
|
||||
</c:if>
|
||||
<c:if test="${node.networElementType==2}">
|
||||
i18n_nili.message.diskArray_n81i
|
||||
</c:if>
|
||||
<c:if test="${node.networElementType==3}">
|
||||
i18n_nili.message.blockRouter_n81i
|
||||
</c:if>
|
||||
<c:if test="${node.networElementType==4}">
|
||||
i18n_nili.message.netElements_n81i
|
||||
</c:if>
|
||||
</c:if>
|
||||
<c:choose>
|
||||
<c:when test="${node.nodeType==0 && not empty node.specialServerType}">i18n_nili.text.specialServer_n81i</c:when>
|
||||
<c:when test="${node.nodeType==0}">i18n_nili.text.server_n81i</c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${node.nodeUType}U
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${node.systemIdName}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${node.groupIdName}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
<c:if test="${node.nodeState=='1'}">i18n_nili.message.downline_n81i</c:if>
|
||||
<c:if test="${node.nodeState=='0'}">i18n_nili.message.online_n81i</c:if>
|
||||
</td>
|
||||
<td class="${color }">
|
||||
<fmt:formatDate value="${node.nodeCreatetime}" pattern="yyyy-MM-dd HH:mm:ss" />
|
||||
</td>
|
||||
</tr>
|
||||
<c:set var="index" value="${index + 1}" />
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<td colspan="9" height="35" class="color_6" align="center">
|
||||
i18n_nili.text.noRecord_n81i
|
||||
</td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</table>
|
||||
</div>
|
||||
<c:if test="${!empty nodeList}">
|
||||
<div id="divBoot">
|
||||
<jsp:include page="/common/page.jsp" />
|
||||
</div>
|
||||
</c:if>
|
||||
<!--中间部分右边结束-->
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://"
|
||||
+ request.getServerName() + ":" + request.getServerPort()
|
||||
+ path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_nili.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/css/suggest.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/js/jBox/Skins/Gray/jbox.css'/>" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/onmouse.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.tools.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.suggest.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
//查询记录
|
||||
function qry(){
|
||||
document.form3.action = "<%=path%>/nodeGroupManage/nodeManage!executeAction.do?action=queryChild";
|
||||
document.form3.submit();
|
||||
}
|
||||
|
||||
var set_Id;
|
||||
var ajaxProperties = "";
|
||||
var ajaxTableName = "";
|
||||
var ajaxType = "";
|
||||
var id = "";
|
||||
var returnDiv = "";
|
||||
var ajaxValue = "";
|
||||
|
||||
function lianxiangkeydown() {
|
||||
clearTimeout(set_Id);
|
||||
}
|
||||
|
||||
function lianxiangkeyup(ajaxProperties1,ajaxTableName1,ajaxType1,id1,returnDiv1,ajaxValue1) {
|
||||
if(parent.parent.document.getElementById("lianxiangStatus").value=="2")
|
||||
{
|
||||
if(jQuery.trim(ajaxValue1)=="") return false;
|
||||
ajaxProperties = ajaxProperties1;
|
||||
ajaxTableName = ajaxTableName1;
|
||||
ajaxType = ajaxType1;
|
||||
id = id1;
|
||||
returnDiv = returnDiv1;
|
||||
|
||||
if(!checkStrNoDian(ajaxValue1)){
|
||||
ajaxValue = ajaxValue1;
|
||||
}else{
|
||||
clearTimeout(set_Id);
|
||||
alert('i18n_nili.message.inputInfo_n81i');
|
||||
$("#"+id).val('');
|
||||
return;
|
||||
}
|
||||
clearTimeout(set_Id);
|
||||
set_Id = setTimeout(ajaxForLianxiang,500);
|
||||
}
|
||||
}
|
||||
|
||||
function ajaxForLianxiang()
|
||||
{
|
||||
if(ajaxProperties == 'nodeIp'){
|
||||
url = "<%=path%>/nodeGroupManage/nodeManage!queryInfoForAjax.do";
|
||||
}else{
|
||||
url = "<%=path%>/sysManage/sysPopedomManage!queryInfoForAjax.do";
|
||||
}
|
||||
jQuery.post(url,
|
||||
{"ajaxProperties":ajaxProperties,"ajaxTableName":ajaxTableName,"ajaxType":ajaxType,"ajaxValue":ajaxValue},function(data)
|
||||
{
|
||||
var lianxiangList = data.split(",");
|
||||
jQuery("#"+id).suggest(lianxiangList,{hot_list:lianxiangList,attachObject:"#"+returnDiv});
|
||||
if(lianxiangList == ''){
|
||||
$("#"+id).css("color","#CBC0B6");
|
||||
}else{
|
||||
$("#"+id).css("color","#000000");
|
||||
}
|
||||
});
|
||||
}
|
||||
function ieBrowser(){
|
||||
if($.browser.msie){
|
||||
if($.browser.version.split('.')[0]<=7){
|
||||
return false;
|
||||
}else{
|
||||
return true;//ie8+
|
||||
}
|
||||
}
|
||||
}
|
||||
$(function(){
|
||||
/*
|
||||
var dh = document.body.clientHeight;
|
||||
var dhh = dh-60+"px;";
|
||||
var tableHeight = $("#info").height();
|
||||
if(tableHeight > dh-60){
|
||||
$("#maindiv").attr("style","margin-left:6px;overflow-y:auto;overflow-x:auto;width:99%;font-size:12px;height: "+dhh);
|
||||
if(ieBrowser()){
|
||||
$("#info").attr("style","width:100%;");
|
||||
}else{
|
||||
$("#info").attr("style","width:98.5%;");
|
||||
}
|
||||
}else{
|
||||
$("#maindiv").attr("style","margin-left:6px;overflow-y:auto;overflow-x:auto;width:98%;font-size:12px;height: "+dhh);
|
||||
$("#info").attr("style","width:100%;");
|
||||
}
|
||||
*/
|
||||
|
||||
$("#info").floatHeaderDiv();
|
||||
|
||||
|
||||
//--同步本页面高度到父页面
|
||||
var $iframe = $("#Ich",window.parent.document)
|
||||
if($iframe != null){
|
||||
//alert($iframe.css('height'));
|
||||
$iframe.css('height',document.body.scrollHeight);
|
||||
//
|
||||
window.parent.resetHeight();
|
||||
}else{
|
||||
//alert('未找到父项');
|
||||
}
|
||||
});
|
||||
|
||||
function downloadfile(fileName){
|
||||
document.form3.action="<c:url value='/'/>/download/downLoadFile!download.do?file="+fileName;
|
||||
document.form3.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body id="nodeBody">
|
||||
<div class="middle_list" id="box" style="overflow: hidden;">
|
||||
<!--中间部分右边开始-->
|
||||
<form name=form3 id="form3" action="<c:url value='nodeManage!queryNodeInfoChild.do'/>" method="post">
|
||||
<input type="hidden" name="nodeGroupId" value="${nodeGroupId }" />
|
||||
<input type="hidden" name = "isComplete" id="isComplete" value="${isComplete}"/>
|
||||
<input type="hidden" name="fromWhere" value="${fromWhere }"/>
|
||||
<div class="box_1">
|
||||
<label class="divTopText"><font class="selectText">i18n_nili.text.nodeState_n81i</font>
|
||||
<select name="nodeStateVo">
|
||||
<option value="">i18n_nili.message.selectDefault_n81i</option>
|
||||
<option value="0" <c:if test="${nodeStateVo==0}">selected=selected</c:if> >i18n_nili.message.online_n81i</option>
|
||||
<option value="1" <c:if test="${nodeStateVo==1}">selected=selected</c:if> >i18n_nili.message.downline_n81i</option>
|
||||
</select></label>
|
||||
<label class="divTopText"><font class="selectText">i18n_nili.text.nodeIp_n81i</font>
|
||||
<input type="text" id="nodeIpVo"
|
||||
onkeyup="lianxiangkeyup('nodeIp','NodeTable','String','nodeIpVo','suggest3',this.value);"
|
||||
name="nodeIpVo" title="i18n_nili.message.nodeIp_n81i" value="${nodeIpVo}" size="20" />
|
||||
<div id='suggest3' class="ac_results"></div></label>
|
||||
<label class="divTopText"><font class="selectText">i18n_nili.text.nodeName_n81i</font>
|
||||
<input type="text" id="nodeNameVo"
|
||||
onkeyup="lianxiangkeyup('nodeName','NodeTable','String','nodeNameVo','suggest1',this.value);"
|
||||
name="nodeNameVo" title="i18n_nili.message.nodeName_n81i" value="${nodeNameVo}" size="20" />
|
||||
<div id='suggest1' class="ac_results"></div></label>
|
||||
<img src="<c:url value='/images/button_chaxun.png'/>"
|
||||
class="img_middle2" onclick="javascript:qry();" />
|
||||
</div>
|
||||
<div id="maindiv" style="clear: left;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table" align="center" id="info">
|
||||
<tr>
|
||||
<td class="color_top" width="6%">
|
||||
i18n_nili.text.index_n81i
|
||||
</td>
|
||||
<td class="color_top" width="12%">
|
||||
i18n_nili.text.nodeIp_n81i
|
||||
</td>
|
||||
<td class="color_top" width="12%">
|
||||
i18n_nili.text.nodeName_n81i
|
||||
</td>
|
||||
<td class="color_top" width="10%">
|
||||
i18n_nili.text.nodeType_n81i
|
||||
</td>
|
||||
<td class="color_top" width="10%">
|
||||
i18n_nili.text.nodeHight_n81i
|
||||
</td>
|
||||
<td class="color_top" width="12%">
|
||||
i18n_nili.text.systemId_n81i
|
||||
</td>
|
||||
<td class="color_top" width="12%">
|
||||
i18n_nili.text.nodeGroup_n81i
|
||||
</td>
|
||||
<td class="color_top" width="10%">
|
||||
i18n_nili.text.nodeState_n81i
|
||||
</td>
|
||||
<td class="color_top" width="15%">
|
||||
i18n_nili.text.createTime_n81i
|
||||
</td>
|
||||
</tr>
|
||||
<!-- 1、远程连接引入页面 -->
|
||||
<jsp:include page="/common/remoteConn.jsp" />
|
||||
<c:set var="index" value="${1}" />
|
||||
<c:choose>
|
||||
<c:when test="${fn:length(nodeList) > 0}">
|
||||
<c:forEach items="${nodeList}" var="node" varStatus="vs">
|
||||
<c:set var="color" value="color_1" />
|
||||
<c:set var="color_end" value="color_7" />
|
||||
<c:if test="${vs.count%2!=0 }">
|
||||
<c:set var="color" value="color_3" />
|
||||
<c:set var="color_end" value="color_6" />
|
||||
</c:if>
|
||||
<tr>
|
||||
<td class="${color }">
|
||||
${index+(pageNo-1)*pageSize}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
<!-- 2、 调用JS,此处远程连接调用JS在/common/remoteConn.jsp中 -->
|
||||
<a href="javascript:void(0);"
|
||||
onclick="remoteConn('${node.nodeSystemType }','${node.nodeIp}','${node.nodeType }', this)" >
|
||||
${node.nodeIp}
|
||||
</a>
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${node.nodeName}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
<c:if test="${node.nodeType==1}">
|
||||
<c:if test="${node.networElementType==1}">
|
||||
i18n_nili.message.specialDevice_n81i
|
||||
</c:if>
|
||||
<c:if test="${node.networElementType==2}">
|
||||
i18n_nili.message.diskArray_n81i
|
||||
</c:if>
|
||||
<c:if test="${node.networElementType==3}">
|
||||
i18n_nili.message.blockRouter_n81i
|
||||
</c:if>
|
||||
<c:if test="${node.networElementType==4}">
|
||||
i18n_nili.message.netElements_n81i
|
||||
</c:if>
|
||||
</c:if>
|
||||
<c:choose>
|
||||
<c:when test="${node.nodeType==0 && not empty node.specialServerType}">i18n_nili.text.specialServer_n81i</c:when>
|
||||
<c:when test="${node.nodeType==0}">i18n_nili.text.server_n81i</c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${node.nodeUType}U
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${node.systemIdName}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
${node.groupIdName}
|
||||
</td>
|
||||
<td class="${color }">
|
||||
<c:if test="${node.nodeState=='1'}">i18n_nili.message.downline_n81i</c:if>
|
||||
<c:if test="${node.nodeState=='0'}">i18n_nili.message.online_n81i</c:if>
|
||||
</td>
|
||||
<td class="${color }">
|
||||
<fmt:formatDate value="${node.nodeCreatetime}" pattern="yyyy-MM-dd HH:mm:ss" />
|
||||
</td>
|
||||
</tr>
|
||||
<c:set var="index" value="${index + 1}" />
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<td colspan="9" height="35" class="color_6" align="center">
|
||||
i18n_nili.text.noRecord_n81i
|
||||
</td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</table>
|
||||
</div>
|
||||
<c:if test="${!empty nodeList}">
|
||||
<div id="divBoot">
|
||||
<jsp:include page="/common/page.jsp" />
|
||||
</div>
|
||||
</c:if>
|
||||
<!--中间部分右边结束-->
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,95 +1,95 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_showErr.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<script type="text/javascript">
|
||||
function goBack(){
|
||||
document.form1.action="<%=path%>/nodeGroupManage/nodeManage.do?action=query";
|
||||
document.form1.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list">
|
||||
<!--中间部分右边开始-->
|
||||
<form action="" name="form1" id="form1" method="post">
|
||||
<input type="hidden" name="position" value="${position }" />
|
||||
<input type="hidden" name="nodeGroupId" value="${nodeGroupId }" />
|
||||
<input type="hidden" name="showStopNGroup" value="${showStopNGroup }" />
|
||||
<input type="hidden" name="isValid" value="${isValid }" />
|
||||
<table align="center" border="0" cellpadding="0"
|
||||
cellspacing="0" class="table1">
|
||||
<tr>
|
||||
<td height="30" class="color_7" colspan="6">
|
||||
<strong>i18n_showErr.text.title_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1">
|
||||
i18n_showErr.text.nodeIp_n81i
|
||||
</td>
|
||||
<td class="color_1">
|
||||
i18n_showErr.text.nodeName_n81i
|
||||
</td>
|
||||
<td class="color_1">
|
||||
i18n_showErr.text.nodeDesc_n81i
|
||||
</td>
|
||||
<td class="color_1">
|
||||
i18n_showErr.text.nodeType_n81i
|
||||
</td>
|
||||
<td class="color_1">
|
||||
i18n_showErr.text.nodeState_n81i
|
||||
</td>
|
||||
<td class="color_7">
|
||||
i18n_showErr.text.showError_n81i
|
||||
</td>
|
||||
</tr>
|
||||
<c:forEach items="${errorList}" var="info">
|
||||
<tr>
|
||||
<td class="color_3">
|
||||
${info.nodeIp }
|
||||
</td>
|
||||
<td class="color_3">
|
||||
${info.nodeName }
|
||||
</td>
|
||||
<td class="color_3">
|
||||
${info.nodeDesc }
|
||||
</td>
|
||||
<td class="color_3">
|
||||
${info.nodeType }
|
||||
</td>
|
||||
<td class="color_3">
|
||||
${info.nodeState }
|
||||
</td>
|
||||
<td class="color_6">
|
||||
${info.showError }
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
|
||||
<tr>
|
||||
<td class="color_7" colspan="6">
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'" onclick="goBack()" value="i18n_showErr.button.back_n81i"/>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--中间部分右边结束-->
|
||||
</div>
|
||||
</body>
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_showErr.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<script type="text/javascript">
|
||||
function goBack(){
|
||||
document.form1.action="<%=path%>/nodeGroupManage/nodeManage.do?action=query";
|
||||
document.form1.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list">
|
||||
<!--中间部分右边开始-->
|
||||
<form action="" name="form1" id="form1" method="post">
|
||||
<input type="hidden" name="position" value="${position }" />
|
||||
<input type="hidden" name="nodeGroupId" value="${nodeGroupId }" />
|
||||
<input type="hidden" name="showStopNGroup" value="${showStopNGroup }" />
|
||||
<input type="hidden" name="isValid" value="${isValid }" />
|
||||
<table align="center" border="0" cellpadding="0"
|
||||
cellspacing="0" class="table1">
|
||||
<tr>
|
||||
<td height="30" class="color_7" colspan="6">
|
||||
<strong>i18n_showErr.text.title_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1">
|
||||
i18n_showErr.text.nodeIp_n81i
|
||||
</td>
|
||||
<td class="color_1">
|
||||
i18n_showErr.text.nodeName_n81i
|
||||
</td>
|
||||
<td class="color_1">
|
||||
i18n_showErr.text.nodeDesc_n81i
|
||||
</td>
|
||||
<td class="color_1">
|
||||
i18n_showErr.text.nodeType_n81i
|
||||
</td>
|
||||
<td class="color_1">
|
||||
i18n_showErr.text.nodeState_n81i
|
||||
</td>
|
||||
<td class="color_7">
|
||||
i18n_showErr.text.showError_n81i
|
||||
</td>
|
||||
</tr>
|
||||
<c:forEach items="${errorList}" var="info">
|
||||
<tr>
|
||||
<td class="color_3">
|
||||
${info.nodeIp }
|
||||
</td>
|
||||
<td class="color_3">
|
||||
${info.nodeName }
|
||||
</td>
|
||||
<td class="color_3">
|
||||
${info.nodeDesc }
|
||||
</td>
|
||||
<td class="color_3">
|
||||
${info.nodeType }
|
||||
</td>
|
||||
<td class="color_3">
|
||||
${info.nodeState }
|
||||
</td>
|
||||
<td class="color_6">
|
||||
${info.showError }
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
|
||||
<tr>
|
||||
<td class="color_7" colspan="6">
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'" onclick="goBack()" value="i18n_showErr.button.back_n81i"/>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--中间部分右边结束-->
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user