зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1558498 - Convert XUL textbox usages to HTML inputs in browser/components/preferences/connection.xul. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36488 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
671176ff2b
Коммит
7ff9a0086c
|
@ -64,8 +64,8 @@
|
||||||
<label data-l10n-id="connection-proxy-http" control="networkProxyHTTP" />
|
<label data-l10n-id="connection-proxy-http" control="networkProxyHTTP" />
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox align="center">
|
<hbox align="center">
|
||||||
<textbox id="networkProxyHTTP" flex="1"
|
<html:input id="networkProxyHTTP" type="text" style="-moz-box-flex: 1;"
|
||||||
preference="network.proxy.http" onsyncfrompreference="return gConnectionsDialog.readHTTPProxyServer();"/>
|
preference="network.proxy.http" onsyncfrompreference="return gConnectionsDialog.readHTTPProxyServer();"/>
|
||||||
<label data-l10n-id="connection-proxy-http-port" control="networkProxyHTTP_Port" />
|
<label data-l10n-id="connection-proxy-http-port" control="networkProxyHTTP_Port" />
|
||||||
<html:input id="networkProxyHTTP_Port" class="proxy-port-input" hidespinbuttons="true" type="number" min="0" max="65535"
|
<html:input id="networkProxyHTTP_Port" class="proxy-port-input" hidespinbuttons="true" type="number" min="0" max="65535"
|
||||||
preference="network.proxy.http_port" onsyncfrompreference="return gConnectionsDialog.readHTTPProxyPort();"/>
|
preference="network.proxy.http_port" onsyncfrompreference="return gConnectionsDialog.readHTTPProxyPort();"/>
|
||||||
|
@ -84,8 +84,8 @@
|
||||||
<label data-l10n-id="connection-proxy-ssl" control="networkProxySSL"/>
|
<label data-l10n-id="connection-proxy-ssl" control="networkProxySSL"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox align="center">
|
<hbox align="center">
|
||||||
<textbox id="networkProxySSL" flex="1" preference="network.proxy.ssl"
|
<html:input id="networkProxySSL" type="text" style="-moz-box-flex: 1;" preference="network.proxy.ssl"
|
||||||
onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ssl', false);"/>
|
onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ssl', false);"/>
|
||||||
<label data-l10n-id="connection-proxy-ssl-port" control="networkProxySSL_Port" />
|
<label data-l10n-id="connection-proxy-ssl-port" control="networkProxySSL_Port" />
|
||||||
<html:input id="networkProxySSL_Port" class="proxy-port-input" hidespinbuttons="true" type="number" min="0" max="65535" size="5"
|
<html:input id="networkProxySSL_Port" class="proxy-port-input" hidespinbuttons="true" type="number" min="0" max="65535" size="5"
|
||||||
preference="network.proxy.ssl_port" onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ssl', true);"/>
|
preference="network.proxy.ssl_port" onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ssl', true);"/>
|
||||||
|
@ -96,8 +96,8 @@
|
||||||
<label data-l10n-id="connection-proxy-ftp" control="networkProxyFTP"/>
|
<label data-l10n-id="connection-proxy-ftp" control="networkProxyFTP"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox align="center">
|
<hbox align="center">
|
||||||
<textbox id="networkProxyFTP" flex="1" preference="network.proxy.ftp"
|
<html:input id="networkProxyFTP" type="text" style="-moz-box-flex: 1;" preference="network.proxy.ftp"
|
||||||
onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ftp', false);"/>
|
onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ftp', false);"/>
|
||||||
<label data-l10n-id="connection-proxy-ftp-port" control="networkProxyFTP_Port"/>
|
<label data-l10n-id="connection-proxy-ftp-port" control="networkProxyFTP_Port"/>
|
||||||
<html:input id="networkProxyFTP_Port" class="proxy-port-input" hidespinbuttons="true" type="number" min="0" max="65535" size="5"
|
<html:input id="networkProxyFTP_Port" class="proxy-port-input" hidespinbuttons="true" type="number" min="0" max="65535" size="5"
|
||||||
preference="network.proxy.ftp_port" onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ftp', true);"/>
|
preference="network.proxy.ftp_port" onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ftp', true);"/>
|
||||||
|
@ -108,8 +108,8 @@
|
||||||
<label data-l10n-id="connection-proxy-socks" control="networkProxySOCKS"/>
|
<label data-l10n-id="connection-proxy-socks" control="networkProxySOCKS"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox align="center">
|
<hbox align="center">
|
||||||
<textbox id="networkProxySOCKS" flex="1" preference="network.proxy.socks"
|
<html:input id="networkProxySOCKS" type="text" style="-moz-box-flex: 1;" preference="network.proxy.socks"
|
||||||
onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('socks', false);"/>
|
onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('socks', false);"/>
|
||||||
<label data-l10n-id="connection-proxy-socks-port" control="networkProxySOCKS_Port"/>
|
<label data-l10n-id="connection-proxy-socks-port" control="networkProxySOCKS_Port"/>
|
||||||
<html:input id="networkProxySOCKS_Port" class="proxy-port-input" hidespinbuttons="true" type="number" min="0" max="65535" size="5"
|
<html:input id="networkProxySOCKS_Port" class="proxy-port-input" hidespinbuttons="true" type="number" min="0" max="65535" size="5"
|
||||||
preference="network.proxy.socks_port" onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('socks', true);"/>
|
preference="network.proxy.socks_port" onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('socks', true);"/>
|
||||||
|
@ -129,8 +129,8 @@
|
||||||
</grid>
|
</grid>
|
||||||
<radio value="2" data-l10n-id="connection-proxy-autotype" />
|
<radio value="2" data-l10n-id="connection-proxy-autotype" />
|
||||||
<hbox class="indent" flex="1" align="center">
|
<hbox class="indent" flex="1" align="center">
|
||||||
<textbox id="networkProxyAutoconfigURL" flex="1" preference="network.proxy.autoconfig_url"
|
<html:input id="networkProxyAutoconfigURL" type="text" style="-moz-box-flex: 1;" preference="network.proxy.autoconfig_url"
|
||||||
oninput="gConnectionsDialog.updateReloadButton();"/>
|
oninput="gConnectionsDialog.updateReloadButton();"/>
|
||||||
<button id="autoReload" icon="refresh"
|
<button id="autoReload" icon="refresh"
|
||||||
data-l10n-id="connection-proxy-reload"
|
data-l10n-id="connection-proxy-reload"
|
||||||
oncommand="gConnectionsDialog.reloadPAC();"
|
oncommand="gConnectionsDialog.reloadPAC();"
|
||||||
|
@ -177,8 +177,8 @@
|
||||||
data-l10n-id="connection-dns-over-https-custom-label"
|
data-l10n-id="connection-dns-over-https-custom-label"
|
||||||
control="networkCustomDnsOverHttpsInput"/>
|
control="networkCustomDnsOverHttpsInput"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<textbox id="networkCustomDnsOverHttpsInput" flex="1"
|
<html:input id="networkCustomDnsOverHttpsInput" type="text" style="-moz-box-flex: 1;"
|
||||||
preference="network.trr.custom_uri"/>
|
preference="network.trr.custom_uri"/>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче