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

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: Refactor rule for padding around the warning at the top of the accounts page. 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">
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"
Rick Byers 2011/06/04 18:49:45 Remove trailing whitespace here and 3 other lines
14 <div> 14 class="informational-text">
15 <span i18n-content="disableWebServices" class="informational-text"> 15 </div>
16 </span> 16 <div>
17 <a target="_blank" i18n-content="learnMore" 17 <span i18n-content="disableWebServices"
18 i18n-values="href:privacyLearnMoreURL"></a> 18 class="informational-text">
19 </div> 19 </span>
20 <a target="_blank" i18n-content="learnMore"
21 i18n-values="href:privacyLearnMoreURL"></a>
22 </div>
23 <div class="checkbox">
24 <label>
25 <input id="alternateErrorPagesEnabled"
26 pref="alternate_error_pages.enabled"
27 metric="Options_LinkDoctorCheckbox" type="checkbox">
28 <span i18n-content="linkDoctorPref"></span>
29 </label>
30 </div>
31 <div class="checkbox">
32 <label>
33 <input id="searchSuggestEnabled" pref="search.suggest_enabled"
34 metric="Options_UseSuggestCheckbox" type="checkbox">
35 <span i18n-content="suggestPref"></span>
36 </label>
37 </div>
38 <div class="checkbox">
39 <label>
40 <input id="dnsPrefetchingEnabled" pref="dns_prefetching.enabled"
41 metric="Options_DnsPrefetchCheckbox" type="checkbox">
42 <span i18n-content="networkPredictionEnabledDescription"></span>
43 </label>
44 </div>
45 <div class="checkbox">
46 <label>
47 <input id="safeBrowsingEnabled" pref="safebrowsing.enabled"
48 metric="Options_SafeBrowsingCheckbox" type="checkbox">
49 <span i18n-content="safeBrowsingEnableProtection"></span>
50 </label>
51 </div>
52 <if expr="pp_ifdef('_google_chrome') and pp_ifdef('chromeos')">
53 <div id="metricsReportingSetting" class="checkbox">
54 <label>
55 <input id="metricsReportingEnabled"
56 pref="cros.metrics.reportingEnabled" type="checkbox">
57 <span id="metricsReportingEnabledText"
58 i18n-content="enableLogging">
59 </span>
60 </label>
61 </div>
62 </if>
63 <if expr="pp_ifdef('_google_chrome') and not pp_ifdef('chromeos')">
64 <div id="metricsReportingSetting" class="checkbox">
65 <label>
66 <input id="metricsReportingEnabled" type="checkbox">
67 <span i18n-content="enableLogging"></span>
68 </label>
69 </div>
70 </if>
71 </div>
72 </section>
73 <section>
74 <h3 i18n-content="advancedSectionTitleContent"></h3>
75 <div>
76 <div class="section-group">
77 <label class="web-content-select-label">
78 <span i18n-content="defaultFontSizeLabel"></span>
79 <select id="defaultFontSize">
80 <option value="9" i18n-content="fontSizeLabelVerySmall">
81 </option>
82 <option value="12" i18n-content="fontSizeLabelSmall"></option>
83 <option value="16" i18n-content="fontSizeLabelMedium"></option>
84 <option value="20" i18n-content="fontSizeLabelLarge"></option>
85 <option value="24" i18n-content="fontSizeLabelVeryLarge">
86 </option>
87 </select>
88 </label>
89 <button id="fontSettingsCustomizeFontsButton"
90 i18n-content="fontSettingsCustomizeFontsButton"></button>
91 </div>
92 <div class="section-group">
93 <label class="web-content-select-label">
94 <span i18n-content="defaultZoomLevelLabel"></span>
95 <select id="defaultZoomLevel" pref="profile.default_zoom_level"
96 dataType="double" metric="Options_ChangeDefaultZoomLevel">
97 <option value="-3">57%</option>
98 <option value="-2">69%</option>
99 <option value="-1">83%</option>
100 <option value="0">100%</option>
101 <option value="1">120%</option>
102 <option value="2">144%</option>
103 <option value="3">172%</option>
104 <option value="4">207%</option>
105 <option value="5">248%</option>
106 <option value="6">298%</option>
107 </select>
108 </label>
109 </div>
110 <if expr="not pp_ifdef('chromeos') or os == 'win32'">
111 <div class="section-group">
112 </if>
113 <if expr="not pp_ifdef('chromeos')">
114 <button id="language-button"
115 i18n-content="languageAndSpellCheckSettingsButton"></button>
116 </if>
117 <if expr="not pp_ifdef('chromeos') or os == 'win32'">
118 </div>
119 </if>
120 <if expr="os == 'darwin'">
121 <div class="checkbox">
122 <label>
123 <input id="tabsToLinksPref" pref="webkit.webprefs.tabs_to_links"
124 metric="Options_TabsToLinks" type="checkbox">
125 <span i18n-content="tabsToLinksPref"></span>
126 </label>
127 </div>
128 </if>
129 </div>
130 </section>
131 <section>
132 <h3 i18n-content="advancedSectionTitleNetwork"></h3>
133 <div>
134 <div id="proxiesLabel"></div>
135 <div class="section-group">
136 <button id="proxiesConfigureButton"
137 i18n-content="proxiesConfigureButton"></button>
138 </div>
139 </div>
140 </section>
141 <section>
142 <h3 i18n-content="advancedSectionTitleTranslate"></h3>
20 <div class="checkbox"> 143 <div class="checkbox">
21 <label> 144 <label>
22 <input id="alternateErrorPagesEnabled" pref="alternate_error_pages.ena bled" 145 <input id="enableTranslate" pref="translate.enabled"
23 metric="Options_LinkDoctorCheckbox" type="checkbox"> 146 metric="Options_Translate" type="checkbox">
24 <span i18n-content="linkDoctorPref"></span> 147 <span i18n-content="translateEnableTranslate"></span>
25 </label> 148 </label>
26 </div> 149 </div>
150 </section>
151 <if expr="not pp_ifdef('chromeos')">
152 <section>
153 <h3 i18n-content="downloadLocationGroupName"></h3>
154 <div>
155 <div id="download-location-group">
156 <label>
157 <span i18n-content="downloadLocationBrowseTitle"></span>
158 <input id="downloadLocationPath" type="text" size="36" disabled>
159 </label>
160 <button id="downloadLocationChangeButton"
161 i18n-content="downloadLocationChangeButton"></button>
162 </div>
163 <div class="checkbox">
164 <label>
165 <input id="promptForDownload" metric="Options_AskForSaveLocation"
166 type="checkbox">
167 <span id="promptForDownloadLabel"
168 i18n-content="downloadLocationAskForSaveLocation"></span>
169 </label>
170 </div>
171 <div id="auto-open-file-types-label"
172 i18n-content="autoOpenFileTypesInfo"></div>
173 <div class="section-group">
174 <button id="autoOpenFileTypesResetToDefault"
175 i18n-content="autoOpenFileTypesResetToDefault"></button>
176 </div>
177 </div>
178 </section>
179 </if>
180 <section>
181 <h3 i18n-content="advancedSectionTitleSecurity"></h3>
182 <div>
183 <div><button id="certificatesManageButton"
184 i18n-content="certificatesManageButton"></button></div>
185 <div class="checkbox">
186 <label>
187 <input id="sslCheckRevocation" type="checkbox">
188 <span i18n-content="sslCheckRevocation"></span>
189 </label>
190 </div>
191 <div class="checkbox">
192 <label>
193 <input id="sslUseSSL3" type="checkbox">
194 <span i18n-content="sslUseSSL3"></span>
195 </label>
196 </div>
197 <div class="checkbox">
198 <label>
199 <input id="sslUseTLS1" type="checkbox">
200 <span i18n-content="sslUseTLS1"></span>
201 </label>
202 </div>
203 </div>
204 </section>
205 <if expr="not pp_ifdef('chromeos')">
206 <section id="cloud-print-proxy-section">
207 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3>
208 <div>
209 <div id="cloudPrintProxyLabel"
210 i18n-content="cloudPrintProxyDisabledLabel"></div>
211 <div class="section-group">
212 <button id="cloudPrintProxySetupButton"
213 i18n-content="cloudPrintProxyDisabledButton"></button>
214 <button id="cloudPrintProxyManageButton"
215 i18n-content="cloudPrintProxyEnabledManageButton"></button>
216 </div>
217 </div>
218 </section>
219 </if>
220 <if expr="os != 'darwin' and not pp_ifdef('chromeos')">
221 <section id="background-section">
222 <h3 i18n-content="advancedSectionTitleBackground"></h3>
27 <div class="checkbox"> 223 <div class="checkbox">
28 <label> 224 <label>
29 <input id="searchSuggestEnabled" pref="search.suggest_enabled" 225 <input id="backgroundModeCheckbox" type="checkbox">
30 metric="Options_UseSuggestCheckbox" type="checkbox"> 226 <span i18n-content="backgroundModeCheckbox"></span>
31 <span i18n-content="suggestPref"></span>
32 </label> 227 </label>
33 </div> 228 </div>
34 <div class="checkbox"> 229 </section>
35 <label> 230 </if>
36 <input id="dnsPrefetchingEnabled" pref="dns_prefetching.enabled" 231 </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> 232 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698