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

Side by Side Diff: chrome/browser/resources/settings/about_page/about_page.html

Issue 1997453006: MD Settings: About page, updating buttons based on current update status. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@about_page_main3
Patch Set: Nits. Created 4 years, 7 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
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://md-settings/about_page/about_page_browser_prox y.html"> 2 <link rel="import" href="chrome://md-settings/about_page/about_page_browser_prox y.html">
3 <link rel="import" href="chrome://md-settings/i18n_setup.html"> 3 <link rel="import" href="chrome://md-settings/i18n_setup.html">
4 <link rel="import" href="chrome://md-settings/icons.html"> 4 <link rel="import" href="chrome://md-settings/icons.html">
5 <link rel="import" href="chrome://md-settings/settings_page/main_page_behavior.h tml"> 5 <link rel="import" href="chrome://md-settings/settings_page/main_page_behavior.h tml">
6 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html"> 6 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html">
7 <link rel="import" href="chrome://md-settings/settings_page/settings_section.htm l"> 7 <link rel="import" href="chrome://md-settings/settings_page/settings_section.htm l">
8 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> 8 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
9 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 9 <link rel="import" href="chrome://resources/cr_elements/icons.html">
10 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 10 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 icon$="[[getIcon_(currentUpdateStatusEvent_)]]" 61 icon$="[[getIcon_(currentUpdateStatusEvent_)]]"
62 src="[[getIconSrc_(currentUpdateStatusEvent_)]]"> 62 src="[[getIconSrc_(currentUpdateStatusEvent_)]]">
63 </iron-icon> 63 </iron-icon>
64 </div> 64 </div>
65 <div class="start"> 65 <div class="start">
66 <div hidden="[[!shouldShowUpdateStatus_(currentUpdateStatusEvent_) ]]"> 66 <div hidden="[[!shouldShowUpdateStatus_(currentUpdateStatusEvent_) ]]">
67 [[getUpdateStatusMessage_(currentUpdateStatusEvent_)]] 67 [[getUpdateStatusMessage_(currentUpdateStatusEvent_)]]
68 </div> 68 </div>
69 <div class="secondary">$i18n{aboutBrowserVersion}</div> 69 <div class="secondary">$i18n{aboutBrowserVersion}</div>
70 </div> 70 </div>
71 <paper-button id="relaunch" class="secondary-action"
72 hidden="[[!shouldShowRelaunch_(currentUpdateStatusEvent_)]]"
73 on-tap="onRelaunchTap_">
74 $i18n{aboutRelaunch}
75 </paper-button>
71 <if expr="chromeos"> 76 <if expr="chromeos">
72 <paper-button class="secondary-action">Check for update</paper-butto n> 77 <paper-button id="relaunchAndPowerwash" class="secondary-action"
78 hidden="[[!shouldShowRelaunchAndPowerwash_(currentUpdateStatusEv ent_)]]"
79 on-tap="onRelaunchAndPowerwashTap_">
80 $i18n{aboutRelaunchAndPowerwash}
81 </paper-button>
82 <paper-button id="checkForUpdates" class="secondary-action"
83 hidden="[[!shouldShowCheckUpdates_(currentUpdateStatusEvent_)]]"
84 on-tap="onCheckUpdatesTap_">
85 $i18n{aboutCheckForUpdates}
86 </paper-button>
73 </if> 87 </if>
74 </div> 88 </div>
75 <div id="help" class="settings-box two-line" on-tap="onHelpTap_"> 89 <div id="help" class="settings-box two-line" on-tap="onHelpTap_">
76 $i18n{aboutGetHelpUsingChrome} 90 $i18n{aboutGetHelpUsingChrome}
77 </div> 91 </div>
78 <if expr="_google_chrome"> 92 <if expr="_google_chrome">
79 <div id="reportIssue" class="settings-box" on-tap="onReportIssueTap_"> 93 <div id="reportIssue" class="settings-box" on-tap="onReportIssueTap_">
80 $i18n{aboutReportAnIssue} 94 $i18n{aboutReportAnIssue}
81 </div> 95 </div>
82 </if> 96 </if>
83 <if expr="chromeos"> 97 <if expr="chromeos">
84 <div class="settings-box" on-tap="onDetailedBuildInfoTap_"> 98 <div class="settings-box" on-tap="onDetailedBuildInfoTap_">
85 <!-- TODO(dpapad): Localize string. --> 99 <!-- TODO(dpapad): Localize string. -->
86 Detailed build info 100 Detailed build info
87 </div> 101 </div>
88 </if> 102 </if>
89 </neon-animatable> 103 </neon-animatable>
90 <if expr="chromeos"> 104 <if expr="chromeos">
91 <template is="dom-if" name="detailed-build-info"> 105 <template is="dom-if" name="detailed-build-info">
92 <settings-subpage page-title="Detailed build information"> 106 <settings-subpage page-title="Detailed build information">
93 <settings-detailed-build-info></settings-detailed-build-info> 107 <settings-detailed-build-info></settings-detailed-build-info>
94 </settings-subpage> 108 </settings-subpage>
95 </template> 109 </template>
96 </if> 110 </if>
97 </settings-animated-pages> 111 </settings-animated-pages>
98 </settings-section> 112 </settings-section>
99 </template> 113 </template>
100 <script src="about_page.js"></script> 114 <script src="about_page.js"></script>
101 </dom-module> 115 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698