📄 sysvisitcontrol.jsp
字号:
<%-- Document : sysInfo Created on : 2007-9-28, 3:00:08 Author : Administrator--%><%@page contentType="text/html" pageEncoding="UTF-8"%><%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%><%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%><%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><style type="text/css">.tCol1 {vertical-align:top;}</style><f:view locale="#{localeBean.locale}"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>访问控制</title> <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/common/css/style.css"/> </head> <body style="margin:0px"> <h:form> <h:panelGrid border="0" width="100%" columns="1" cellpadding="3" cellspacing="3" headerClass="th" columnClasses="tCol1,," styleClass="table2 infoH"> <f:facet name="header"> <h:outputText value="IP访问控制"/> </f:facet> <h:panelGrid border="0" width="100%" columns="1" cellpadding="3" cellspacing="3"> <h:messages infoClass="infos" errorClass="errors" fatalClass="fatals" globalOnly="true" showDetail="true"/> <h:outputText escape="false" styleClass="colorGray" value="提示:你可以在这里控制一个IP是否能访问本网站! 以下出现中的是已经被禁止访问的IP地址"/> <h:panelGrid border="0" columns="3" width="100%" cellpadding="3" cellspacing="0" columnClasses="tCol1,tCol2,," rowClasses="row2,row1" styleClass="table1"> <h:outputText value="增加一个IP"/> <h:inputText value="#{com_sysVisitControl.ip}" size="20"/> <h:commandButton value="增加" actionListener="#{com_sysVisitControl.add}"/> </h:panelGrid> <t:dataTable border="0" cellpadding="3" cellspacing="3" width="100%" rowIndexVar="No" rowClasses="row2,row1" styleClass="table1" style="text-align:center" value="#{com_sysVisitControl.disallows}" var="ip" binding="#{com_sysVisitControl.uiDisallows}"> <h:column> <f:facet name="header"> <h:outputText value="序号"/> </f:facet> <h:outputText value="#{No+1}"/> </h:column> <h:column> <f:facet name="header"> <h:outputText value="IP"/> </f:facet> <h:outputText value="#{ip}"/> </h:column> <h:column> <f:facet name="header"> <h:outputText value="操作"/> </f:facet> <h:commandButton value="移除" actionListener="#{com_sysVisitControl.remove}"/> </h:column> </t:dataTable> </h:panelGrid> </h:panelGrid> </h:form> </body></html></f:view>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -