OLD | NEW |
---|---|
1 <!-- Copyright 2017 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2017 The Chromium Authors. All rights reserved. |
2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
4 | 4 |
5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
6 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 6 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> |
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> |
10 <link rel="import" href="chrome://oobe/custom_elements.html"> | 10 <link rel="import" href="chrome://oobe/custom_elements.html"> |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
83 <div class="subtitle">$i18n{migrationFailedSubtitle}</div> | 83 <div class="subtitle">$i18n{migrationFailedSubtitle}</div> |
84 </div> | 84 </div> |
85 <div class="footer"><div>$i18n{migrationFailedMessage}</div></div> | 85 <div class="footer"><div>$i18n{migrationFailedMessage}</div></div> |
86 <div class="bottom-buttons flex layout horizontal"> | 86 <div class="bottom-buttons flex layout horizontal"> |
87 <div class="flex"></div> | 87 <div class="flex"></div> |
88 <if expr="_google_chrome"> | 88 <if expr="_google_chrome"> |
89 <oobe-text-button border on-tap="onReportAnIssue_"> | 89 <oobe-text-button border on-tap="onReportAnIssue_"> |
90 <div>$i18n{migrationButtonReportAnIssue}</div> | 90 <div>$i18n{migrationButtonReportAnIssue}</div> |
91 </oobe-text-button> | 91 </oobe-text-button> |
92 </if> | 92 </if> |
93 <oobe-text-button inverse on-tap="onRestart_"> | 93 <oobe-text-button inverse on-tap="onRestartOnFailure_"> |
94 <div>$i18n{migrationButtonRestart}</div> | 94 <div>$i18n{migrationButtonRestart}</div> |
95 </oobe-text-button> | 95 </oobe-text-button> |
96 </div> | 96 </div> |
97 </oobe-dialog> | 97 </oobe-dialog> |
98 </template> | 98 </template> |
99 <template is="dom-if" if="[[isNotEnoughSpace_(uiState)]]"> | 99 <template is="dom-if" if="[[isNotEnoughSpace_(uiState)]]"> |
100 <oobe-dialog tabindex="0" has-buttons> | 100 <oobe-dialog tabindex="0" has-buttons> |
101 <iron-icon class="oobe-icon chrome-logo"></iron-icon> | 101 <iron-icon class="oobe-icon chrome-logo"></iron-icon> |
102 <div class="header"> | 102 <div class="header"> |
103 <h1 class="title">$i18n{migrationReadyTitle}</h1> | 103 <h1 class="title">$i18n{migrationReadyTitle}</h1> |
104 <div class="subtitle">$i18n{migrationReadyDescription}</div> | 104 <div class="subtitle">$i18n{migrationReadyDescription}</div> |
105 </div> | 105 </div> |
106 <div class="footer layout vertical" aria-live="polite"> | 106 <div class="footer layout vertical" aria-live="polite"> |
107 <div class="warning">$i18n{migrationNospaceWarningLabel}</div> | 107 <div class="warning">$i18n{migrationNospaceWarningLabel}</div> |
108 <div>$i18n{migrationAskFreeSpaceMessage}</div> | 108 <div>$i18n{migrationAskFreeSpaceMessage}</div> |
109 <div>[[computeAvailableSpaceLabel_(availableSpaceInString)]]</div> | 109 <div>[[computeAvailableSpaceLabel_(availableSpaceInString)]]</div> |
110 <div>[[computeNecessarySpaceLabel_(necessarySpaceInString)]]</div> | 110 <div>[[computeNecessarySpaceLabel_(necessarySpaceInString)]]</div> |
111 </div> | 111 </div> |
112 <div class="bottom-buttons flex layout horizontal"> | 112 <div class="bottom-buttons flex layout horizontal"> |
113 <div class="flex"></div> | 113 <div class="flex"></div> |
114 <template is="dom-if" if="[[!isResuming]]"> | 114 <template is="dom-if" if="[[!isResuming]]"> |
115 <oobe-text-button inverse on-tap="onSkip_"> | 115 <oobe-text-button inverse on-tap="onSkip_"> |
116 <div>$i18n{migrationButtonContinue}</div> | 116 <div>$i18n{migrationButtonContinue}</div> |
117 </oobe-text-button> | 117 </oobe-text-button> |
118 </template> | 118 </template> |
119 <template is="dom-if" if="[[isResuming]]"> | 119 <template is="dom-if" if="[[isResuming]]"> |
120 <oobe-text-button inverse on-tap="onRestart_"> | 120 <oobe-text-button inverse on-tap="onRestart_"> |
xiyuan
2017/06/01 15:27:16
nit: onRestart_ -> onRestartOnLowStorage_ similar
fukino
2017/06/02 03:39:36
Done
I'm sorry I was too lazy...!
| |
121 <div>$i18n{migrationButtonRestart}</div> | 121 <div>$i18n{migrationButtonRestart}</div> |
122 </oobe-text-button> | 122 </oobe-text-button> |
123 </template> | 123 </template> |
124 </div> | 124 </div> |
125 </oobe-dialog> | 125 </oobe-dialog> |
126 </template> | 126 </template> |
127 </template> | 127 </template> |
128 </dom-module> | 128 </dom-module> |
OLD | NEW |