OLD | NEW |
(Empty) | |
| 1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/core-label/core-label.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/paper-input/paper-input.html
"> |
| 4 <link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button. |
| 5 html"> |
| 6 <link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox. |
| 7 html"> |
| 8 <link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html"> |
| 9 |
| 10 <polymer-element name="cr-settings-downloads-page" layout vertical> |
| 11 <template> |
| 12 <link rel="stylesheet" href="downloads_page.css"> |
| 13 <div horizontal layout center> |
| 14 <core-label horizontal layout center> |
| 15 <span class="location-label">Download location:</span> |
| 16 <cr-input id="downloadsPath" floatingLabel="false" |
| 17 value="{{prefs.settings.download.defaultDirectory}}" readonly for> |
| 18 </cr-input> |
| 19 </core-label> |
| 20 <cr-button id="changeDownloadsPath" |
| 21 on-click="{{selectDownloadLocation}}">Change</cr-button> |
| 22 </div> |
| 23 <core-label horizontal layout> |
| 24 <cr-checkbox checked="{{prefs.settings.download.promptForDownload}}" for> |
| 25 </cr-checkbox> |
| 26 <span>Ask where to save each file before downloading</span> |
| 27 </core-label> |
| 28 </template> |
| 29 <script src="downloads_page.js"></script> |
| 30 </polymer-element> |
OLD | NEW |