This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nms-nmsweb/WebRoot/page/detection/switchInfo/toConfigPortChild.jsp
wangwenrui dc168fa9b9 1.事务添加
2.亦庄bug修改
3.业务系统添加逻辑变更
2018-09-29 09:52:11 +08:00

48 lines
1.8 KiB
Plaintext

<%@ page language="java" pageEncoding="utf-8"%>
<%@include file="/common/taglib.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<c:set var="index" value="${1}" />
<c:choose>
<c:when test="${fn:length(nodeFigureInfoList) > 0}">
<c:forEach items="${nodeFigureInfoList}" var="nodeFigureInfo" varStatus="vs">
<c:set var="color" value="color_1" />
<c:if test="${vs.count%2!=0 }">
<c:set var="color" value="color_3" />
</c:if>
<tr>
<td class="${color }">
${index+(pageNo-1)*pageSize}
</td>
<td class="${color }">
${nodeFigureInfo.nameFlag}
</td>
<td class="${color }">
<input type="hidden" name="batchNodeFigureInfo[${index+(pageNo-1)*pageSize}].id"
value="${nodeFigureInfo.id }" />
<input type="radio"
name="batchNodeFigureInfo[${index+(pageNo-1)*pageSize}].portsetState" value="1"
<c:if test="${nodeFigureInfo.portsetState !=2 }">checked</c:if> />
<font color="green">UP</font>
<input type="radio"
name="batchNodeFigureInfo[${index+(pageNo-1)*pageSize}].portsetState" value="2"
<c:if test="${nodeFigureInfo.portsetState ==2 }">checked</c:if> />
<font color="red">DOWN</font>
</td>
<td class="${color }">
<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:save('${index+(pageNo-1)*pageSize}');" value="i18n_tcpc.button.save_n81i" />
</td>
</tr>
<c:set var="index" value="${index + 1}" />
</c:forEach>
</c:when>
</c:choose>