OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> | 1 <link rel="import" href="chrome://resources/polymer/v0_8/polymer/polymer.html"> |
2 <link rel="import" href="chrome://resources/polymer/core-label/core-label.html"> | 2 <link rel="import" href="chrome://resources/polymer/v0_8/iron-flex-layout/classe s/iron-flex-layout.html"> |
3 <link rel="import" href="chrome://resources/polymer/paper-input/paper-input.html "> | 3 <link rel="import" href="chrome://resources/polymer/v0_8/paper-input/paper-input .html"> |
4 <link rel="import" href="chrome://resources/polymer/paper-shadow/paper-shadow.ht ml"> | 4 <link rel="import" href="chrome://resources/polymer/v0_8/paper-material/paper-ma terial.html"> |
5 <link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html "> | 5 <link rel="import" href="chrome://resources/cr_elements/v0_8/cr_button/cr_button .html"> |
6 <link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html"> | 6 <link rel="import" href="chrome://resources/cr_elements/v0_8/cr_input/cr_input.h tml"> |
7 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html"> | 7 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html"> |
8 <link rel="import" href="downloads_page_style.html"> | |
9 | 8 |
10 <polymer-element name="cr-settings-downloads-page"> | 9 <dom-module id="cr-settings-downloads-page"> |
10 <link rel="import" type="css" href="chrome://md-settings/settings_page/setting s_page.css"> | |
11 <link rel="import" type="css" href="downloads_page.css"> | |
11 <template> | 12 <template> |
12 <link rel="stylesheet" href="chrome://md-settings/settings_page/settings_pag e.css"> | 13 <paper-material> |
13 <core-style ref="downloadsPageStyle"></core-style> | 14 <div class="horizontal layout center"> |
14 <paper-shadow layout vertical cross-fade> | 15 <div class="layout horizontal center"> |
15 <div horizontal layout center> | 16 <label class="location-label" i18n-content="downloadsLocationLabel"> |
michaelpg
2015/05/12 06:50:19
I think i18n-content will result in the HTML conte
Jeremy Klein
2015/05/12 07:01:15
Grr, good point... Can't use for because it's a pr
michaelpg
2015/05/12 07:27:47
Weird, you're right. I wonder why it matters.
In
| |
16 <core-label horizontal layout center> | 17 <cr-input id="downloadsPath" floatingLabel="false" |
17 <span class="location-label" i18n-content="downloadsLocationLabel"></s pan> | 18 value="{{prefs.settings.download.default_directory.value}}" |
18 <cr-input id="downloadsPath" floatingLabel="false" | 19 readonly> |
19 value="{{prefs.settings.download.default_directory.value}}" readon ly for> | 20 </cr-input> |
20 </cr-input> | 21 </label> |
21 </core-label> | 22 </div> |
22 <cr-button id="changeDownloadsPath" on-click="{{selectDownloadLocation}} " | 23 <cr-button id="changeDownloadsPath" on-click="selectDownloadLocation_" |
23 i18n-content="downloadsChangeLocationButton"> | 24 i18n-content="downloadsChangeLocationButton"> |
24 </cr-button> | 25 </cr-button> |
25 </div> | 26 </div> |
26 <cr-settings-checkbox | 27 <cr-settings-checkbox |
27 pref="{{prefs.settings.download.prompt_for_download}}" | 28 pref="{{prefs.settings.download.prompt_for_download}}" |
28 i18n-values="label:downloadsPromptForDownloadLabel"> | 29 i18n-values="label:downloadsPromptForDownloadLabel"> |
29 </cr-settings-checkbox> | 30 </cr-settings-checkbox> |
30 </paper-shadow> | 31 </paper-material> |
31 </template> | 32 </template> |
32 <script src="downloads_page.js"></script> | 33 <script src="downloads_page.js"></script> |
33 </polymer-element> | 34 </dom-module> |
OLD | NEW |