Chromium Code Reviews| 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/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> |
| 8 <link rel="import" href="chrome://oobe/custom_elements.html"> | 8 <link rel="import" href="chrome://oobe/custom_elements.html"> |
| 9 | 9 |
| 10 <dom-module id="encryption-migration"> | 10 <dom-module id="encryption-migration"> |
| 11 <template> | 11 <template> |
| 12 <link rel="stylesheet" href="encryption_migration.css"> | 12 <link rel="stylesheet" href="encryption_migration.css"> |
| 13 <link rel="stylesheet" href="oobe_dialog_parameters.css"> | 13 <link rel="stylesheet" href="oobe_dialog_parameters.css"> |
| 14 <template is="dom-if" if="[[isInitial_(uiState)]]"> | 14 <template is="dom-if" if="[[isInitial_(uiState)]]"> |
| 15 <oobe-dialog tabindex="0" has-buttons> | 15 <oobe-dialog tabindex="0" has-buttons> |
| 16 <p>Checking the system...</p> | 16 <p>Checking the system...</p> |
| 17 </oobe-dialog> | 17 </oobe-dialog> |
| 18 </template> | 18 </template> |
| 19 <template is="dom-if" if="[[isReady_(uiState)]]"> | 19 <template is="dom-if" if="[[isReady_(uiState)]]"> |
| 20 <oobe-dialog tabindex="0" has-buttons> | 20 <oobe-dialog tabindex="0" has-buttons> |
| 21 <div class="header"> | 21 <div class="header"> |
| 22 <h1 class="title">Your file system needs upgrade</h1> | 22 <h1 class="title">Your file system needs upgrade</h1> |
| 23 <div class="subtitle"> | 23 <div class="subtitle"> |
| 24 Your file system needs to be upgraded to use Android applications. | 24 Your file system needs to be upgraded to use Android applications. |
| 25 String TBD. | 25 String TBD. |
| 26 </div> | 26 </div> |
| 27 </div> | 27 </div> |
| 28 <div class="bottom-buttons flex layout horizontal"> | 28 <template is="dom-if" if="[[!isEnoughBattery]]"> |
|
fukino
2017/04/12 11:29:01
I'm going to update the design to match the latest
xiyuan
2017/04/12 16:56:56
Acknowledged.
| |
| 29 <div class="flex"></div> | 29 <div class="footer flex layout vertical"> |
| 30 <oobe-text-button on-tap="onSkip_">Skip</oobe-text-button> | 30 <div>Battery too low for update. <span>[[batteryPercent]]</span>% |
| 31 <oobe-text-button inverse on-tap="onUpgrade_">Upgrade | 31 </div> |
| 32 </oobe-text-button> | 32 <div>Please plug your Chromebook into a power source.</div> |
| 33 </div> | 33 </div> |
| 34 </template> | |
| 35 <template is="dom-if" if="[[!isResuming]]"> | |
| 36 <div class="bottom-buttons flex layout horizontal"> | |
| 37 <div class="flex"></div> | |
| 38 <oobe-text-button on-tap="onSkip_">Skip</oobe-text-button> | |
| 39 <oobe-text-button inverse on-tap="onUpgrade_" | |
| 40 disabled="[[isMigrationAccepted]]">Upgrade</oobe-text-button> | |
| 41 </div> | |
| 42 </template> | |
| 34 </oobe-dialog> | 43 </oobe-dialog> |
| 35 </template> | 44 </template> |
| 36 <template is="dom-if" if="[[isMigrating_(uiState)]]"> | 45 <template is="dom-if" if="[[isMigrating_(uiState)]]"> |
| 37 <oobe-dialog tabindex="0"> | 46 <oobe-dialog tabindex="0"> |
| 38 <div class="header"> | 47 <div class="header"> |
| 39 <h1 class="title">Upgrading...</h1> | 48 <h1 class="title">Upgrading...</h1> |
| 40 <div class="subtitle">Please do not shutdown. String TBD.</div> | 49 <div class="subtitle">Please do not shutdown. String TBD.</div> |
| 41 </div> | 50 </div> |
| 42 <div class="footer flex layout vertical"> | 51 <div class="footer flex layout vertical"> |
| 43 <paper-progress value="[[progress]]" max="1" step="0.001" | 52 <paper-progress value="[[progress]]" max="1" step="0.001" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 92 </template> | 101 </template> |
| 93 <template is="dom-if" if="[[isResuming]]"> | 102 <template is="dom-if" if="[[isResuming]]"> |
| 94 <oobe-text-button inverse on-tap="onRestart_">Restart | 103 <oobe-text-button inverse on-tap="onRestart_">Restart |
| 95 </oobe-text-button> | 104 </oobe-text-button> |
| 96 </template> | 105 </template> |
| 97 </div> | 106 </div> |
| 98 </oobe-dialog> | 107 </oobe-dialog> |
| 99 </template> | 108 </template> |
| 100 </template> | 109 </template> |
| 101 </dom-module> | 110 </dom-module> |
| OLD | NEW |