commit c12448c935c9af9725664c27fd5a2fd4b45e5688 Author: Kathy Brade brade@pearlcrescent.com Date: Thu May 21 15:10:51 2015 -0400
Bug 15145: Visually distinguish "proxy" and "bridge" screens.
Add the following titles to the bridge and proxy wizard pages: "Tor Bridges Configuration" "Local Proxy Configuration" --- src/chrome/content/network-settings-wizard.xul | 56 +++++++++++++++++------- src/chrome/locale/en/network-settings.dtd | 2 + src/chrome/skin/network-settings.css | 5 +++ 3 files changed, 47 insertions(+), 16 deletions(-)
diff --git a/src/chrome/content/network-settings-wizard.xul b/src/chrome/content/network-settings-wizard.xul index 9c75894..00c1682 100644 --- a/src/chrome/content/network-settings-wizard.xul +++ b/src/chrome/content/network-settings-wizard.xul @@ -57,10 +57,16 @@ <wizardpage pageid="bridges" next="proxy" onextra2="onCopyLog();" onpageshow="showWizardNavButtons(true);" onpageadvanced="return onWizardUseBridgesNext(this)"> - <vbox class="tbb-logo-box" align="start"> - <image class="tbb-logo" /> - </vbox> - <separator class="tbb-logo-separator" /> + <hbox class="tbb-header"> + <vbox class="tbb-logo-box" align="start"> + <image class="tbb-logo" /> + </vbox> + <separator class="tbb-logo-separator" orient="vertical" /> + <vbox pack="end"> + <label class="tbb-wizardpage-title" value="&torSettings.bridgePageTitle;"/> + </vbox> + </hbox> + <separator /> <hbox> <vbox flex="1"> <label class="question">&torSettings.bridgeQuestion;</label> @@ -76,10 +82,16 @@
<wizardpage pageid="bridgeSettings" next="proxy" onextra2="onCopyLog();" onpageshow="onWizardBridgeSettingsShow();"> - <vbox class="tbb-logo-box" align="start"> - <image class="tbb-logo" /> - </vbox> - <separator class="tbb-logo-separator" /> + <hbox class="tbb-header"> + <vbox class="tbb-logo-box" align="start"> + <image class="tbb-logo" /> + </vbox> + <separator class="tbb-logo-separator" orient="vertical" /> + <vbox pack="end"> + <label class="tbb-wizardpage-title" value="&torSettings.bridgePageTitle;"/> + </vbox> + </hbox> + <separator /> <vbox> <label id="bridgeSettingsPrompt" class="question">&torSettings.bridgeSettingsPrompt;</label> @@ -90,10 +102,16 @@ <wizardpage pageid="proxy" onextra2="onCopyLog();" onpageshow="onWizardUseProxyRadioChange()" onpageadvanced="return onWizardProxyNext(this);"> - <vbox class="tbb-logo-box" align="start"> - <image class="tbb-logo" /> - </vbox> - <separator class="tbb-logo-separator" /> + <hbox class="tbb-header"> + <vbox class="tbb-logo-box" align="start"> + <image class="tbb-logo" /> + </vbox> + <separator class="tbb-logo-separator" orient="vertical" /> + <vbox pack="end"> + <label class="tbb-wizardpage-title" value="&torSettings.proxyPageTitle;"/> + </vbox> + </hbox> + <separator /> <hbox> <vbox flex="1"> <label class="question">&torSettings.proxyQuestion;</label> @@ -111,10 +129,16 @@ <wizardpage pageid="proxyYES" onextra2="onCopyLog();" onpageshow="onWizardProxySettingsShow()" onpageadvanced="return (getAndValidateProxySettings() != null)"> - <vbox class="tbb-logo-box" align="start"> - <image class="tbb-logo" /> - </vbox> - <separator class="tbb-logo-separator" /> + <hbox class="tbb-header"> + <vbox class="tbb-logo-box" align="start"> + <image class="tbb-logo" /> + </vbox> + <separator class="tbb-logo-separator" orient="vertical" /> + <vbox pack="end"> + <label class="tbb-wizardpage-title" value="&torSettings.proxyPageTitle;"/> + </vbox> + </hbox> + <separator /> <label class="instructions">&torSettings.enterProxy;</label> <groupbox id="proxySpecificSettings" /> </wizardpage> diff --git a/src/chrome/locale/en/network-settings.dtd b/src/chrome/locale/en/network-settings.dtd index 5ce6ee8..07d3d09 100644 --- a/src/chrome/locale/en/network-settings.dtd +++ b/src/chrome/locale/en/network-settings.dtd @@ -15,10 +15,12 @@ <!ENTITY torSettings.connectPrompt3 "This will work in most situations."> <!ENTITY torSettings.connect "Connect">
+<!ENTITY torSettings.proxyPageTitle "Local Proxy Configuration"> <!ENTITY torSettings.proxyQuestion "Does this computer need to use a local proxy to access the Internet?"> <!-- see https://www.torproject.org/docs/proxychain.html.en --> <!ENTITY torSettings.proxyHelp "If you are not sure how to answer this question, look at the Internet settings in another browser to see whether it is configured to use a local proxy."> <!ENTITY torSettings.enterProxy "Enter the proxy settings."> +<!ENTITY torSettings.bridgePageTitle "Tor Bridges Configuration"> <!ENTITY torSettings.bridgeQuestion "Does your Internet Service Provider (ISP) block or otherwise censor connections to the Tor Network?"> <!ENTITY torSettings.bridgeHelp "If you are not sure how to answer this question, choose No.  If you choose Yes, you will be asked to configure Tor Bridges, which are unlisted relays that make it more difficult to block connections to the Tor Network."> <!ENTITY torSettings.bridgeSettingsPrompt "You may use the provided set of bridges or you may obtain and enter a custom set of bridges."> diff --git a/src/chrome/skin/network-settings.css b/src/chrome/skin/network-settings.css index 646baa6..6e173c3 100644 --- a/src/chrome/skin/network-settings.css +++ b/src/chrome/skin/network-settings.css @@ -99,6 +99,11 @@ wizard[tor_hide_browser_logo="true"] .tbb-logo-separator { display: none; }
+.tbb-wizardpage-title { + font-size: 115%; + font-weight: bold; +} + #bridgeDefaultEntry, #bridgeCustomEntry { margin-left: 1.8em;
tbb-commits@lists.torproject.org