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-content="passwordChangedTitle"> | 54 <p>$i18n{passwordChangedTitle}</p> |
55 </p> | |
56 </div> | 55 </div> |
57 <gaia-input-form class="footer" id="oldPasswordInputForm" | 56 <gaia-input-form class="footer" id="oldPasswordInputForm" |
58 disabled="[[disabled]]" on-submit="onPasswordSubmitted_" | 57 disabled="[[disabled]]" on-submit="onPasswordSubmitted_" |
59 i18n-values="button-text:nextButtonText"> | 58 i18n-values="button-text:nextButtonText"> |
60 <gaia-input id="oldPasswordInput" type="password" required | 59 <gaia-input id="oldPasswordInput" type="password" required |
61 i18n-values="error:oldPasswordIncorrect; | 60 i18n-values="error:oldPasswordIncorrect; |
62 label:oldPasswordHint"> | 61 label:oldPasswordHint"> |
63 </gaia-input> | 62 </gaia-input> |
64 <gaia-button type="link" on-tap="onForgotPasswordClicked_" | 63 <gaia-button type="link" on-tap="onForgotPasswordClicked_"> |
65 i18n-content="forgotOldPasswordButtonText"> | 64 $i18n{forgotOldPasswordButtonText} |
66 </gaia-button> | 65 </gaia-button> |
67 </gaia-input-form> | 66 </gaia-input-form> |
68 </gaia-card> | 67 </gaia-card> |
69 </neon-animatable> | 68 </neon-animatable> |
70 <neon-animatable class="fit"> | 69 <neon-animatable class="fit"> |
71 <gaia-card class="fit"> | 70 <gaia-card class="fit"> |
72 <gaia-header class="header" email="[[email]]"> | 71 <gaia-header class="header" email="[[email]]"> |
73 </gaia-header> | 72 </gaia-header> |
74 <div class="footer"> | 73 <div class="footer"> |
75 <div class="gaia-body-text horizontal layout center"> | 74 <div class="gaia-body-text horizontal layout center"> |
76 <iron-icon icon="warning"></iron-icon> | 75 <iron-icon icon="warning"></iron-icon> |
77 <p i18n-content="passwordChangedProceedAnywayTitle" class="flex"> | 76 <p class="flex">$i18n{passwordChangedProceedAnywayTitle}</p> |
78 </p> | |
79 </div> | 77 </div> |
80 <div class="horizontal layout justified center"> | 78 <div class="horizontal layout justified center"> |
81 <gaia-button type="link" on-tap="onTryAgainClicked_" | 79 <gaia-button type="link" on-tap="onTryAgainClicked_"> |
82 i18n-content="passwordChangedTryAgain"> | 80 $i18n{passwordChangedTryAgain} |
83 </gaia-button> | 81 </gaia-button> |
84 <gaia-button id="proceedAnywayBtn" on-tap="onProceedClicked_" | 82 <gaia-button id="proceedAnywayBtn" on-tap="onProceedClicked_"> |
85 i18n-content="proceedAnywayButton"> | 83 $i18n{proceedAnywayButton} |
86 </gaia-button> | 84 </gaia-button> |
87 </div> | 85 </div> |
88 </div> | 86 </div> |
89 </gaia-card> | 87 </gaia-card> |
90 </neon-animatable> | 88 </neon-animatable> |
91 <neon-animatable class="fit"> | 89 <neon-animatable class="fit"> |
92 <throbber-notice class="fit" i18n-values="text:gaiaLoading"> | 90 <throbber-notice class="fit" i18n-values="text:gaiaLoading"> |
93 </throbber-notice> | 91 </throbber-notice> |
94 </neon-animatable> | 92 </neon-animatable> |
95 </neon-animated-pages> | 93 </neon-animated-pages> |
96 <navigation-bar id="navigation" disabled="[[disabled]]" close-visible | 94 <navigation-bar id="navigation" disabled="[[disabled]]" close-visible |
97 on-close="onClose_"> | 95 on-close="onClose_"> |
98 </navigation-bar> | 96 </navigation-bar> |
99 </template> | 97 </template> |
100 </dom-module> | 98 </dom-module> |
101 | |
OLD | NEW |