OLD | NEW |
| (Empty) |
1 <div id="settings" class="page" hidden> | |
2 <header> | |
3 <h1 i18n-content="settingsTitle"></h1> | |
4 </header> | |
5 <if expr="not pp_ifdef('chromeos')"> | |
6 <include src="sync_section.html"> | |
7 </if> | |
8 <if expr="pp_ifdef('chromeos')"> | |
9 <section> | |
10 <h3 i18n-content="sectionTitleInternet"></h3> | |
11 <div id="network-settings"> | |
12 <list id="network-list"></list> | |
13 <div id="shared-proxies" class="checkbox"> | |
14 <label> | |
15 <input id="use-shared-proxies" type="checkbox" | |
16 pref="settings.use_shared_proxies"> | |
17 <span i18n-content="useSharedProxies"></span> | |
18 </label> | |
19 </div> | |
20 <div id="network-locked-message" hidden> | |
21 <span i18n-content="accessLockedMsg"></span> | |
22 </div> | |
23 <div id="network-menus"></div> | |
24 </div> | |
25 </section> | |
26 </if> | |
27 <if expr="not pp_ifdef('chromeos')"> | |
28 <include src="startup_section.html"> | |
29 </if> | |
30 <section> | |
31 <h3 i18n-content="sectionTitleAppearance"></h3> | |
32 <div class="settings-row"> | |
33 <if expr="pp_ifdef('chromeos') and pp_ifdef('use_ash')"> | |
34 <button id="set-wallpaper" i18n-content="setWallpaper" | |
35 guest-visibility="disabled"></button> | |
36 </if> | |
37 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> | |
38 <button id="themes-gallery" i18n-content="themesGallery"></button> | |
39 <button id="themes-GTK-button" | |
40 i18n-content="themesGTKButton"></button> | |
41 <button id="themes-reset" | |
42 i18n-content="themesSetClassic"></button> | |
43 </if> | |
44 <if expr="pp_ifdef('toolkit_views') or is_win or is_macosx"> | |
45 <button id="themes-gallery" i18n-content="themesGallery"></button> | |
46 <button id="themes-reset" i18n-content="themesReset"></button> | |
47 </if> | |
48 </div> | |
49 <div class="checkbox" guest-visibility="disabled"><label> | |
50 <input id="show-home-button" type="checkbox" | |
51 pref="browser.show_home_button" metric="Options_Homepage_HomeButton"> | |
52 <span i18n-content="homePageShowHomeButton"></span> | |
53 </label></div> | |
54 <div id="change-home-page-section" hidden> | |
55 <div id="change-home-page-section-container" guest-visibility="disabled"> | |
56 <span id="home-page-ntp" class="home-page-label" | |
57 i18n-content="homePageNtp"></span> | |
58 <span id="home-page-url" class="home-page-label"></span> | |
59 <button id="change-home-page" class="link-button" | |
60 i18n-content="changeHomePage"></button> | |
61 </div> | |
62 </div> | |
63 <div class="checkbox" guest-visibility="disabled"><label> | |
64 <input type="checkbox" pref="bookmark_bar.show_on_all_tabs" | |
65 metric="Options_ShowBookmarksBar"> | |
66 <span i18n-content="toolbarShowBookmarksBar"></span> | |
67 </label></div> | |
68 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> | |
69 <div class="checkbox"><label> | |
70 <input id="show-window-decorations" type="checkbox" | |
71 pref="browser.custom_chrome_frame" metric="Options_CustomFrame" | |
72 inverted_pref> | |
73 <span i18n-content="showWindowDecorations"></span> | |
74 </label></div> | |
75 </if> | |
76 </section> | |
77 <if expr="pp_ifdef('chromeos')"> | |
78 <section> | |
79 <h3 i18n-content="sectionTitleDevice"></h3> | |
80 <div> | |
81 <span i18n-content="deviceGroupDescription"></span> | |
82 <div id="touchpad-settings" class="settings-row" hidden> | |
83 <span class="option-name" i18n-content="touchpadSpeed"></span> | |
84 <input id="sensitivity-range" type="range" min="1" max="5" | |
85 pref="settings.touchpad.sensitivity2" class="touch-slider"> | |
86 </div> | |
87 <div id="mouse-settings" class="settings-row" hidden> | |
88 <span class="option-name" i18n-content="mouseSpeed"></span> | |
89 <input id="sensitivity-range" type="range" min="1" max="5" | |
90 pref="settings.mouse.sensitivity2" class="touch-slider"> | |
91 </div> | |
92 <div id="no-pointing-devices" i18n-content="noPointingDevices" | |
93 class="settings-row" hidden> | |
94 </div> | |
95 <div class="settings-row"> | |
96 <button id="pointer-settings-button"> | |
97 </button> | |
98 <button id="keyboard-settings-button" | |
99 i18n-content="keyboardSettingsButtonTitle"> | |
100 </button> | |
101 </div> | |
102 </div> | |
103 </section> | |
104 </if> | |
105 <section> | |
106 <h3 i18n-content="sectionTitleSearch"></h3> | |
107 <div> | |
108 <span class="settings-row" | |
109 i18n-values=".innerHTML:defaultSearchGroupLabel"> | |
110 </span> | |
111 <div class="settings-row"> | |
112 <select id="default-search-engine" class="weakrtl"></select> | |
113 <button id="manage-default-search-engines" | |
114 i18n-content="defaultSearchManageEngines"> | |
115 </button> | |
116 </div> | |
117 <div class="checkbox" guest-visibility="disabled"> | |
118 <label id="instant-label"> | |
119 <!-- TODO(estade): metric? --> | |
120 <input id="instant-enabled-control" type="checkbox" | |
121 pref="instant.enabled"> | |
122 <!-- TODO(estade) There's a link in here which should not be inside | |
123 a <label>. --> | |
124 <span i18n-values=".innerHTML:instantPrefAndWarning"></span> | |
125 </label> | |
126 </div> | |
127 </div> | |
128 </section> | |
129 <section guest-visibility="hidden"> | |
130 <h3 i18n-content="sectionTitleUsers"></h3> | |
131 <if expr="pp_ifdef('chromeos')"> | |
132 <include src="sync_section.html"> | |
133 </if> | |
134 <div id="profiles-section" hidden> | |
135 <list id="profiles-list" class="settings-list" hidden></list> | |
136 <div id="profiles-single-message" class="settings-row" | |
137 i18n-content="profilesSingleUser"> | |
138 </div> | |
139 <div id="profiles-buttons"> | |
140 <button id="profiles-create" i18n-content="profilesCreate"></button> | |
141 <button id="profiles-manage" i18n-content="profilesManage" disabled> | |
142 </button> | |
143 <button id="profiles-delete" i18n-content="profilesDelete"></button> | |
144 <if expr="not pp_ifdef('chromeos')"> | |
145 <button id="import-data" i18n-content="importData"></button> | |
146 </if> | |
147 </div> | |
148 </div> | |
149 </section> | |
150 <if expr="not pp_ifdef('chromeos')"> | |
151 <section> | |
152 <h3 i18n-content="sectionTitleDefaultBrowser"></h3> | |
153 <div> | |
154 <button id="set-as-default-browser" | |
155 i18n-content="defaultBrowserUseAsDefault" hidden> | |
156 </button> | |
157 <div id="default-browser-state" i18n-content="defaultBrowserUnknown"> | |
158 </div> | |
159 <div id="auto-launch-option" class="checkbox" hidden> | |
160 <label id="auto-launch-label"> | |
161 <input id="auto-launch" type="checkbox"> | |
162 <span i18n-content="autoLaunchText"></span> | |
163 </label> | |
164 </div> | |
165 </div> | |
166 </section> | |
167 </if> <!-- not pp_ifdef('chromeos') --> | |
168 <div id="advanced-settings" hidden> | |
169 <div id="advanced-settings-container"> | |
170 <if expr="pp_ifdef('chromeos')"> | |
171 <section> | |
172 <h3 i18n-content="datetimeTitle"></h3> | |
173 <div class="option-control-table"> | |
174 <div guest-visibility="disabled"> | |
175 <span class="option-name" i18n-content="timezone"></span> | |
176 <div id="timezone-value"> | |
177 <select id="timezone-select" class="control" | |
178 i18n-options="timezoneList" data-type="string" | |
179 pref="cros.system.timezone"> | |
180 </select> | |
181 </div> | |
182 </div> | |
183 <div class="checkbox"> | |
184 <label> | |
185 <input id="use-24hour-clock" pref="settings.clock.use_24hour_clock" | |
186 type="checkbox"> | |
187 <span i18n-content="use24HourClock"></span> | |
188 </label> | |
189 </div> | |
190 </div> | |
191 </section> | |
192 </if> | |
193 <section> | |
194 <h3 i18n-content="advancedSectionTitlePrivacy"></h3> | |
195 <div> | |
196 <div class="settings-row"> | |
197 <button id="privacyContentSettingsButton" | |
198 i18n-content="privacyContentSettingsButton"></button> | |
199 <button id="privacyClearDataButton" | |
200 i18n-content="privacyClearDataButton"></button> | |
201 </div> | |
202 <p id="privacy-explanation" class="settings-row"> | |
203 <span i18n-content="improveBrowsingExperience"></span> | |
204 <span i18n-content="disableWebServices"></span> | |
205 <a target="_blank" i18n-content="learnMore" | |
206 i18n-values="href:privacyLearnMoreURL"></a> | |
207 </p> | |
208 <div class="checkbox"> | |
209 <label> | |
210 <input id="alternateErrorPagesEnabled" | |
211 pref="alternate_error_pages.enabled" | |
212 metric="Options_LinkDoctorCheckbox" type="checkbox"> | |
213 <span i18n-content="linkDoctorPref"></span> | |
214 </label> | |
215 </div> | |
216 <div class="checkbox" guest-visibility="disabled"> | |
217 <label> | |
218 <input id="searchSuggestEnabled" pref="search.suggest_enabled" | |
219 metric="Options_UseSuggestCheckbox" type="checkbox"> | |
220 <span i18n-content="suggestPref"></span> | |
221 </label> | |
222 </div> | |
223 <div class="checkbox" guest-visibility="disabled"> | |
224 <label> | |
225 <input id="dnsPrefetchingEnabled" pref="dns_prefetching.enabled" | |
226 metric="Options_DnsPrefetchCheckbox" type="checkbox"> | |
227 <span i18n-content="networkPredictionEnabledDescription"></span> | |
228 </label> | |
229 </div> | |
230 <div class="checkbox"> | |
231 <label> | |
232 <input id="safeBrowsingEnabled" pref="safebrowsing.enabled" | |
233 metric="Options_SafeBrowsingCheckbox" type="checkbox"> | |
234 <span i18n-content="safeBrowsingEnableProtection"></span> | |
235 </label> | |
236 </div> | |
237 <if expr="pp_ifdef('_google_chrome')"> | |
238 <div class="checkbox"> | |
239 <label id="spelling-label"> | |
240 <input id="spelling-enabled-control" type="checkbox" | |
241 pref="spellcheck.use_spelling_service"> | |
242 <span i18n-content="spellingPref"></span> | |
243 </label> | |
244 </div> | |
245 <div id="metricsReportingSetting" class="checkbox"> | |
246 <label> | |
247 <if expr="pp_ifdef('chromeos')"> | |
248 <input id="metricsReportingEnabled" | |
249 pref="cros.metrics.reportingEnabled" type="checkbox"> | |
250 </if> | |
251 <if expr="not pp_ifdef('chromeos')"> | |
252 <input id="metricsReportingEnabled" type="checkbox"> | |
253 </if> | |
254 <span i18n-content="enableLogging"></span> | |
255 </label> | |
256 </div> | |
257 </if> <!-- pp_ifdef('_google_chrome') --> | |
258 </div> | |
259 </section> | |
260 <if expr="pp_ifdef('chromeos')"> | |
261 <!-- By default, the display section is hidden. It is only visible if | |
262 more than one display is found. --> | |
263 <section id="display-options-section" hidden> | |
264 <h3 i18n-content="displayOptionsTitle"></h3> | |
265 <div class="settings-row"> | |
266 <button id="display-options-button" | |
267 i18n-content="displayOptionsButton"> | |
268 </button> | |
269 </div> | |
270 </section> | |
271 <!-- By default, the bluetooth section is hidden. It is only visible if a | |
272 bluetooth adapter is discovered --> | |
273 <section id="bluetooth-devices" hidden> | |
274 <h3 i18n-content="bluetooth"></h3> | |
275 <div id="bluetooth-options-div"> | |
276 <div class="checkbox"> | |
277 <label> | |
278 <input type="checkbox" id="enable-bluetooth"> | |
279 <span i18n-content="enableBluetooth"> | |
280 </label> | |
281 </div> | |
282 <div class="settings-list bluetooth-device-list" hidden> | |
283 <list id="bluetooth-paired-devices-list"></list> | |
284 <div id="bluetooth-paired-devices-list-empty-placeholder" | |
285 class="bluetooth-empty-list-label" hidden> | |
286 <span i18n-content="bluetoothNoDevices"></span> | |
287 </div> | |
288 </div> | |
289 <div id="bluetooth-button-group"> | |
290 <button id="bluetooth-add-device" | |
291 i18n-content="addBluetoothDevice" hidden></button> | |
292 <button id="bluetooth-reconnect-device" | |
293 i18n-content="bluetoothConnectDevice" disabled hidden></button> | |
294 </div> | |
295 </div> | |
296 </section> | |
297 </if> <!-- pp_ifdef('chromeos') --> | |
298 <section id="passwords-and-autofill-section"> | |
299 <h3 i18n-content="passwordsAndAutofillGroupName"></h3> | |
300 <div class="checkbox"> | |
301 <label> | |
302 <input id="autofill-enabled" pref="autofill.enabled" | |
303 metric="Options_FormAutofill" type="checkbox"> | |
304 <span i18n-content="autofillEnabled"></span> | |
305 </label> | |
306 <button id="autofill-settings" class="link-button" | |
307 pref="autofill.enabled" | |
308 i18n-content="manageAutofillSettings"></button> | |
309 </div> | |
310 <div class="checkbox"> | |
311 <label> | |
312 <input id="password-manager-enabled" | |
313 pref="profile.password_manager_enabled" | |
314 metric="Options_PasswordManager" type="checkbox"> | |
315 <span i18n-content="passwordManagerEnabled"></span> | |
316 </label> | |
317 <button id="manage-passwords" class="link-button" | |
318 i18n-content="managePasswords" | |
319 pref="profile.password_manager_enabled"></button> | |
320 </div> | |
321 <div class="checkbox" id="password-generation-checkbox"> | |
322 <label> | |
323 <input id="password-generation-enabled" pref="password_generation.enable
d" | |
324 metric="Options_PasswordGenerationCheckbox" type="checkbox"> | |
325 <span i18n-content="passwordGenerationEnabledDescription"></span> | |
326 </label> | |
327 </div> | |
328 <if expr="is_macosx"> | |
329 <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden> | |
330 </div> | |
331 </if> | |
332 <!-- This makes the managed-banner appear when the "pref" is configured by | |
333 the IT administrator. --> | |
334 <input name="password_allow_show_hidden" type="text" | |
335 pref="profile.password_manager_allow_show_passwords" hidden> | |
336 </section> | |
337 <section id="web-content-section"> | |
338 <h3 i18n-content="advancedSectionTitleContent"></h3> | |
339 <div> | |
340 <div class="settings-row"> | |
341 <label class="web-content-select-label"> | |
342 <span i18n-content="defaultFontSizeLabel"></span> | |
343 <select id="defaultFontSize"> | |
344 <option value="9" i18n-content="fontSizeLabelVerySmall"> | |
345 </option> | |
346 <option value="12" i18n-content="fontSizeLabelSmall"></option> | |
347 <option value="16" i18n-content="fontSizeLabelMedium"></option> | |
348 <option value="20" i18n-content="fontSizeLabelLarge"></option> | |
349 <option value="24" i18n-content="fontSizeLabelVeryLarge"> | |
350 </option> | |
351 </select> | |
352 </label> | |
353 <button id="fontSettingsCustomizeFontsButton" | |
354 i18n-content="fontSettingsCustomizeFontsButton"></button> | |
355 </div> | |
356 <div class="settings-row"> | |
357 <label class="web-content-select-label"> | |
358 <span i18n-content="defaultZoomFactorLabel"></span> | |
359 <select id="defaultZoomFactor" dataType="double"></select> | |
360 </label> | |
361 </div> | |
362 <if expr="is_macosx"> | |
363 <div class="checkbox"> | |
364 <label> | |
365 <input id="tabsToLinksPref" pref="webkit.webprefs.tabs_to_links" | |
366 metric="Options_TabsToLinks" type="checkbox"> | |
367 <span i18n-content="tabsToLinksPref"></span> | |
368 </label> | |
369 </div> | |
370 </if> | |
371 </div> | |
372 </section> | |
373 <if expr="not pp_ifdef('chromeos')"> | |
374 <section> | |
375 <h3 i18n-content="advancedSectionTitleNetwork"></h3> | |
376 <div> | |
377 <span id="proxiesLabel" class="settings-row"></span> | |
378 <div class="settings-row"> | |
379 <button id="proxiesConfigureButton" | |
380 i18n-content="proxiesConfigureButton"></button> | |
381 </div> | |
382 </div> | |
383 </section> | |
384 </if> | |
385 <section> | |
386 <h3 i18n-content="advancedSectionTitleLanguages"></h3> | |
387 <span class="settings-row" i18n-content="languageSectionLabel"></span> | |
388 <div class="settings-row"> | |
389 <button id="language-button" | |
390 i18n-content="languageAndSpellCheckSettingsButton"></button> | |
391 </div> | |
392 <div class="checkbox"> | |
393 <label> | |
394 <input id="enableTranslate" pref="translate.enabled" | |
395 metric="Options_Translate" type="checkbox"> | |
396 <span i18n-content="translateEnableTranslate"></span> | |
397 </label> | |
398 </div> | |
399 </section> | |
400 <section> | |
401 <h3 i18n-content="downloadLocationGroupName"></h3> | |
402 <div> | |
403 <div class="settings-row"> | |
404 <label> | |
405 <span i18n-content="downloadLocationBrowseTitle"></span> | |
406 <input id="downloadLocationPath" class="weakrtl" type="text" | |
407 size="36" readonly> | |
408 </label> | |
409 <button id="downloadLocationChangeButton" | |
410 pref="download.prompt_for_download" | |
411 i18n-content="downloadLocationChangeButton"></button> | |
412 </div> | |
413 <div class="checkbox"> | |
414 <label> | |
415 <input type="checkbox" | |
416 pref="download.prompt_for_download" | |
417 metric="Options_AskForSaveLocation"> | |
418 <span i18n-content="downloadLocationAskForSaveLocation"></span> | |
419 </label> | |
420 </div> | |
421 <if expr="pp_ifdef('chromeos')"> | |
422 <div class="checkbox" guest-visibility="disabled"> | |
423 <label> | |
424 <input type="checkbox" | |
425 pref="gdata.disabled" | |
426 metric="Options_DisableGData"> | |
427 <span i18n-content="disableGData"></span> | |
428 </label> | |
429 </div> | |
430 </if> | |
431 <if expr="not pp_ifdef('chromeos')"> | |
432 <div id="auto-open-file-types-section" hidden> | |
433 <div id="auto-open-file-types-container"> | |
434 <div id="auto-open-file-types-label" | |
435 i18n-content="autoOpenFileTypesInfo"></div> | |
436 <button id="autoOpenFileTypesResetToDefault" | |
437 i18n-content="autoOpenFileTypesResetToDefault"></button> | |
438 </div> | |
439 </div> | |
440 </if> | |
441 </div> | |
442 </section> | |
443 <section> | |
444 <h3 i18n-content="advancedSectionTitleSecurity"></h3> | |
445 <div> | |
446 <if expr="pp_ifdef('use_nss') or is_win or is_macosx"> | |
447 <div class="settings-row"> | |
448 <button id="certificatesManageButton" | |
449 i18n-content="certificatesManageButton"></button> | |
450 </div> | |
451 </if> | |
452 <div class="checkbox"> | |
453 <label> | |
454 <input id="sslCheckRevocation" type="checkbox"> | |
455 <span i18n-content="sslCheckRevocation"></span> | |
456 </label> | |
457 </div> | |
458 </div> | |
459 </section> | |
460 <if expr="not pp_ifdef('chromeos')"> | |
461 <section id="cloud-print-connector-section"> | |
462 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3> | |
463 <div> | |
464 <p id="cloudPrintConnectorLabel" class="settings-row" | |
465 i18n-content="cloudPrintConnectorDisabledLabel"></p> | |
466 <div class="settings-row"> | |
467 <button id="cloudPrintConnectorSetupButton" | |
468 i18n-content="cloudPrintConnectorDisabledButton"></button> | |
469 <button id="cloudPrintManageButton" | |
470 i18n-content="cloudPrintConnectorEnabledManageButton"></button> | |
471 </div> | |
472 </div> | |
473 </section> | |
474 </if> | |
475 <if expr="pp_ifdef('chromeos')"> | |
476 <section id="cloud-print-connector-section"> | |
477 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3> | |
478 <div> | |
479 <div> | |
480 <span i18n-content="cloudPrintChromeosOptionLabel"></span> | |
481 <a target="_blank" i18n-content="learnMore" | |
482 i18n-values="href:cloudPrintLearnMoreURL"></a> | |
483 </div> | |
484 <div class="settings-row"> | |
485 <button id="cloudPrintManageButton" | |
486 i18n-content="cloudPrintChromeosOptionButton"></button> | |
487 </div> | |
488 </div> | |
489 </section> | |
490 <if expr="pp_ifdef('chromeos')"> | |
491 <include src="startup_section.html"> | |
492 </if> | |
493 <section> | |
494 <h3 i18n-content="accessibilityTitle"></h3> | |
495 <div class="option-control-table"> | |
496 <div class="option-name"> | |
497 <div class="checkbox"> | |
498 <label> | |
499 <input id="accessibility-spoken-feedback-check" type="checkbox"> | |
500 <span i18n-content="accessibilitySpokenFeedback"></span> | |
501 </label> | |
502 </div> | |
503 </div> | |
504 <div class="option-name"> | |
505 <div class="checkbox"> | |
506 <label> | |
507 <input id="accessibility-high-contrast-check" type="checkbox"> | |
508 <span i18n-content="accessibilityHighContrast"></span> | |
509 </label> | |
510 </div> | |
511 </div> | |
512 <div class="option-name"> | |
513 <div class="checkbox"> | |
514 <label> | |
515 <input id="accessibility-screen-magnifier-check" type="checkbox"> | |
516 <span i18n-content="accessibilityScreenMagnifier"></span> | |
517 </label> | |
518 </div> | |
519 </div> | |
520 </div> | |
521 </section> | |
522 </if> | |
523 <if expr="not is_macosx and not pp_ifdef('chromeos')"> | |
524 <section id="background-section"> | |
525 <h3 i18n-content="advancedSectionTitleBackground"></h3> | |
526 <div class="checkbox"> | |
527 <label> | |
528 <input id="backgroundModeCheckbox" type="checkbox"> | |
529 <span i18n-content="backgroundModeCheckbox"></span> | |
530 </label> | |
531 </div> | |
532 </section> | |
533 </if> | |
534 </div> <!-- advanced-settings-container --> | |
535 </div> <!-- advanced-settings --> | |
536 <footer> | |
537 <button id="advanced-settings-expander" class="link-button" | |
538 i18n-content="showAdvancedSettings"> | |
539 </button> | |
540 </footer> | |
541 </div> | |
OLD | NEW |