OLD | NEW |
1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2016 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/polymer/polymer.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
7 | 7 |
8 <!-- | 8 <!-- |
9 Unrecoverable cryptohome error card that shows to use when an unrecoverable | 9 Unrecoverable cryptohome error card that shows to use when an unrecoverable |
10 cryptohome error happens. It asks user to help us debugging the issue by | 10 cryptohome error happens. It asks user to help us debugging the issue by |
11 sending us a feedback and allows user to re-create the cryptohome so that | 11 sending us a feedback and allows user to re-create the cryptohome so that |
12 the device could still be used. | 12 the device could still be used. |
13 | 13 |
14 Events: | 14 Events: |
15 'done' - fired when user clicks on continue button. | 15 'done' - fired when user clicks on continue button. |
16 --> | 16 --> |
17 <dom-module name="unrecoverable-cryptohome-error-card"> | 17 <dom-module name="unrecoverable-cryptohome-error-card"> |
18 <link rel="stylesheet" href="unrecoverable_cryptohome_error_card.css"> | 18 <link rel="stylesheet" href="unrecoverable_cryptohome_error_card.css"> |
19 | 19 |
20 <template> | 20 <template> |
21 <div class="content"> | 21 <div class="content"> |
22 <div i18n-content="unrecoverableCryptohomeErrorMessageTitle" class="title"
> | 22 <div class="title">$i18n{unrecoverableCryptohomeErrorMessageTitle}</div> |
23 </div> | |
24 <div class="message" | 23 <div class="message" |
25 i18n-values=".innerHTML:unrecoverableCryptohomeErrorMessage"> | 24 i18n-values=".innerHTML:unrecoverableCryptohomeErrorMessage"> |
26 </div> | 25 </div> |
27 <div class="horizontal-reverse layout justified center"> | 26 <div class="horizontal-reverse layout justified center"> |
28 <gaia-button on-tap="onContinueClicked_" | 27 <gaia-button on-tap="onContinueClicked_"> |
29 i18n-content="unrecoverableCryptohomeErrorContinue"> | 28 $i18n{unrecoverableCryptohomeErrorContinue} |
30 </gaia-button> | 29 </gaia-button> |
31 </div> | 30 </div> |
32 </div> | 31 </div> |
33 </template> | 32 </template> |
34 </dom-module> | 33 </dom-module> |
OLD | NEW |