configureproxies.jspf

来自「这是linux下ssl vpn的实现程序」· JSPF 代码 · 共 110 行

JSPF
110
字号
<%@ 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" %>
<%@ taglib uri="/sslexplorer/taglibs/explorer" prefix="explorer" %>
<%@ taglib uri="/sslexplorer/taglibs/input" prefix="input" %>

<div class="options">
	<div class="toggles">
		<html:checkbox onclick="setActionTarget('toggle'); document.forms[0].submit(); return false" property="useHTTPProxy"></html:checkbox>
		<bean:message key="installation.configureProxies.useHTTPProxy" bundle="install"/>
	</div>
	<div class="details">
		<table class="dialog_form_table">				
			<logic:equal name="configureProxiesForm" property="useHTTPProxy" value="true">
				<tr class="formText">
					<td class="label">
						<bean:message key="installation.configureProxies.httpProxyHostname" bundle="install"/>
					</td>
					<td class="value">
						<html:text property="httpProxyHostname" size="30"/>
					</td>
				</tr>
				<tr class="formText">
					<td class="label">
						<bean:message key="installation.configureProxies.httpProxyPort" bundle="install"/>
					</td>
					<td class="value">
						<html:text property="httpProxyPort" size="6"/>
					</td>
				</tr>
				<tr class="formText">
					<td class="label">
						<bean:message key="installation.configureProxies.httpProxyUsername" bundle="install"/>
					</td>
					<td class="value">
						<html:text property="httpProxyUsername" size="20"/>
					</td>
				</tr>
				<tr class="formPassword">
					<td class="label">
						<bean:message key="installation.configureProxies.httpProxyPassword" bundle="install"/>
					</td>
					<td class="value">
						<input:password autocomplete="false" property="httpProxyPassword" size="20"/>
					</td>
				</tr>
				<tr class="formMultiEntry">
					<td class="label">
						<bean:message key="installation.configureProxies.httpNonProxyHosts" bundle="install"/>
					</td>
					<td class="value">
						<input:multiEntryListBox addKey="installation.configureProxies.httpNonProxyHosts.add" 
									removeKey="installation.configureProxies.httpNonProxyHosts.remove" 
									entryTitleKey="installation.configureProxies.httpNonProxyHosts.hostname" 
									targetTitleKey="installation.configureProxies.httpNonProxyHosts.selected" 
									name="configureProxiesForm" styleClass="multiEntry" entrySize="16" 
									property="httpNonProxyHosts" bundle="install"/>
					</td>
				</tr>
			</logic:equal>
			<logic:equal name="configureProxiesForm" property="useHTTPProxy" value="false">
				<tr class="formText">
					<td class="label">
						<bean:message key="installation.configureProxies.httpProxyHostname" bundle="install"/>
					</td>
					<td class="value">
						<html:text disabled="true" property="httpProxyHostname" size="30"/>
					</td>
				</tr>
				<tr class="formText">
					<td class="label">
						<bean:message key="installation.configureProxies.httpProxyPort" bundle="install"/>
					</td>
					<td class="value">
						<html:text disabled="true" property="httpProxyPort" size="6"/>
					</td>
				</tr>
				<tr class="formText">
					<td class="label">
						<bean:message key="installation.configureProxies.httpProxyUsername" bundle="install"/>
					</td>
					<td class="value">
						<html:text disabled="true" property="httpProxyUsername" size="20"/>
					</td>
				</tr>
				<tr class="formPassword">
					<td class="label">
						<bean:message key="installation.configureProxies.httpProxyPassword" bundle="install"/>
					</td>
					<td class="value">
						<html:password disabled="true" property="httpProxyPassword" size="20"/>
					</td>
				</tr>
				<tr class="formMultiEntry">
					<td class="label">
						<bean:message key="installation.configureProxies.httpNonProxyHosts" bundle="install"/>
					</td>
					<td class="value">
						<input:multiEntryListBox disabled="true" addKey="installation.configureProxies.httpNonProxyHosts.add" 
									removeKey="installation.configureProxies.httpNonProxyHosts.remove" 
									entryTitleKey="installation.configureProxies.httpNonProxyHosts.hostname" 
									targetTitleKey="installation.configureProxies.httpNonProxyHosts.selected" 
									name="configureProxiesForm" styleClass="multiEntry" entrySize="16" 
									property="httpNonProxyHosts" bundle="install"/>
					</td>
				</tr>
			</logic:equal>
		</table>
	</div>
</div>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?