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 25 matching lines...) Expand all Loading... |
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}}"> | 38 <gaia-core-icon-button id="closeButton" icon="close" on-tap="{{onClose}}"> |
39 </gaia-core-icon-button> | 39 </gaia-core-icon-button> |
40 <core-animated-pages id="animatedPages" transitions="cross-fade-all" flex | 40 <core-animated-pages id="animatedPages" transitions="cross-fade-all" flex |
41 on-core-animated-pages-transition-end="{{onTransitionEnd}}"> | 41 on-core-animated-pages-transition-end="{{onTransitionEnd}}"> |
42 <section flex> | 42 <section flex> |
43 <gaia-card id="oldPasswordCard"> | 43 <gaia-card id="oldPasswordCard"> |
44 <gaia-header class="header" email="{{email}}"> | 44 <gaia-header class="header" email="{{email}}"> |
45 </gaia-header> | 45 </gaia-header> |
46 <p class="footer gaia-body-text" | 46 <div horizontal layout center class="footer margined"> |
47 i18n-content="passwordChangedTitle"> | 47 <p class="gaia-body-text" |
48 </p> | 48 i18n-content="passwordChangedTitle"> |
| 49 </p> |
| 50 </div> |
49 <gaia-input-form class="footer" id="oldPasswordInput" | 51 <gaia-input-form class="footer" id="oldPasswordInput" |
50 inputtype="password" | 52 inputtype="password" |
51 i18n-values="errorMsg:oldPasswordIncorrect; | 53 i18n-values="errorMsg:oldPasswordIncorrect; |
52 inputLabel:oldPasswordHint; | 54 inputLabel:oldPasswordHint; |
53 buttonText:nextButtonText"> | 55 buttonText:nextButtonText"> |
54 <gaia-paper-button noink i18n-content="forgotOldPasswordButtonText" | 56 <gaia-paper-button noink i18n-content="forgotOldPasswordButtonText" |
55 class="link-button" | 57 class="link-button" |
56 on-tap="{{onForgotPasswordClicked}}"> | 58 on-tap="{{onForgotPasswordClicked}}"> |
57 </gaia-paper-button> | 59 </gaia-paper-button> |
58 </gaia-input-form> | 60 </gaia-input-form> |
59 </gaia-card> | 61 </gaia-card> |
60 </section> | 62 </section> |
61 <section flex> | 63 <section flex> |
62 <gaia-card> | 64 <gaia-card> |
63 <gaia-header class="header" email="{{email}}"> | 65 <gaia-header class="header" email="{{email}}"> |
64 </gaia-header> | 66 </gaia-header> |
65 <div class="footer"> | 67 <div class="footer"> |
66 <div horizontal layout center> | 68 <div horizontal layout center class="margined"> |
67 <core-icon icon="warning"></core-icon> | 69 <core-icon icon="warning"></core-icon> |
68 <p flex class="gaia-body-text" | 70 <p flex class="gaia-body-text" |
69 i18n-content="passwordChangedProceedAnywayTitle"> | 71 i18n-content="passwordChangedProceedAnywayTitle"> |
70 </p> | 72 </p> |
71 </div> | 73 </div> |
72 <div horizontal layout justified center class="margined"> | 74 <div horizontal layout justified center> |
73 <gaia-paper-button noink i18n-content="passwordChangedTryAgain" | 75 <gaia-paper-button noink i18n-content="passwordChangedTryAgain" |
74 class="link-button" | 76 class="link-button" |
75 on-tap="{{onTryAgainClicked}}"> | 77 on-tap="{{onTryAgainClicked}}"> |
76 </gaia-paper-button> | 78 </gaia-paper-button> |
77 <gaia-raised-on-focus-button id="proceedAnywayBtn" | 79 <gaia-raised-on-focus-button id="proceedAnywayBtn" |
78 class="blue-button" on-tap="{{onProceedClicked}}" | 80 class="blue-button" on-tap="{{onProceedClicked}}" |
79 i18n-content="proceedAnywayButton"> | 81 i18n-content="proceedAnywayButton"> |
80 </gaia-raised-on-focus-button> | 82 </gaia-raised-on-focus-button> |
81 </div> | 83 </div> |
82 </div> | 84 </div> |
83 </gaia-card> | 85 </gaia-card> |
84 </section> | 86 </section> |
85 <section flex vertical layout center-justified> | 87 <section flex vertical layout center-justified> |
86 <throbber-notice i18n-values="text:gaiaLoadingNewGaia" self-center> | 88 <throbber-notice i18n-values="text:gaiaLoadingNewGaia" self-center> |
87 </throbber-notice> | 89 </throbber-notice> |
88 </section> | 90 </section> |
89 </core-animated-pages> | 91 </core-animated-pages> |
90 </template> | 92 </template> |
91 </polymer-element> | 93 </polymer-element> |
OLD | NEW |