| OLD | NEW |
| 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="/about_page/about_page_browser_proxy.html"> | 2 <link rel="import" href="/about_page/about_page_browser_proxy.html"> |
| 3 <link rel="import" href="/i18n_setup.html"> | 3 <link rel="import" href="/i18n_setup.html"> |
| 4 <link rel="import" href="/icons.html"> | 4 <link rel="import" href="/icons.html"> |
| 5 <link rel="import" href="/settings_page/main_page_behavior.html"> | 5 <link rel="import" href="/settings_page/main_page_behavior.html"> |
| 6 <link rel="import" href="/settings_page/settings_animated_pages.html"> | 6 <link rel="import" href="/settings_page/settings_animated_pages.html"> |
| 7 <link rel="import" href="/settings_page/settings_section.html"> | 7 <link rel="import" href="/settings_page/settings_section.html"> |
| 8 <link rel="import" href="/settings_page_css.html"> | 8 <link rel="import" href="/settings_page_css.html"> |
| 9 <link rel="import" href="/settings_shared_css.html"> | 9 <link rel="import" href="/settings_shared_css.html"> |
| 10 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 10 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 .product-info { | 48 .product-info { |
| 49 display: block; | 49 display: block; |
| 50 padding-bottom: 10px; | 50 padding-bottom: 10px; |
| 51 padding-top: 10px; | 51 padding-top: 10px; |
| 52 } | 52 } |
| 53 | 53 |
| 54 .info-section { | 54 .info-section { |
| 55 margin-bottom: 12px; | 55 margin-bottom: 12px; |
| 56 } | 56 } |
| 57 </style> | 57 </style> |
| 58 <settings-section page-title="$i18n{aboutPageTitle}" | 58 <div data-page="about"> |
| 59 current-route="[[currentRoute]]" section="about"> | 59 <settings-section page-title="$i18n{aboutPageTitle}" |
| 60 <settings-animated-pages id="pages" current-route="{{currentRoute}}" | 60 current-route="[[currentRoute]]" section="about"> |
| 61 section="about"> | 61 <settings-animated-pages id="pages" current-route="{{currentRoute}}" |
| 62 <neon-animatable id="main"> | 62 section="about"> |
| 63 <div class="settings-box"> | 63 <neon-animatable id="main"> |
| 64 <img id="product-logo" | 64 <div class="settings-box"> |
| 65 srcset="chrome://theme/current-channel-logo@1x 1x, | 65 <img id="product-logo" |
| 66 chrome://theme/current-channel-logo@2x 2x" alt=""> | 66 srcset="chrome://theme/current-channel-logo@1x 1x, |
| 67 <span>$i18n{aboutProductTitle}</span> | 67 chrome://theme/current-channel-logo@2x 2x" alt=""> |
| 68 </div> | 68 <span>$i18n{aboutProductTitle}</span> |
| 69 <div class="settings-box two-line"> | |
| 70 <div hidden="[[!shouldShowUpdateStatus_(currentUpdateStatusEvent_)]]
"> | |
| 71 <iron-icon | |
| 72 icon$="[[getIcon_(currentUpdateStatusEvent_)]]" | |
| 73 src="[[getIconSrc_(currentUpdateStatusEvent_)]]"> | |
| 74 </iron-icon> | |
| 75 </div> | 69 </div> |
| 76 <div class="start"> | 70 <div class="settings-box two-line"> |
| 77 <div hidden="[[!shouldShowUpdateStatus_(currentUpdateStatusEvent_)
]]"> | 71 <div hidden="[[!shouldShowUpdateStatus_( |
| 78 [[getUpdateStatusMessage_(currentUpdateStatusEvent_)]] | 72 currentUpdateStatusEvent_)]]"> |
| 73 <iron-icon |
| 74 icon$="[[getIcon_(currentUpdateStatusEvent_)]]" |
| 75 src="[[getIconSrc_(currentUpdateStatusEvent_)]]"> |
| 76 </iron-icon> |
| 79 </div> | 77 </div> |
| 80 <div class="secondary">$i18n{aboutBrowserVersion}</div> | 78 <div class="start"> |
| 79 <div hidden="[[!shouldShowUpdateStatus_( |
| 80 currentUpdateStatusEvent_)]]"> |
| 81 [[getUpdateStatusMessage_(currentUpdateStatusEvent_)]] |
| 82 </div> |
| 83 <div class="secondary">$i18n{aboutBrowserVersion}</div> |
| 84 </div> |
| 85 <paper-button id="relaunch" class="secondary-action" |
| 86 hidden="[[!shouldShowRelaunch_(currentUpdateStatusEvent_)]]" |
| 87 on-tap="onRelaunchTap_"> |
| 88 $i18n{aboutRelaunch} |
| 89 </paper-button> |
| 90 <if expr="chromeos"> |
| 91 <paper-button id="relaunchAndPowerwash" class="secondary-action" |
| 92 hidden="[[!shouldShowRelaunchAndPowerwash_( |
| 93 currentUpdateStatusEvent_)]]" |
| 94 on-tap="onRelaunchAndPowerwashTap_"> |
| 95 $i18n{aboutRelaunchAndPowerwash} |
| 96 </paper-button> |
| 97 <paper-button id="checkForUpdates" class="secondary-action" |
| 98 hidden="[[!shouldShowCheckUpdates_( |
| 99 currentUpdateStatusEvent_)]]" |
| 100 on-tap="onCheckUpdatesTap_"> |
| 101 $i18n{aboutCheckForUpdates} |
| 102 </paper-button> |
| 103 </if> |
| 81 </div> | 104 </div> |
| 82 <paper-button id="relaunch" class="secondary-action" | 105 <div id="help" class="settings-box two-line" on-tap="onHelpTap_"> |
| 83 hidden="[[!shouldShowRelaunch_(currentUpdateStatusEvent_)]]" | 106 $i18n{aboutGetHelpUsingChrome} |
| 84 on-tap="onRelaunchTap_"> | 107 </div> |
| 85 $i18n{aboutRelaunch} | |
| 86 </paper-button> | |
| 87 <if expr="chromeos"> | |
| 88 <paper-button id="relaunchAndPowerwash" class="secondary-action" | |
| 89 hidden="[[!shouldShowRelaunchAndPowerwash_(currentUpdateStatusEv
ent_)]]" | |
| 90 on-tap="onRelaunchAndPowerwashTap_"> | |
| 91 $i18n{aboutRelaunchAndPowerwash} | |
| 92 </paper-button> | |
| 93 <paper-button id="checkForUpdates" class="secondary-action" | |
| 94 hidden="[[!shouldShowCheckUpdates_(currentUpdateStatusEvent_)]]" | |
| 95 on-tap="onCheckUpdatesTap_"> | |
| 96 $i18n{aboutCheckForUpdates} | |
| 97 </paper-button> | |
| 98 </if> | |
| 99 </div> | |
| 100 <div id="help" class="settings-box two-line" on-tap="onHelpTap_"> | |
| 101 $i18n{aboutGetHelpUsingChrome} | |
| 102 </div> | |
| 103 <if expr="_google_chrome"> | 108 <if expr="_google_chrome"> |
| 104 <div id="reportIssue" class="settings-box" on-tap="onReportIssueTap_"> | 109 <div id="reportIssue" class="settings-box" |
| 105 $i18n{aboutReportAnIssue} | 110 on-tap="onReportIssueTap_"> |
| 106 </div> | 111 $i18n{aboutReportAnIssue} |
| 112 </div> |
| 107 </if> | 113 </if> |
| 108 <if expr="chromeos"> | 114 <if expr="chromeos"> |
| 109 <div class="settings-box" on-tap="onDetailedBuildInfoTap_"> | 115 <div class="settings-box" on-tap="onDetailedBuildInfoTap_"> |
| 110 <!-- TODO(dpapad): Localize string. --> | 116 <!-- TODO(dpapad): Localize string. --> |
| 111 Detailed build info | 117 Detailed build info |
| 112 </div> | 118 </div> |
| 113 </if> | 119 </if> |
| 114 <div class="settings-box product-info"> | 120 <div class="settings-box product-info"> |
| 115 <div class="info-section"> | 121 <div class="info-section"> |
| 116 <div class="secondary">$i18n{aboutProductTitle}</div> | 122 <div class="secondary">$i18n{aboutProductTitle}</div> |
| 117 <div class="secondary">$i18n{aboutProductCopyright}</div> | 123 <div class="secondary">$i18n{aboutProductCopyright}</div> |
| 118 </div> | 124 </div> |
| 119 | 125 |
| 120 <div class="info-section"> | 126 <div class="info-section"> |
| 121 <div class="secondary">$i18nRaw{aboutProductLicense}</div> | 127 <div class="secondary">$i18nRaw{aboutProductLicense}</div> |
| 122 <if expr="chromeos"> | 128 <if expr="chromeos"> |
| 123 <div class="secondary">$i18nRaw{aboutProductOsLicense}</div> | 129 <div class="secondary">$i18nRaw{aboutProductOsLicense}</div> |
| 130 </if> |
| 131 </div> |
| 132 <if expr="_google_chrome"> |
| 133 <div class="secondary">$i18nRaw{aboutProductTos}</div> |
| 124 </if> | 134 </if> |
| 125 </div> | 135 </div> |
| 126 <if expr="_google_chrome"> | 136 <if expr="chromeos"> |
| 127 <div class="secondary">$i18nRaw{aboutProductTos}</div> | 137 <div class="settings-box product-info" id="regulatoryInfo" |
| 138 hidden$="[[!shouldShowRegulatoryInfo_(regulatoryInfo_)]]"> |
| 139 <img src="[[regulatoryInfo_.url]]" alt="[[regulatoryInfo_.text]]"> |
| 140 </div> |
| 128 </if> | 141 </if> |
| 129 </div> | 142 </neon-animatable> |
| 130 <if expr="chromeos"> | 143 <if expr="chromeos"> |
| 131 <div class="settings-box product-info" id="regulatoryInfo" | 144 <template is="dom-if" name="detailed-build-info"> |
| 132 hidden$="[[!shouldShowRegulatoryInfo_(regulatoryInfo_)]]"> | 145 <settings-subpage page-title="Detailed build information"> |
| 133 <img src="[[regulatoryInfo_.url]]" alt="[[regulatoryInfo_.text]]"> | 146 <settings-detailed-build-info></settings-detailed-build-info> |
| 134 </div> | 147 </settings-subpage> |
| 148 </template> |
| 135 </if> | 149 </if> |
| 136 </neon-animatable> | 150 </settings-animated-pages> |
| 137 <if expr="chromeos"> | 151 </settings-section> |
| 138 <template is="dom-if" name="detailed-build-info"> | 152 </div> |
| 139 <settings-subpage page-title="Detailed build information"> | |
| 140 <settings-detailed-build-info></settings-detailed-build-info> | |
| 141 </settings-subpage> | |
| 142 </template> | |
| 143 </if> | |
| 144 </settings-animated-pages> | |
| 145 </settings-section> | |
| 146 </template> | 153 </template> |
| 147 <script src="about_page.js"></script> | 154 <script src="about_page.js"></script> |
| 148 </dom-module> | 155 </dom-module> |
| OLD | NEW |