OLD | NEW |
(Empty) | |
| 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 |
| 3 found in the LICENSE file. --> |
| 4 |
| 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"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
| 8 <link rel="import" href="chrome://oobe/custom_elements.html"> |
| 9 |
| 10 <dom-module id="encryption-migration"> |
| 11 <template> |
| 12 <link rel="stylesheet" href="encryption_migration.css"> |
| 13 <link rel="stylesheet" href="oobe_dialog_parameters.css"> |
| 14 <template is="dom-if" if="[[isInitial_(uiState)]]"> |
| 15 <oobe-dialog tabindex="0" has-buttons> |
| 16 <div class="header"> |
| 17 <h1 class="title">Your file system needs upgrade</h1> |
| 18 <div class="subtitle"> |
| 19 Your file system needs to be upgraded to use Android applications. |
| 20 String TBD. |
| 21 </div> |
| 22 </div> |
| 23 <div class="bottom-buttons flex layout horizontal"> |
| 24 <div class="flex"></div> |
| 25 <oobe-text-button on-tap="onSkip_">Skip</oobe-text-button> |
| 26 <oobe-text-button inverse on-tap="onUpgrade_">Upgrade |
| 27 </oobe-text-button> |
| 28 </div> |
| 29 </oobe-dialog> |
| 30 </template> |
| 31 <template is="dom-if" if="[[isMigrating_(uiState)]]"> |
| 32 <oobe-dialog tabindex="0"> |
| 33 <div class="header"> |
| 34 <h1 class="title">Upgrading...</h1> |
| 35 <div class="subtitle">Please do not shutdown. String TBD.</div> |
| 36 </div> |
| 37 <div class="footer flex layout vertical"> |
| 38 <paper-progress value="[[progress]]" max="1" step="0.001" |
| 39 indeterminate="[[isProgressIndeterminate_(progress)]]"> |
| 40 </paper-progress> |
| 41 </div> |
| 42 </oobe-dialog> |
| 43 </template> |
| 44 <template is="dom-if" if="[[isMigrationSucceeded_(uiState)]]"> |
| 45 <oobe-dialog tabindex="0" has-buttons> |
| 46 <div class="header"> |
| 47 <h1 class="title">Upgrade successfully finished</h1> |
| 48 <div class="subtitle"> |
| 49 The system will restart automatically. String TBD. |
| 50 </div> |
| 51 </div> |
| 52 <div class="bottom-buttons flex layout horizontal"> |
| 53 <div class="flex"></div> |
| 54 <oobe-text-button inverse on-tap="onRestart_">Restart Now |
| 55 </oobe-text-button> |
| 56 </div> |
| 57 </oobe-dialog> |
| 58 </template> |
| 59 <template is="dom-if" if="[[isMigrationFailed_(uiState)]]"> |
| 60 <oobe-dialog tabindex="0" has-buttons> |
| 61 <div class="header"> |
| 62 <h1 class="title">Upgrade failed</h1> |
| 63 <div class="subtitle"> |
| 64 The system encountered a problem during migration. String TBD. |
| 65 </div> |
| 66 </div> |
| 67 <div class="bottom-buttons flex layout horizontal"> |
| 68 <div class="flex"></div> |
| 69 <oobe-text-button inverse on-tap="onRestart_">Restart |
| 70 </oobe-text-button> |
| 71 </div> |
| 72 </oobe-dialog> |
| 73 </template> |
| 74 </template> |
| 75 </dom-module> |
OLD | NEW |