📄 availableiprestrictionscontent.jspf
字号:
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="/sslexplorer/taglibs/security" prefix="security" %>
<%@ taglib uri="/sslexplorer/taglibs/table" prefix="table" %>
<%@ taglib uri="/sslexplorer/taglibs/explorer" prefix="explorer" %>
<div id="page_ip_restrictions" />
<explorer:form method="post" action="/showAvailableIpRestrictions.do">
<html:hidden property="actionTarget"/>
<div class="filtered_resources">
<table class="resource_table">
<thead>
<tr>
<td class="address">
<table:columnHeader pagerName="ipRestrictionsForm" action="/showAvailableIpRestrictions.do" pagerProperty="pager" columnIndex="0" styleClass="columnHeader">
<bean:message key="ipRestrictions.ipAddress" bundle="security" />
</table:columnHeader>
</td>
<td class="type">
<table:columnHeader pagerName="ipRestrictionsForm" action="/showAvailableIpRestrictions.do" pagerProperty="pager" columnIndex="1" styleClass="columnHeader">
<bean:message key="ipRestrictions.access" bundle="security" />
</table:columnHeader>
</td>
<td class="actions">
<bean:message key="availableIpRestrictions.action" bundle="security"/>
</td>
</tr>
</thead>
<tbody>
<% boolean flag = true; %>
<logic:equal name="ipRestrictionsForm" property="model.empty" value="true">
<tr class="<%= flag ? "highlight" : "lowlight" %>">
<td class="tableMessage" colspan="3">
<bean:message key="availableIpRestrictions.noIpRestrictions" bundle="security"/>
</td>
</tr>
</logic:equal>
<logic:equal name="ipRestrictionsForm" property="model.empty" value="false">
<logic:equal name="ipRestrictionsForm" property="pager.empty" value="true">
<tr class="<%= flag ? "highlight" : "lowlight" %>">
<td class="tableMessage" colspan="3">
<bean:message key="availableIpRestrictions.noMatch" bundle="security"/>
</td>
</tr>
</logic:equal>
<logic:equal name="ipRestrictionsForm" property="pager.empty" value="false">
<logic:iterate id="ipRestriction" name="ipRestrictionsForm" property="pager.pageItems" type="com.sslexplorer.security.IpRestrictionItem">
<tr class="<%= flag ? "entryHighlight" : "entryLowlight" %>">
<td class="address">
<bean:write name="ipRestriction" property="ipRestriction.address" />
</td>
<td class="type">
<bean:write name="ipRestriction" property="ipRestriction.type" />
</td>
<td class="actions">
<tiles:insert flush="false" attribute="actionLink">
<tiles:put name="actionName" value="remove"/>
<tiles:put name="bundle" value="security"/>
<tiles:put name="nameKey" value="action.deleteIpRestriction.name"/>
<tiles:put name="descriptionKey" value="action.deleteIpRestriction.description"/>
<tiles:put name="actionPath" value="<%= "/showAvailableIpRestrictions.do?actionTarget=delete&ipaddress=" + ipRestriction.getIpRestriction().getID() %>"/>
</tiles:insert>
</td>
</tr>
<% flag = !flag; %>
</logic:iterate>
</logic:equal>
</logic:equal>
</tbody>
<tfoot>
<tr>
<td colspan="3">
<div class="pager_navigation">
<table:navigation pagerName="ipRestrictionsForm" pagerProperty="pager" styleClass="pagerEnabled" disabledStyleClass="pagerDisabled"/>
</div>
<div class="pager_pages">
<table:pageSize pagerName="ipRestrictionsForm" pagerProperty="pager" styleClass="pagerEnabled"/>
</div.
</td>
</tr>
</tfoot>
</table>
</div>
</explorer:form>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -