OLD | NEW |
1 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2015 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/iron-icons/iron-icons.h
tml"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-in-animation.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-in-animation.html"> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-out-animation.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-out-animation.html"> |
9 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> |
10 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
mated-pages.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
mated-pages.html"> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 <template> | 45 <template> |
46 <neon-animated-pages id="animatedPages" class="fit" | 46 <neon-animated-pages id="animatedPages" class="fit" |
47 entry-animation="fade-in-animation" exit-animation="fade-out-animation" | 47 entry-animation="fade-in-animation" exit-animation="fade-out-animation" |
48 on-neon-animation-finish="onAnimationFinish_" selected="0"> | 48 on-neon-animation-finish="onAnimationFinish_" selected="0"> |
49 <neon-animatable class="fit"> | 49 <neon-animatable class="fit"> |
50 <gaia-card id="oldPasswordCard" class="fit"> | 50 <gaia-card id="oldPasswordCard" class="fit"> |
51 <gaia-header class="header" email="[[email]]"> | 51 <gaia-header class="header" email="[[email]]"> |
52 </gaia-header> | 52 </gaia-header> |
53 <div class="footer gaia-body-text" class="horizontal layout center"> | 53 <div class="footer gaia-body-text" class="horizontal layout center"> |
54 <p>$i18n{passwordChangedTitle}</p> | 54 <p i18n-content="passwordChangedTitle"> |
| 55 </p> |
55 </div> | 56 </div> |
56 <gaia-input-form class="footer" id="oldPasswordInputForm" | 57 <gaia-input-form class="footer" id="oldPasswordInputForm" |
57 disabled="[[disabled]]" on-submit="onPasswordSubmitted_" | 58 disabled="[[disabled]]" on-submit="onPasswordSubmitted_" |
58 i18n-values="button-text:nextButtonText"> | 59 i18n-values="button-text:nextButtonText"> |
59 <gaia-input id="oldPasswordInput" type="password" required | 60 <gaia-input id="oldPasswordInput" type="password" required |
60 i18n-values="error:oldPasswordIncorrect; | 61 i18n-values="error:oldPasswordIncorrect; |
61 label:oldPasswordHint"> | 62 label:oldPasswordHint"> |
62 </gaia-input> | 63 </gaia-input> |
63 <gaia-button type="link" on-tap="onForgotPasswordClicked_"> | 64 <gaia-button type="link" on-tap="onForgotPasswordClicked_" |
64 $i18n{forgotOldPasswordButtonText} | 65 i18n-content="forgotOldPasswordButtonText"> |
65 </gaia-button> | 66 </gaia-button> |
66 </gaia-input-form> | 67 </gaia-input-form> |
67 </gaia-card> | 68 </gaia-card> |
68 </neon-animatable> | 69 </neon-animatable> |
69 <neon-animatable class="fit"> | 70 <neon-animatable class="fit"> |
70 <gaia-card class="fit"> | 71 <gaia-card class="fit"> |
71 <gaia-header class="header" email="[[email]]"> | 72 <gaia-header class="header" email="[[email]]"> |
72 </gaia-header> | 73 </gaia-header> |
73 <div class="footer"> | 74 <div class="footer"> |
74 <div class="gaia-body-text horizontal layout center"> | 75 <div class="gaia-body-text horizontal layout center"> |
75 <iron-icon icon="warning"></iron-icon> | 76 <iron-icon icon="warning"></iron-icon> |
76 <p class="flex">$i18n{passwordChangedProceedAnywayTitle}</p> | 77 <p i18n-content="passwordChangedProceedAnywayTitle" class="flex"> |
| 78 </p> |
77 </div> | 79 </div> |
78 <div class="horizontal layout justified center"> | 80 <div class="horizontal layout justified center"> |
79 <gaia-button type="link" on-tap="onTryAgainClicked_"> | 81 <gaia-button type="link" on-tap="onTryAgainClicked_" |
80 $i18n{passwordChangedTryAgain} | 82 i18n-content="passwordChangedTryAgain"> |
81 </gaia-button> | 83 </gaia-button> |
82 <gaia-button id="proceedAnywayBtn" on-tap="onProceedClicked_"> | 84 <gaia-button id="proceedAnywayBtn" on-tap="onProceedClicked_" |
83 $i18n{proceedAnywayButton} | 85 i18n-content="proceedAnywayButton"> |
84 </gaia-button> | 86 </gaia-button> |
85 </div> | 87 </div> |
86 </div> | 88 </div> |
87 </gaia-card> | 89 </gaia-card> |
88 </neon-animatable> | 90 </neon-animatable> |
89 <neon-animatable class="fit"> | 91 <neon-animatable class="fit"> |
90 <throbber-notice class="fit" i18n-values="text:gaiaLoading"> | 92 <throbber-notice class="fit" i18n-values="text:gaiaLoading"> |
91 </throbber-notice> | 93 </throbber-notice> |
92 </neon-animatable> | 94 </neon-animatable> |
93 </neon-animated-pages> | 95 </neon-animated-pages> |
94 <navigation-bar id="navigation" disabled="[[disabled]]" close-visible | 96 <navigation-bar id="navigation" disabled="[[disabled]]" close-visible |
95 on-close="onClose_"> | 97 on-close="onClose_"> |
96 </navigation-bar> | 98 </navigation-bar> |
97 </template> | 99 </template> |
98 </dom-module> | 100 </dom-module> |
OLD | NEW |