OLD | NEW |
1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> | 1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> |
2 <link rel="import" href="chrome://resources/polymer/polymer/layout.html"> | 2 <link rel="import" href="chrome://resources/polymer/polymer/layout.html"> |
3 <link rel="import" href="chrome://resources/polymer/core-animated-pages/core-ani
mated-pages.html"> | 3 <link rel="import" href="chrome://resources/polymer/core-animated-pages/core-ani
mated-pages.html"> |
4 <link rel="import" href="chrome://resources/polymer/core-animated-pages/transiti
ons/cross-fade.html"> | 4 <link rel="import" href="chrome://resources/polymer/core-animated-pages/transiti
ons/cross-fade.html"> |
5 | 5 |
6 <!-- | 6 <!-- |
7 Password changed UI for the New Gaia flow. | 7 Password changed UI for the New Gaia flow. |
8 Contains two cards with a fade transition between them: | 8 Contains two cards with a fade transition between them: |
9 1. Old password input form. | 9 1. Old password input form. |
10 2. Warning about data loss | 10 2. Warning about data loss |
(...skipping 27 matching lines...) Expand all Loading... |
38 <core-animated-pages id="animatedPages" transitions="cross-fade-all" flex | 38 <core-animated-pages id="animatedPages" transitions="cross-fade-all" flex |
39 on-core-animated-pages-transition-end="{{onTransitionEnd}}"> | 39 on-core-animated-pages-transition-end="{{onTransitionEnd}}"> |
40 <section flex> | 40 <section flex> |
41 <gaia-card id="oldPasswordCard"> | 41 <gaia-card id="oldPasswordCard"> |
42 <gaia-header class="header" email="{{email}}"> | 42 <gaia-header class="header" email="{{email}}"> |
43 </gaia-header> | 43 </gaia-header> |
44 <div horizontal layout center class="footer gaia-body-text"> | 44 <div horizontal layout center class="footer gaia-body-text"> |
45 <p i18n-content="passwordChangedTitle"> | 45 <p i18n-content="passwordChangedTitle"> |
46 </p> | 46 </p> |
47 </div> | 47 </div> |
48 <gaia-input-form class="footer" id="oldPasswordInput" | 48 <gaia-input-form class="footer" id="oldPasswordInputForm" |
49 inputtype="password" | 49 i18n-values="buttonText:nextButtonText"> |
50 i18n-values="errorMsg:oldPasswordIncorrect; | 50 <gaia-input id="oldPasswordInput" type="password" |
51 inputLabel:oldPasswordHint; | 51 i18n-values="error:oldPasswordIncorrect; |
52 buttonText:nextButtonText"> | 52 label:oldPasswordHint"> |
| 53 </gaia-input> |
53 <gaia-paper-button noink i18n-content="forgotOldPasswordButtonText" | 54 <gaia-paper-button noink i18n-content="forgotOldPasswordButtonText" |
54 class="link-button" | 55 class="link-button" |
55 on-tap="{{onForgotPasswordClicked}}"> | 56 on-tap="{{onForgotPasswordClicked}}"> |
56 </gaia-paper-button> | 57 </gaia-paper-button> |
57 </gaia-input-form> | 58 </gaia-input-form> |
58 </gaia-card> | 59 </gaia-card> |
59 </section> | 60 </section> |
60 <section flex> | 61 <section flex> |
61 <gaia-card> | 62 <gaia-card> |
62 <gaia-header class="header" email="{{email}}"> | 63 <gaia-header class="header" email="{{email}}"> |
(...skipping 20 matching lines...) Expand all Loading... |
83 <section flex vertical layout center-justified> | 84 <section flex vertical layout center-justified> |
84 <throbber-notice i18n-values="text:gaiaLoadingNewGaia" self-center> | 85 <throbber-notice i18n-values="text:gaiaLoadingNewGaia" self-center> |
85 </throbber-notice> | 86 </throbber-notice> |
86 </section> | 87 </section> |
87 </core-animated-pages> | 88 </core-animated-pages> |
88 <button id="closeButton" is="gaia-icon-button" icon="close" | 89 <button id="closeButton" is="gaia-icon-button" icon="close" |
89 i18n-values="aria-label:closeButton" on-click="{{onClose}}"> | 90 i18n-values="aria-label:closeButton" on-click="{{onClose}}"> |
90 </button> | 91 </button> |
91 </template> | 92 </template> |
92 </polymer-element> | 93 </polymer-element> |
OLD | NEW |