diff --git a/WebRoot/main.jsp b/WebRoot/main.jsp index 5007e68..73e2c1d 100644 --- a/WebRoot/main.jsp +++ b/WebRoot/main.jsp @@ -1,677 +1,710 @@ -<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> -<%@include file="/common/taglib.jsp"%> -<%@ taglib uri="/WEB-INF/tlds/tree.tld" prefix="tree"%> -<%@ page import="nis.nms.domains.*"%> -<%@ page import="nis.nms.util.*"%> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" - + request.getServerName() + ":" + request.getServerPort() - + path + "/"; - XtYhJbxx user = (XtYhJbxx)request.getSession().getAttribute(Constant.SESSION_CZY_NAME); - String systemname = (String)request.getSession().getAttribute(Constant.SESSION_SYSTEM_LOGIN_NAME); - if(systemname == null)systemname=""; -%> - - - - - - -i18n_main.message.title_n81i - - - - - - - - - - - - - - - - - - - - - -<%----%> - - - - -
- - - - - - - - - - - - -
- i18n_main.message.title_n81i -
- - -
-
- - -
-
- - -
- - - - - - - -
-
- ▽i18n_main.text.show1_n81i▽ -
-
-
- - -
-
-
-
- - - - - -
- -
- -
- <% - String userName = ""; - if(user != null){userName = user.getYhbh();} - if("admin".equals(userName)){ - %> - - <% - }else{ - %> - - <% - } - %> -
-
- - - - - - -
- -
- - - - +<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> +<%@include file="/common/taglib.jsp"%> +<%@ taglib uri="/WEB-INF/tlds/tree.tld" prefix="tree"%> +<%@ page import="nis.nms.domains.*"%> +<%@ page import="nis.nms.util.*"%> +<% + String path = request.getContextPath(); + String basePath = request.getScheme() + "://" + + request.getServerName() + ":" + request.getServerPort() + + path + "/"; + XtYhJbxx user = (XtYhJbxx)request.getSession().getAttribute(Constant.SESSION_CZY_NAME); + String systemname = (String)request.getSession().getAttribute(Constant.SESSION_SYSTEM_LOGIN_NAME); + if(systemname == null)systemname=""; +%> + + + + + + +i18n_main.message.title_n81i + + + + + + + + + + + + + + + + + + + + + +<%----%> + + + + +
+ + + + + + + + + + + + +
+ i18n_main.message.title_n81i +
+ + +
+
+ + +
+
+ + +
+ + + + + + + +
+
+ ▽i18n_main.text.show1_n81i▽ +
+
+
+ + +
+
+
+
+ + + + + +
+ +
+ +
+ <% + String userName = ""; + if(user != null){userName = user.getYhbh();} + if("admin".equals(userName)){ + %> + + <% + }else{ + %> + + <% + } + %> +
+
+ + + + + + +
+ +
+ + + + diff --git a/WebRoot/page/show/show3DRoom.jsp b/WebRoot/page/show/show3DRoom.jsp index b7c563a..dbcb330 100644 --- a/WebRoot/page/show/show3DRoom.jsp +++ b/WebRoot/page/show/show3DRoom.jsp @@ -195,7 +195,7 @@ body { } } - with (oSon){ + with (oSon){ innerHTML = info; style.display = "block"; if(navigator.userAgent.indexOf("MSIE")>0) { @@ -207,6 +207,12 @@ body { y = e.clientY; style.left = x + window.document.body.scrollLeft-200 ; style.top = y + window.document.body.scrollTop-50; + }else if(navigator.userAgent.indexOf("Chrome")>0){ + var e = event ? event : window.event; + x = e.clientX; + y = e.clientY; + style.left = x + window.document.body.scrollLeft-200 ; + style.top = y + window.document.body.scrollTop-50; } } } diff --git a/WebRoot/page/show/showNodeRoom.jsp b/WebRoot/page/show/showNodeRoom.jsp index 9fc7657..5acb756 100644 --- a/WebRoot/page/show/showNodeRoom.jsp +++ b/WebRoot/page/show/showNodeRoom.jsp @@ -25,6 +25,8 @@ type="text/css"> +