diff options
author | dschuyler <dschuyler@chromium.org> | 2016-03-25 14:26:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-25 21:28:18 +0000 |
commit | 7e3a03855688b46f3abad63dc94093b09e5a6f4b (patch) | |
tree | c8f89fe6d0796b3d487cb37a98c7a84d4e22ac3d | |
parent | baab43a9a77d88943fec2566c8ed3ae2c621afe5 (diff) | |
download | chromium_src-7e3a03855688b46f3abad63dc94093b09e5a6f4b.zip chromium_src-7e3a03855688b46f3abad63dc94093b09e5a6f4b.tar.gz chromium_src-7e3a03855688b46f3abad63dc94093b09e5a6f4b.tar.bz2 |
[MD settings] match downloads path to mocks
This CL changes the downloads input into a
secondary label and adds the secondary action
class to the change button.
BUG=597883
Review URL: https://codereview.chromium.org/1836583002
Cr-Commit-Position: refs/heads/master@{#383364}
-rw-r--r-- | chrome/browser/resources/settings/downloads_page/downloads_page.html | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/chrome/browser/resources/settings/downloads_page/downloads_page.html b/chrome/browser/resources/settings/downloads_page/downloads_page.html index 598a51b..c09ef40 100644 --- a/chrome/browser/resources/settings/downloads_page/downloads_page.html +++ b/chrome/browser/resources/settings/downloads_page/downloads_page.html @@ -9,25 +9,23 @@ <link rel="import" type="css" href="downloads_page.css"> <template> <style include="settings-shared"></style> - <div class="settings-box first"> + <div class="settings-box first two-line"> <div class="start"> - <settings-input id="downloadsPath" always-flow-label readonly - i18n-values="label:downloadLocation" - pref="{{prefs.download.default_directory}}" - aria-labelledby="locationLabel"> - </settings-input> + <div>$i18n{downloadLocation}</div> + <div class="secondary">[[prefs.download.default_directory.value]]</div> </div> - <paper-button id="changeDownloadsPath" on-tap="selectDownloadLocation_" - i18n-content="changeDownloadLocation"> + <paper-button class="secondary-action" id="changeDownloadsPath" + on-tap="selectDownloadLocation_"> + $i18n{changeDownloadLocation} </paper-button> </div> <div class="settings-box block"> <settings-checkbox pref="{{prefs.download.prompt_for_download}}" - i18n-values="label:promptForDownload"> + label="$i18n{promptForDownload}"> </settings-checkbox> <if expr="chromeos"> <settings-checkbox pref="{{prefs.gdata.disabled}}" - i18n-values="label:disconnectGoogleDriveAccount"> + label="$i18n{disconnectGoogleDriveAccount}"> </settings-checkbox> </if> </div> |