diff --git a/src/main/java/com/nis/domain/configuration/BaseCfg.java b/src/main/java/com/nis/domain/configuration/BaseCfg.java index a664d1cef..ff75b0c11 100644 --- a/src/main/java/com/nis/domain/configuration/BaseCfg.java +++ b/src/main/java/com/nis/domain/configuration/BaseCfg.java @@ -154,7 +154,7 @@ public class BaseCfg extends BaseEntity implements Cloneable{ /** * 来函 */ - @ExcelField(title="letter",sort=50) + @ExcelField(title="letter",sort=58) protected String requestName; /** * 是否区域gk diff --git a/src/main/java/com/nis/domain/configuration/BaseIpCfg.java b/src/main/java/com/nis/domain/configuration/BaseIpCfg.java index c9ce097c0..146de6aa4 100644 --- a/src/main/java/com/nis/domain/configuration/BaseIpCfg.java +++ b/src/main/java/com/nis/domain/configuration/BaseIpCfg.java @@ -43,24 +43,24 @@ public class BaseIpCfg extends BaseCfg { */ @Expose @SerializedName("ipType") - @ExcelField(title="ip_type",dictType="IP_TYPE",sort=3) + @ExcelField(title="ip_type",dictType="IP_TYPE",sort=44) protected Integer ipType; - @ExcelField(title="ip_pattern",dictType="IP_PATTERN",sort=6) + @ExcelField(title="ip_pattern",dictType="IP_PATTERN",sort=45) protected Integer ipPattern; - @ExcelField(title="client_ip",sort=5) + @ExcelField(title="client_ip",sort=47) protected String srcIpAddress; - @ExcelField(title="server_ip",sort=4) + @ExcelField(title="server_ip",sort=46) protected String destIpAddress; - @ExcelField(title="port_pattern",dictType="PORT_PATTERN",sort=7) + @ExcelField(title="port_pattern",dictType="PORT_PATTERN",sort=48) protected Integer portPattern; - @ExcelField(title="client_port",sort=8) + @ExcelField(title="client_port",sort=49) protected String srcPort; - @ExcelField(title="server_port",sort=9) + @ExcelField(title="server_port",sort=50) protected String destPort; protected Integer dnsStrategyId; - @ExcelField(title="ir_type",dictType="IR_TYPE",sort=10) + @ExcelField(title="ir_type",dictType="IR_TYPE",sort=51) protected Integer irType; - @ExcelField(title="group_name",sort=11) + @ExcelField(title="group_name",sort=52) protected String groupName; private List ntcSubscribeIdCfgList; @@ -127,14 +127,14 @@ public class BaseIpCfg extends BaseCfg { */ @Expose @SerializedName("direction") - @ExcelField(title="direction",dictType="DIRECTION",sort=12) + @ExcelField(title="direction",dictType="DIRECTION",sort=53) protected Integer direction ; /** * 协议 */ @Expose @SerializedName("protocol") - @ExcelField(title="protocol",dictType="PROTOCOL",sort=13) + @ExcelField(title="protocol",dictType="PROTOCOL",sort=54) protected Integer protocol ; /** * 协议ID diff --git a/src/main/java/com/nis/domain/configuration/DdosIpCfg.java b/src/main/java/com/nis/domain/configuration/DdosIpCfg.java index aefa33776..91200ff60 100644 --- a/src/main/java/com/nis/domain/configuration/DdosIpCfg.java +++ b/src/main/java/com/nis/domain/configuration/DdosIpCfg.java @@ -23,11 +23,11 @@ public class DdosIpCfg extends BaseIpCfg { */ private static final long serialVersionUID = -5446903784736960824L; private String indexTable="ddos_ip_cfg"; - @ExcelField(title="antiddos_protocol",sort=22) + @ExcelField(title="antiddos_protocol",sort=41) private String antiddosProtocol;//目前支持TCP_SYN, DNS, NTP, - @ExcelField(title="bps_threadshold",sort=23) + @ExcelField(title="bps_threadshold",sort=42) private Long bpsThreadshold;// 即DDoS攻击保护动作触发阈值,每秒Bit数和每秒包数 - @ExcelField(title="pps_threadshold",sort=24) + @ExcelField(title="pps_threadshold",sort=43) private Long ppsThreadshold; public String getAntiddosProtocol() { diff --git a/src/main/java/com/nis/web/controller/configuration/manipulation/DdosCfgController.java b/src/main/java/com/nis/web/controller/configuration/manipulation/DdosCfgController.java index 53f192ae4..6ea6f246c 100644 --- a/src/main/java/com/nis/web/controller/configuration/manipulation/DdosCfgController.java +++ b/src/main/java/com/nis/web/controller/configuration/manipulation/DdosCfgController.java @@ -134,7 +134,7 @@ public class DdosCfgController extends BaseController { Page page = ddosCfgService.findPage(pageInfo, entity); titleList.add(entity.getMenuNameCode()); classMap.put(entity.getMenuNameCode(), DdosIpCfg.class); - String cfgIndexInfoNoExport=",client_ip,client_port,ir_type,group_name,userregion1,userregion2,userregion3,userregion4,userregion5,"; + String cfgIndexInfoNoExport=",do_log,client_ip,client_port,ir_type,group_name,userregion1,userregion2,userregion3,userregion4,userregion5,"; noExportMap.put(entity.getMenuNameCode(),cfgIndexInfoNoExport); dataMap.put(entity.getMenuNameCode(), page.getList()); /*}*/ diff --git a/src/main/java/com/nis/web/dao/configuration/IpCfgDao.java b/src/main/java/com/nis/web/dao/configuration/IpCfgDao.java index cc42353ba..00c727664 100644 --- a/src/main/java/com/nis/web/dao/configuration/IpCfgDao.java +++ b/src/main/java/com/nis/web/dao/configuration/IpCfgDao.java @@ -39,6 +39,7 @@ public interface IpCfgDao extends CrudDao{ public CfgIndexInfo getCfgIndexInfo(Long id); public List getIpPortList(CfgIndexInfo entity); public void saveCfgIndex(CfgIndexInfo entity); + public void saveCfgIndexForBatch(CfgIndexInfo entity); public void saveIpPortCfg(IpPortCfg entity); public void updateCfgIndex(CfgIndexInfo entity); public void deleteIpCfg(CfgIndexInfo entity); diff --git a/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml b/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml index 65c364bfa..5bc7e6ec0 100644 --- a/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml +++ b/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml @@ -831,6 +831,63 @@ #{doLog,jdbcType=INTEGER} ) + + insert into cfg_index_info( + CFG_DESC, + ACTION, + IS_VALID, + IS_AUDIT, + CREATOR_ID, + CREATE_TIME, + EDITOR_ID, + EDIT_TIME, + AUDITOR_ID, + AUDIT_TIME, + SERVICE_ID, + REQUEST_ID, + COMPILE_ID, + IS_AREA_EFFECTIVE, + CLASSIFY, + ATTRIBUTE, + LABLE, + AREA_EFFECTIVE_IDS, + function_id, + dns_strategy_id, + user_region1, + user_region2, + user_region3, + user_region4, + user_region5, + do_log + )values ( + #{cfgDesc,jdbcType=VARCHAR}, + #{action,jdbcType=INTEGER}, + 0, + 0, + #{creatorId,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}, + #{editorId,jdbcType=INTEGER}, + #{editTime,jdbcType=TIMESTAMP}, + #{auditorId,jdbcType=INTEGER}, + #{auditTime,jdbcType=TIMESTAMP}, + #{serviceId,jdbcType=INTEGER}, + #{requestId,jdbcType=INTEGER}, + #{compileId,jdbcType=INTEGER}, + #{isAreaEffective,jdbcType=INTEGER}, + #{classify,jdbcType=VARCHAR}, + #{attribute,jdbcType=VARCHAR}, + #{lable,jdbcType=VARCHAR}, + #{areaEffectiveIds,jdbcType=VARCHAR}, + #{functionId,jdbcType=INTEGER}, + #{dnsStrategyId,jdbcType=INTEGER}, + #{userRegion1,jdbcType=VARCHAR}, + #{userRegion2,jdbcType=VARCHAR}, + #{userRegion3,jdbcType=VARCHAR}, + #{userRegion4,jdbcType=VARCHAR}, + #{userRegion5,jdbcType=VARCHAR}, + #{doLog,jdbcType=INTEGER} + ) + diff --git a/src/main/java/com/nis/web/service/configuration/IpCfgService.java b/src/main/java/com/nis/web/service/configuration/IpCfgService.java index 3f357e171..ebb6dc5a8 100644 --- a/src/main/java/com/nis/web/service/configuration/IpCfgService.java +++ b/src/main/java/com/nis/web/service/configuration/IpCfgService.java @@ -7,6 +7,9 @@ import java.util.Map; import java.util.Properties; import org.apache.commons.lang3.StringUtils; +import org.apache.ibatis.session.ExecutorType; +import org.apache.ibatis.session.SqlSession; +import org.apache.ibatis.session.SqlSessionFactory; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.i18n.LocaleContextHolder; @@ -44,6 +47,7 @@ import com.nis.web.dao.configuration.StringCfgDao; import com.nis.web.dao.specific.ConfigGroupInfoDao; import com.nis.web.security.UserUtils; import com.nis.web.service.CrudService; +import com.nis.web.service.SpringContextHolder; /** * IP相关配置事务类 @@ -108,8 +112,19 @@ public class IpCfgService extends CrudService { } @Transactional(readOnly=false,rollbackFor=RuntimeException.class) public void saveCfgIndexOf(List cfgIndexInfos){ - for (CfgIndexInfo cfgIndexInfo : cfgIndexInfos) { - ipCfgDao.saveCfgIndex(cfgIndexInfo); + SqlSessionFactory sqlSessionFactory=SpringContextHolder.getBean(SqlSessionFactory.class); + SqlSession batchSqlSession = null; + try{ + batchSqlSession = sqlSessionFactory.openSession(ExecutorType.BATCH, false); + for(int index = 0; index < cfgIndexInfos.size();index++){ + CfgIndexInfo cfgIndexInfo = cfgIndexInfos.get(index); + ((IpCfgDao) batchSqlSession.getMapper(IpCfgDao.class)).saveCfgIndexForBatch(cfgIndexInfo); + } + batchSqlSession.commit(); + }finally { + if(batchSqlSession != null){ + batchSqlSession.close(); + } } } @Transactional(readOnly=false,rollbackFor=RuntimeException.class) diff --git a/src/main/resources/messages/message_ru.properties b/src/main/resources/messages/message_ru.properties index d219fd802..005329295 100644 --- a/src/main/resources/messages/message_ru.properties +++ b/src/main/resources/messages/message_ru.properties @@ -1306,5 +1306,5 @@ content_len=Content-Length set_cookie=set-Cookie req_header=Request Header resp_header=Response Header -req_body=Request Body -resp_body=Response Body +req_body=Request Body +resp_body=Response Body\u3001 diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index 3e10c9198..af025e2f9 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -1292,7 +1292,7 @@ max_cache_obj_size=\u6700\u5927\u7F13\u5B58\u5BF9\u8C61\u5927\u5C0F cache_time_error=\u7F13\u5B58\u65F6\u95F4\u4E0D\u80FD\u8D85\u8FC7 24 \u5C0F\u65F6(1440\u5206\u949F,86400\u79D2). cache_size_error=\u7F13\u5B58\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC71024TB(1048576GB,1073741824MB). ignore_qs_error=\u5FFD\u7565\u7684\u67E5\u8BE2\u53C2\u6570\u4E2D\u5305\u542B\u4E0D\u53EF\u89C1\u5B57\u7B26\u6216\u8005\u9017\u53F7 -NTC_DDOS_PROTECT_TARGET_IP=\u76EE\u6807\u9632\u62A4IP\u914D\u7F6E +NTC_DDOS_PROTECT_TARGET_IP=\u76EE\u6807\u9632\u62A4IP\u914D\u7F6E bypass=\u767D\u540D\u5355 unlimited=unlimited req_line=\u8BF7\u6C42\u884C @@ -1303,4 +1303,4 @@ set_cookie=set-Cookie\u503C req_header=\u539F\u59CB\u8BF7\u6C42\u5934 resp_header=\u539F\u59CB\u5E94\u7B54\u5934 req_body=\u539F\u59CB\u8BF7\u6C42\u4F53 -resp_body=\u539F\u59CB\u5E94\u7B54\u4F53 +resp_body=\u539F\u59CB\u5E94\u7B54\u4F53 diff --git a/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp index e6bd842ee..5f1f802c4 100644 --- a/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp @@ -322,23 +322,24 @@ - - <%-- - --%> - - - - - - - + + + - - - + + + <%-- + --%> + + + + + + + @@ -366,38 +367,6 @@ - - - - - - <%-- ${cfg.srcIpAddress } - ${cfg.srcPort } --%> - ${fns:abbr(cfg.destIpAddress, 42)} - ${cfg.destPort } - - - - - - - - - - - - - - - - - - - - - ${cfg.antiddosProtocol } - ${cfg.bpsThreadshold } - ${cfg.ppsThreadshold } @@ -416,6 +385,40 @@ + + ${cfg.antiddosProtocol } + ${cfg.bpsThreadshold } + ${cfg.ppsThreadshold } + + + + + + + + + + + + <%-- ${cfg.srcIpAddress } + ${cfg.srcPort } --%> + ${fns:abbr(cfg.destIpAddress, 42)} + + + + + + ${cfg.destPort } + + + + + + + + + + ${cfg.requestName } diff --git a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp index 5ae59c755..24bba97d8 100644 --- a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp @@ -370,10 +370,14 @@ - + <%-- --%> + + + <%-- --%> + @@ -427,7 +431,7 @@ - + @@ -450,6 +454,21 @@ + + + <%-- + + ${indexCfg.userRegion3 } + + --%> + + + + ${indexCfg.userRegion1} + ${certificate.cfgDesc} + + + diff --git a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp index da48d31cf..d3e25f512 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp @@ -38,8 +38,7 @@
-

+

- + - + @@ -303,7 +303,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/appList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/appList.jsp index f00e39fdb..a66204b37 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/appList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/appList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){
- + - + @@ -295,7 +295,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp index c60d27565..58a1703f8 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp @@ -109,10 +109,10 @@
- + - + @@ -257,7 +257,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/ddosList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/ddosList.jsp index 5b56e3479..b39d2b458 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/ddosList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/ddosList.jsp @@ -104,10 +104,10 @@ $(document).ready(function(){
- + - + @@ -276,7 +276,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp index 522c1ec34..5933426ae 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp @@ -111,10 +111,10 @@
- + - + @@ -307,7 +307,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/ftpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/ftpList.jsp index a02622d43..1cc4458ee 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/ftpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/ftpList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){
- + - + @@ -283,7 +283,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/httpKeyList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/httpKeyList.jsp index 10365c35f..3343cc60e 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/httpKeyList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/httpKeyList.jsp @@ -134,10 +134,10 @@
- + - + @@ -303,7 +303,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/httpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/httpList.jsp index 18d0c1be6..fa8eac90b 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/httpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/httpList.jsp @@ -110,10 +110,10 @@
- + - + @@ -345,7 +345,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp index d6eb3e76b..cfc1d6c49 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp @@ -110,10 +110,10 @@
- + - + @@ -253,7 +253,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/ipsecList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/ipsecList.jsp index 4140f4895..ffa051d14 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/ipsecList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/ipsecList.jsp @@ -101,10 +101,10 @@ $(document).ready(function(){
- + - + @@ -259,7 +259,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/l2tpLogList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/l2tpLogList.jsp index 3199d1034..2778d31df 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/l2tpLogList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/l2tpLogList.jsp @@ -113,10 +113,10 @@
- + - + @@ -271,7 +271,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mailList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mailList.jsp index f2b94eaf3..5db1181ba 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mailList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mailList.jsp @@ -109,10 +109,10 @@
- + - + @@ -284,7 +284,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmAvIpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmAvIpList.jsp index dc51b8d1a..f8bfe7062 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmAvIpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmAvIpList.jsp @@ -114,10 +114,10 @@ $(document).ready(function(){ <%--
- + - + @@ -195,7 +195,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -299,11 +299,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmAvUrlList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmAvUrlList.jsp index b7b2634b0..c4474f3d4 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmAvUrlList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmAvUrlList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){ <%--
- + - + @@ -192,7 +192,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -295,11 +295,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmFileDigestList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmFileDigestList.jsp index fc8bcd046..51d652cbe 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmFileDigestList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmFileDigestList.jsp @@ -114,10 +114,10 @@ $(document).ready(function(){ <%--
- + - + @@ -193,7 +193,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -297,11 +297,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmPicIpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmPicIpList.jsp index 519cf24f5..2dfc6eadc 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmPicIpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmPicIpList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){ <%--
- + - + @@ -191,7 +191,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -295,11 +295,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmPicUrlList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmPicUrlList.jsp index 9bfdff9be..c856c2661 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmPicUrlList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmPicUrlList.jsp @@ -112,10 +112,10 @@ $(document).ready(function(){ <%--
- + - + @@ -190,7 +190,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -294,11 +294,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmPornAudioSampleList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmPornAudioSampleList.jsp index 6d713263a..4b748be7e 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmPornAudioSampleList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmPornAudioSampleList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){
- + - + @@ -297,7 +297,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmPornVideoSampleList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmPornVideoSampleList.jsp index 086c5a1f9..384abf5c9 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmPornVideoSampleList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmPornVideoSampleList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){
- + - + @@ -297,7 +297,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp index 066e98860..067a267c3 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp @@ -156,13 +156,13 @@ <%--
- + - @@ -250,7 +250,7 @@ - +<%-- --%> @@ -354,11 +354,11 @@ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleFaceList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleFaceList.jsp index e6b35e973..d859a31b9 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleFaceList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleFaceList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){ <%--
- + - + @@ -192,7 +192,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -296,11 +296,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleLogoList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleLogoList.jsp index f7cf19806..91986d7c3 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleLogoList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleLogoList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){ <%--
- + - + @@ -192,7 +192,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -296,11 +296,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSamplePicList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSamplePicList.jsp index 37a33c399..40c882f3e 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSamplePicList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSamplePicList.jsp @@ -114,10 +114,10 @@ $(document).ready(function(){ <%--
- + - + @@ -191,7 +191,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -295,11 +295,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleSpeakerList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleSpeakerList.jsp index c7d3bfb1a..1c5fd3a93 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleSpeakerList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleSpeakerList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){ <%--
- + - + @@ -192,7 +192,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -296,11 +296,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVideoList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVideoList.jsp index 2ae9343bc..87f593b61 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVideoList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVideoList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){ <%--
- + - + @@ -192,7 +192,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -296,11 +296,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVoipList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVoipList.jsp index 7f5698bfb..a1f5c9a16 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVoipList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVoipList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){
- + - + @@ -300,7 +300,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmVoipAccountList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmVoipAccountList.jsp index cb93f8bdc..79962e6c6 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmVoipAccountList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmVoipAccountList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){ <%--
- + - + @@ -199,7 +199,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -300,11 +300,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmVoipIpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmVoipIpList.jsp index 42ff92e1d..88364d7cd 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmVoipIpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmVoipIpList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){ <%--
- + - + @@ -200,7 +200,7 @@ $(document).ready(function(){ - +<%-- --%> @@ -301,11 +301,11 @@ $(document).ready(function(){ - - + <%-- + - + --%> ${log.innerSmac } ${log.innerDmac } diff --git a/src/main/webapp/WEB-INF/views/log/ntc/ntcStreamMedia.jsp b/src/main/webapp/WEB-INF/views/log/ntc/ntcStreamMedia.jsp index 581eb2da4..6b5e817c1 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/ntcStreamMedia.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/ntcStreamMedia.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){ <%--
- + - + @@ -265,7 +265,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/openVpnList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/openVpnList.jsp index aefbe58b1..d1c2e05e0 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/openVpnList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/openVpnList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){
- + - + @@ -272,7 +272,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/p2pList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/p2pList.jsp index 231119c1f..2e597b2ed 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/p2pList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/p2pList.jsp @@ -126,10 +126,10 @@
- + - + @@ -278,7 +278,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/pptpLogList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/pptpLogList.jsp index cd8af9865..66ff6fc6a 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/pptpLogList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/pptpLogList.jsp @@ -112,10 +112,10 @@
- + - + @@ -264,7 +264,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/sshList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/sshList.jsp index 58b703492..4b9bc0a69 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/sshList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/sshList.jsp @@ -115,10 +115,10 @@ $(document).ready(function(){
- + - + @@ -271,7 +271,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/sslLogList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/sslLogList.jsp index 8633673b8..4d67e2517 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/sslLogList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/sslLogList.jsp @@ -121,10 +121,10 @@
- + - + @@ -271,7 +271,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp b/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp index 1f954ce67..bdf549229 100644 --- a/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp @@ -96,10 +96,10 @@
- + - + @@ -278,7 +278,7 @@ - + diff --git a/src/main/webapp/WEB-INF/views/report/list.jsp b/src/main/webapp/WEB-INF/views/report/list.jsp index b5ce3e173..c8f954acb 100644 --- a/src/main/webapp/WEB-INF/views/report/list.jsp +++ b/src/main/webapp/WEB-INF/views/report/list.jsp @@ -89,6 +89,10 @@ $(document).ready(function() { $('.table-responsive').css({'height':height-166+'px'}); //style.height=height-130+'px'; } + + var li=document.getElementById("liwhite").offsetWidth; + var lipx=Number(li/6); + $(".lireport").css({'width':lipx+'px','text-overflow':'ellipsis','overflow':'hidden'}); }); function getXlsxFileName() { var cfgName = $("[name=cfgName2]").val() + "_"; @@ -356,8 +360,16 @@ function customColumnClick(){ if($('.table-responsive')){ $('.table-responsive').css({'height':height-186+'px'}); } + var li=document.getElementById("liwhite").offsetWidth; + var lipx=Number(li/6); + $(".lireport").css({'width':lipx+'px','text-overflow':'ellipsis','overflow':'hidden'}); } +
@@ -470,40 +482,40 @@ function customColumnClick(){
-
+

-