Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: chrome/browser/resources/options/advanced_options.html

Issue 7088010: Layout adjustment for i18n compatibility. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <div id="advancedPage" class="page" hidden> 1 <div id="advancedPage" class="page" hidden>
2 <h1 i18n-content="advancedPage"></h1> 2 <h1 i18n-content="advancedPage"></h1>
3 <section> 3 <div class="displaytable">
kevers 2011/06/02 19:03:36 Added new <div> block to use 'display:table'. Rem
Rick Byers 2011/06/03 15:06:07 Wow, it's lame that rietveld has no way to view a
4 <h3 i18n-content="advancedSectionTitlePrivacy"></h3> 4 <section>
5 <div> 5 <h3 i18n-content="advancedSectionTitlePrivacy"></h3>
6 <div class="section-group"> 6 <div>
7 <button id="privacyContentSettingsButton" 7 <div class="section-group">
8 i18n-content="privacyContentSettingsButton"></button> 8 <button id="privacyContentSettingsButton"
9 <button id="privacyClearDataButton" 9 i18n-content="privacyContentSettingsButton"></button>
10 i18n-content="privacyClearDataButton"></button> 10 <button id="privacyClearDataButton"
11 </div> 11 i18n-content="privacyClearDataButton"></button>
12 <div i18n-content="improveBrowsingExperience" class="informational-text"> 12 </div>
13 </div> 13 <div i18n-content="improveBrowsingExperience" class="informational-text" >
Rick Byers 2011/06/03 15:06:07 I believe we generally try to keep html to 80 cols
14 <div> 14 </div>
15 <span i18n-content="disableWebServices" class="informational-text"> 15 <div>
16 </span> 16 <span i18n-content="disableWebServices" class="informational-text">
17 <a target="_blank" i18n-content="learnMore" 17 </span>
18 i18n-values="href:privacyLearnMoreURL"></a> 18 <a target="_blank" i18n-content="learnMore"
19 </div> 19 i18n-values="href:privacyLearnMoreURL"></a>
20 </div>
21 <div class="checkbox">
22 <label>
23 <input id="alternateErrorPagesEnabled" pref="alternate_error_pages.e nabled"
24 metric="Options_LinkDoctorCheckbox" type="checkbox">
25 <span i18n-content="linkDoctorPref"></span>
26 </label>
27 </div>
28 <div class="checkbox">
29 <label>
30 <input id="searchSuggestEnabled" pref="search.suggest_enabled"
31 metric="Options_UseSuggestCheckbox" type="checkbox">
32 <span i18n-content="suggestPref"></span>
33 </label>
34 </div>
35 <div class="checkbox">
36 <label>
37 <input id="dnsPrefetchingEnabled" pref="dns_prefetching.enabled"
38 metric="Options_DnsPrefetchCheckbox" type="checkbox">
39 <span i18n-content="networkPredictionEnabledDescription"></span>
40 </label>
41 </div>
42 <div class="checkbox">
43 <label>
44 <input id="safeBrowsingEnabled" pref="safebrowsing.enabled"
45 metric="Options_SafeBrowsingCheckbox" type="checkbox">
46 <span i18n-content="safeBrowsingEnableProtection"></span>
47 </label>
48 </div>
49 <if expr="pp_ifdef('_google_chrome') and pp_ifdef('chromeos')">
50 <div id="metricsReportingSetting" class="checkbox">
51 <label>
52 <input id="metricsReportingEnabled"
53 pref="cros.metrics.reportingEnabled" type="checkbox">
54 <span id="metricsReportingEnabledText" i18n-content="enableLogging">
55 </span>
56 </label>
57 </div>
58 </if>
59 <if expr="pp_ifdef('_google_chrome') and not pp_ifdef('chromeos')">
60 <div id="metricsReportingSetting" class="checkbox">
61 <label>
62 <input id="metricsReportingEnabled" type="checkbox">
63 <span i18n-content="enableLogging"></span>
64 </label>
65 </div>
66 </if>
67 </div>
68 </section>
69 <section>
70 <h3 i18n-content="advancedSectionTitleContent"></h3>
71 <div>
72 <div class="section-group">
73 <label class="web-content-select-label">
74 <span i18n-content="defaultFontSizeLabel"></span>
75 <select id="defaultFontSize">
76 <option value="9" i18n-content="fontSizeLabelVerySmall"></option>
77 <option value="12" i18n-content="fontSizeLabelSmall"></option>
78 <option value="16" i18n-content="fontSizeLabelMedium"></option>
79 <option value="20" i18n-content="fontSizeLabelLarge"></option>
80 <option value="24" i18n-content="fontSizeLabelVeryLarge"></option>
81 </select>
82 </label>
83 <button id="fontSettingsCustomizeFontsButton"
84 i18n-content="fontSettingsCustomizeFontsButton"></button>
85 </div>
86 <div class="section-group">
87 <label class="web-content-select-label">
88 <span i18n-content="defaultZoomLevelLabel"></span>
89 <select id="defaultZoomLevel" pref="profile.default_zoom_level"
90 dataType="double" metric="Options_ChangeDefaultZoomLevel">
91 <option value="-3">57%</option>
92 <option value="-2">69%</option>
93 <option value="-1">83%</option>
94 <option value="0">100%</option>
95 <option value="1">120%</option>
96 <option value="2">144%</option>
97 <option value="3">172%</option>
98 <option value="4">207%</option>
99 <option value="5">248%</option>
100 <option value="6">298%</option>
101 </select>
102 </label>
103 </div>
104 <if expr="not pp_ifdef('chromeos') or os == 'win32'">
105 <div class="section-group">
106 </if>
107 <if expr="not pp_ifdef('chromeos')">
108 <button id="language-button"
109 i18n-content="languageAndSpellCheckSettingsButton"></button>
110 </if>
111 <if expr="not pp_ifdef('chromeos') or os == 'win32'">
112 </div>
113 </if>
114 <if expr="os == 'darwin'">
115 <div class="checkbox">
116 <label>
117 <input id="tabsToLinksPref" pref="webkit.webprefs.tabs_to_links"
118 metric="Options_TabsToLinks" type="checkbox">
119 <span i18n-content="tabsToLinksPref"></span>
120 </label>
121 </div>
122 </if>
123 </div>
124 </section>
125 <section>
126 <h3 i18n-content="advancedSectionTitleNetwork"></h3>
127 <div>
128 <div id="proxiesLabel"></div>
129 <div class="section-group">
130 <button id="proxiesConfigureButton"
131 i18n-content="proxiesConfigureButton"></button>
132 </div>
133 </div>
134 </section>
135 <section>
136 <h3 i18n-content="advancedSectionTitleTranslate"></h3>
20 <div class="checkbox"> 137 <div class="checkbox">
21 <label> 138 <label>
22 <input id="alternateErrorPagesEnabled" pref="alternate_error_pages.ena bled" 139 <input id="enableTranslate" pref="translate.enabled"
23 metric="Options_LinkDoctorCheckbox" type="checkbox"> 140 metric="Options_Translate" type="checkbox">
24 <span i18n-content="linkDoctorPref"></span> 141 <span i18n-content="translateEnableTranslate"></span>
25 </label> 142 </label>
26 </div> 143 </div>
144 </section>
145 <if expr="not pp_ifdef('chromeos')">
146 <section>
147 <h3 i18n-content="downloadLocationGroupName"></h3>
148 <div>
149 <div id="download-location-group">
150 <label>
151 <span i18n-content="downloadLocationBrowseTitle"></span>
152 <input id="downloadLocationPath" type="text" size="36" disabled>
153 </label>
154 <button id="downloadLocationChangeButton"
155 i18n-content="downloadLocationChangeButton"></button>
156 </div>
157 <div class="checkbox">
158 <label>
159 <input id="promptForDownload" metric="Options_AskForSaveLocation"
160 type="checkbox">
161 <span id="promptForDownloadLabel"
162 i18n-content="downloadLocationAskForSaveLocation"></span>
163 </label>
164 </div>
165 <div id="auto-open-file-types-label"
166 i18n-content="autoOpenFileTypesInfo"></div>
167 <div class="section-group">
168 <button id="autoOpenFileTypesResetToDefault"
169 i18n-content="autoOpenFileTypesResetToDefault"></button>
170 </div>
171 </div>
172 </section>
173 </if>
174 <section>
175 <h3 i18n-content="advancedSectionTitleSecurity"></h3>
176 <div>
177 <div><button id="certificatesManageButton"
178 i18n-content="certificatesManageButton"></button></div>
179 <div class="checkbox">
180 <label>
181 <input id="sslCheckRevocation" type="checkbox">
182 <span i18n-content="sslCheckRevocation"></span>
183 </label>
184 </div>
185 <div class="checkbox">
186 <label>
187 <input id="sslUseSSL3" type="checkbox">
188 <span i18n-content="sslUseSSL3"></span>
189 </label>
190 </div>
191 <div class="checkbox">
192 <label>
193 <input id="sslUseTLS1" type="checkbox">
194 <span i18n-content="sslUseTLS1"></span>
195 </label>
196 </div>
197 </div>
198 </section>
199 <if expr="not pp_ifdef('chromeos')">
200 <section id="cloud-print-proxy-section">
201 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3>
202 <div>
203 <div id="cloudPrintProxyLabel"
204 i18n-content="cloudPrintProxyDisabledLabel"></div>
205 <div class="section-group">
206 <button id="cloudPrintProxySetupButton"
207 i18n-content="cloudPrintProxyDisabledButton"></button>
208 <button id="cloudPrintProxyManageButton"
209 i18n-content="cloudPrintProxyEnabledManageButton"></button>
210 </div>
211 </div>
212 </section>
213 </if>
214 <if expr="os != 'darwin' and not pp_ifdef('chromeos')">
215 <section id="background-section">
216 <h3 i18n-content="advancedSectionTitleBackground"></h3>
27 <div class="checkbox"> 217 <div class="checkbox">
28 <label> 218 <label>
29 <input id="searchSuggestEnabled" pref="search.suggest_enabled" 219 <input id="backgroundModeCheckbox" type="checkbox">
30 metric="Options_UseSuggestCheckbox" type="checkbox"> 220 <span i18n-content="backgroundModeCheckbox"></span>
31 <span i18n-content="suggestPref"></span>
32 </label> 221 </label>
33 </div> 222 </div>
34 <div class="checkbox"> 223 </section>
35 <label> 224 </if>
36 <input id="dnsPrefetchingEnabled" pref="dns_prefetching.enabled" 225 </div>
37 metric="Options_DnsPrefetchCheckbox" type="checkbox">
38 <span i18n-content="networkPredictionEnabledDescription"></span>
39 </label>
40 </div>
41 <div class="checkbox">
42 <label>
43 <input id="safeBrowsingEnabled" pref="safebrowsing.enabled"
44 metric="Options_SafeBrowsingCheckbox" type="checkbox">
45 <span i18n-content="safeBrowsingEnableProtection"></span>
46 </label>
47 </div>
48 <if expr="pp_ifdef('_google_chrome') and pp_ifdef('chromeos')">
49 <div id="metricsReportingSetting" class="checkbox">
50 <label>
51 <input id="metricsReportingEnabled"
52 pref="cros.metrics.reportingEnabled" type="checkbox">
53 <span id="metricsReportingEnabledText" i18n-content="enableLogging">
54 </span>
55 </label>
56 </div>
57 </if>
58 <if expr="pp_ifdef('_google_chrome') and not pp_ifdef('chromeos')">
59 <div id="metricsReportingSetting" class="checkbox">
60 <label>
61 <input id="metricsReportingEnabled" type="checkbox">
62 <span i18n-content="enableLogging"></span>
63 </label>
64 </div>
65 </if>
66 </div>
67 </section>
68 <section>
69 <h3 i18n-content="advancedSectionTitleContent"></h3>
70 <div>
71 <div class="section-group">
72 <label class="web-content-select-label">
73 <span i18n-content="defaultFontSizeLabel"></span>
74 <select id="defaultFontSize">
75 <option value="9" i18n-content="fontSizeLabelVerySmall"></option>
76 <option value="12" i18n-content="fontSizeLabelSmall"></option>
77 <option value="16" i18n-content="fontSizeLabelMedium"></option>
78 <option value="20" i18n-content="fontSizeLabelLarge"></option>
79 <option value="24" i18n-content="fontSizeLabelVeryLarge"></option>
80 </select>
81 </label>
82 <button id="fontSettingsCustomizeFontsButton"
83 i18n-content="fontSettingsCustomizeFontsButton"></button>
84 </div>
85 <div class="section-group">
86 <label class="web-content-select-label">
87 <span i18n-content="defaultZoomLevelLabel"></span>
88 <select id="defaultZoomLevel" pref="profile.default_zoom_level"
89 dataType="double" metric="Options_ChangeDefaultZoomLevel">
90 <option value="-3">57%</option>
91 <option value="-2">69%</option>
92 <option value="-1">83%</option>
93 <option value="0">100%</option>
94 <option value="1">120%</option>
95 <option value="2">144%</option>
96 <option value="3">172%</option>
97 <option value="4">207%</option>
98 <option value="5">248%</option>
99 <option value="6">298%</option>
100 </select>
101 </label>
102 </div>
103 <if expr="not pp_ifdef('chromeos') or os == 'win32'">
104 <div class="section-group">
105 </if>
106 <if expr="not pp_ifdef('chromeos')">
107 <button id="language-button"
108 i18n-content="languageAndSpellCheckSettingsButton"></button>
109 </if>
110 <if expr="not pp_ifdef('chromeos') or os == 'win32'">
111 </div>
112 </if>
113 <if expr="os == 'darwin'">
114 <div class="checkbox">
115 <label>
116 <input id="tabsToLinksPref" pref="webkit.webprefs.tabs_to_links"
117 metric="Options_TabsToLinks" type="checkbox">
118 <span i18n-content="tabsToLinksPref"></span>
119 </label>
120 </div>
121 </if>
122 </div>
123 </section>
124 <section>
125 <h3 i18n-content="advancedSectionTitleNetwork"></h3>
126 <div>
127 <div id="proxiesLabel"></div>
128 <div class="section-group">
129 <button id="proxiesConfigureButton"
130 i18n-content="proxiesConfigureButton"></button>
131 </div>
132 </div>
133 </section>
134 <section>
135 <h3 i18n-content="advancedSectionTitleTranslate"></h3>
136 <div class="checkbox">
137 <label>
138 <input id="enableTranslate" pref="translate.enabled"
139 metric="Options_Translate" type="checkbox">
140 <span i18n-content="translateEnableTranslate"></span>
141 </label>
142 </div>
143 </section>
144 <if expr="not pp_ifdef('chromeos')">
145 <section>
146 <h3 i18n-content="downloadLocationGroupName"></h3>
147 <div>
148 <div id="download-location-group">
149 <label>
150 <span i18n-content="downloadLocationBrowseTitle"></span>
151 <input id="downloadLocationPath" type="text" size="36" disabled>
152 </label>
153 <button id="downloadLocationChangeButton"
154 i18n-content="downloadLocationChangeButton"></button>
155 </div>
156 <div class="checkbox">
157 <label>
158 <input id="promptForDownload" metric="Options_AskForSaveLocation"
159 type="checkbox">
160 <span id="promptForDownloadLabel"
161 i18n-content="downloadLocationAskForSaveLocation"></span>
162 </label>
163 </div>
164 <div id="auto-open-file-types-label"
165 i18n-content="autoOpenFileTypesInfo"></div>
166 <div class="section-group">
167 <button id="autoOpenFileTypesResetToDefault"
168 i18n-content="autoOpenFileTypesResetToDefault"></button>
169 </div>
170 </div>
171 </section>
172 </if>
173 <section>
174 <h3 i18n-content="advancedSectionTitleSecurity"></h3>
175 <div>
176 <div><button id="certificatesManageButton"
177 i18n-content="certificatesManageButton"></button></div>
178 <div class="checkbox">
179 <label>
180 <input id="sslCheckRevocation" type="checkbox">
181 <span i18n-content="sslCheckRevocation"></span>
182 </label>
183 </div>
184 <div class="checkbox">
185 <label>
186 <input id="sslUseSSL3" type="checkbox">
187 <span i18n-content="sslUseSSL3"></span>
188 </label>
189 </div>
190 <div class="checkbox">
191 <label>
192 <input id="sslUseTLS1" type="checkbox">
193 <span i18n-content="sslUseTLS1"></span>
194 </label>
195 </div>
196 </div>
197 </section>
198 <if expr="not pp_ifdef('chromeos')">
199 <section id="cloud-print-proxy-section">
200 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3>
201 <div>
202 <div id="cloudPrintProxyLabel"
203 i18n-content="cloudPrintProxyDisabledLabel"></div>
204 <div class="section-group">
205 <button id="cloudPrintProxySetupButton"
206 i18n-content="cloudPrintProxyDisabledButton"></button>
207 <button id="cloudPrintProxyManageButton"
208 i18n-content="cloudPrintProxyEnabledManageButton"></button>
209 </div>
210 </div>
211 </section>
212 </if>
213 <if expr="os != 'darwin' and not pp_ifdef('chromeos')">
214 <section id="background-section">
215 <h3 i18n-content="advancedSectionTitleBackground"></h3>
216 <div class="checkbox">
217 <label>
218 <input id="backgroundModeCheckbox" type="checkbox">
219 <span i18n-content="backgroundModeCheckbox"></span>
220 </label>
221 </div>
222 </section>
223 </if>
224 </div> 226 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698