📄 tunneldetails.jspf
字号:
<%@ 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -