tunneldetails.jspf
来自「这是linux下ssl vpn的实现程序」· JSPF 代码 · 共 91 行
JSPF
91 行
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<table class="resourceDetails">
<tr class="formTextArea">
<td class="label">
<div class="required">
<bean:message key="tunnel.sourcePort" bundle="tunnels" />
</div>
</td>
<td class="value">
<html:text property="sourcePort" />
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<div class="required">
<bean:message key="tunnel.destination.host" bundle="tunnels" />
</div>
</td>
<td class="value">
<html:text property="destinationHost" />
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<div class="required">
<bean:message key="tunnel.destination.port" bundle="tunnels" />
</div>
</td>
<td class="value">
<html:text property="destinationPort" />
</td>
</tr>
<tr class="formText">
<td class="label">
<bean:message key="tunnel.autoStart" bundle="tunnels" />
</td>
<td class="value">
<logic:equal name="tunnelDetailsForm" property="autoStart" value="true">
<html:checkbox property="autoStart" />
</logic:equal>
<logic:equal name="tunnelDetailsForm" property="autoStart" value="false">
<html:checkbox property="autoStart" />
</logic:equal>
</td>
</tr>
<tr class="formText">
<td class="label">
<bean:message key="tunnel.allowExternalHosts" bundle="tunnels" />
</td>
<td class="value">
<logic:equal name="tunnelDetailsForm" property="allowExternalHosts" value="true">
<html:checkbox property="allowExternalHosts" />
</logic:equal>
<logic:equal name="tunnelDetailsForm" property="allowExternalHosts" value="false">
<html:checkbox property="allowExternalHosts" />
</logic:equal>
</td>
</tr>
<tr class="formEditableList">
<td class="label">
<bean:message key="tunnel.type" bundle="tunnels" />
</td>
<td class="value">
<html:select property="tunnelType">
<html:optionsCollection value="value" label="label" property="tunnelTypeList" />
</html:select>
</td>
</tr>
<tr class="formEditableList">
<td class="label">
<bean:message key="tunnel.transport" bundle="tunnels" />
</td>
<td class="value">
<html:select property="transport">
<html:optionsCollection value="value" label="label" property="transportList" />
</html:select>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?