| 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 17 matching lines...) Expand all Loading... |
| 28 'invalidate' - mark password input as invalid. | 28 'invalidate' - mark password input as invalid. |
| 29 'reset' - reset element, sets in on the first screen and enables | 29 'reset' - reset element, sets in on the first screen and enables |
| 30 buttons. | 30 buttons. |
| 31 'focus' - if current card is the first one it focuses password input. | 31 'focus' - if current card is the first one it focuses password input. |
| 32 | 32 |
| 33 --> | 33 --> |
| 34 <polymer-element name="gaia-password-changed" vertical layout | 34 <polymer-element name="gaia-password-changed" vertical layout |
| 35 attributes="email"> | 35 attributes="email"> |
| 36 <template> | 36 <template> |
| 37 <link rel="stylesheet" href="gaia_password_changed.css"> | 37 <link rel="stylesheet" href="gaia_password_changed.css"> |
| 38 <gaia-core-icon-button id="closeButton" icon="close" on-tap="{{onClose}}"> | |
| 39 </gaia-core-icon-button> | |
| 40 <core-animated-pages id="animatedPages" transitions="cross-fade-all" flex | 38 <core-animated-pages id="animatedPages" transitions="cross-fade-all" flex |
| 41 on-core-animated-pages-transition-end="{{onTransitionEnd}}"> | 39 on-core-animated-pages-transition-end="{{onTransitionEnd}}"> |
| 42 <section flex> | 40 <section flex> |
| 43 <gaia-card id="oldPasswordCard"> | 41 <gaia-card id="oldPasswordCard"> |
| 44 <gaia-header class="header" email="{{email}}"> | 42 <gaia-header class="header" email="{{email}}"> |
| 45 </gaia-header> | 43 </gaia-header> |
| 46 <div horizontal layout center class="footer margined"> | 44 <div horizontal layout center class="footer margined"> |
| 47 <p class="gaia-body-text" | 45 <p class="gaia-body-text" |
| 48 i18n-content="passwordChangedTitle"> | 46 i18n-content="passwordChangedTitle"> |
| 49 </p> | 47 </p> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 </gaia-raised-on-focus-button> | 80 </gaia-raised-on-focus-button> |
| 83 </div> | 81 </div> |
| 84 </div> | 82 </div> |
| 85 </gaia-card> | 83 </gaia-card> |
| 86 </section> | 84 </section> |
| 87 <section flex vertical layout center-justified> | 85 <section flex vertical layout center-justified> |
| 88 <throbber-notice i18n-values="text:gaiaLoadingNewGaia" self-center> | 86 <throbber-notice i18n-values="text:gaiaLoadingNewGaia" self-center> |
| 89 </throbber-notice> | 87 </throbber-notice> |
| 90 </section> | 88 </section> |
| 91 </core-animated-pages> | 89 </core-animated-pages> |
| 90 <button id="closeButton" is="gaia-icon-button" icon="close" |
| 91 i18n-values="aria-label:closeButton" on-click="{{onClose}}"> |
| 92 </button> |
| 92 </template> | 93 </template> |
| 93 </polymer-element> | 94 </polymer-element> |
| OLD | NEW |