| 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/slide-from-right.html"> | 4 <link rel="import" href="chrome://resources/polymer/core-animated-pages/transiti
ons/slide-from-right.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/paper-button/paper-button.ht
ml"> | 5 <link rel="import" href="chrome://resources/polymer/paper-button/paper-button.ht
ml"> |
| 6 <link rel="import" href="chrome://resources/polymer/paper-dialog/paper-action-di
alog.html"> | 6 <link rel="import" href="chrome://resources/polymer/paper-dialog/paper-action-di
alog.html"> |
| 7 | 7 |
| 8 <!-- | 8 <!-- |
| 9 Offline UI for the New Gaia flow. | 9 Offline UI for the New Gaia flow. |
| 10 Contains two cards with a slide transition between them: | 10 Contains two cards with a slide transition between them: |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 entered password is incorrect. | 34 entered password is incorrect. |
| 35 --> | 35 --> |
| 36 <polymer-element name="offline-gaia" vertical layout | 36 <polymer-element name="offline-gaia" vertical layout |
| 37 attributes="enterpriseInfo emailDomain"> | 37 attributes="enterpriseInfo emailDomain"> |
| 38 <template> | 38 <template> |
| 39 <link rel="stylesheet" href="offline_gaia.css"> | 39 <link rel="stylesheet" href="offline_gaia.css"> |
| 40 <gaia-core-icon-button id="backButton" icon="arrow-back" | 40 <gaia-core-icon-button id="backButton" icon="arrow-back" |
| 41 on-tap="{{onBack}}"> | 41 on-tap="{{onBack}}"> |
| 42 </gaia-core-icon-button> | 42 </gaia-core-icon-button> |
| 43 <core-animated-pages id="animatedPages" transitions="slide-from-right" | 43 <core-animated-pages id="animatedPages" transitions="slide-from-right" |
| 44 valueattr="id" |
| 44 on-core-animated-pages-transition-end="{{onTransitionEnd}}" flex> | 45 on-core-animated-pages-transition-end="{{onTransitionEnd}}" flex> |
| 45 <section flex> | 46 <section flex id="emailSection"> |
| 46 <gaia-card> | 47 <gaia-card> |
| 47 <div class="header" flex vertical layout end-justified start> | 48 <div class="header" flex vertical layout end-justified start> |
| 48 <h1 class="welcome-message" i18n-content="offlineLoginWelcome"></h1> | 49 <h1 class="welcome-message" i18n-content="offlineLoginWelcome"></h1> |
| 49 <p class="enterprise-info" hidden?="{{!enterpriseInfo}}"> | 50 <p class="enterprise-info" hidden?="{{!enterpriseInfo}}"> |
| 50 {{enterpriseInfo}} | 51 {{enterpriseInfo}} |
| 51 </p> | 52 </p> |
| 52 </div> | 53 </div> |
| 53 <div class="footer" flex vertical layout justified> | 54 <div class="footer" flex vertical layout justified> |
| 54 <gaia-input-form id="emailInput" inputType="email" | 55 <gaia-input-form id="emailInput" inputType="email" |
| 55 emailDomain="{{emailDomain}}" | 56 emailDomain="{{emailDomain}}" |
| 56 i18n-values="errorMsg:offlineLoginInvalidEmail; | 57 i18n-values="errorMsg:offlineLoginInvalidEmail; |
| 57 inputLabel:offlineLoginEmail; | 58 inputLabel:offlineLoginEmail; |
| 58 buttonText:offlineLoginNextBtn"> | 59 buttonText:offlineLoginNextBtn"> |
| 59 </gaia-input-form> | 60 </gaia-input-form> |
| 60 <img self-center src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" | 61 <img self-center src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" |
| 61 alt=""> | 62 alt=""> |
| 62 </div> | 63 </div> |
| 63 </gaia-card> | 64 </gaia-card> |
| 64 </section> | 65 </section> |
| 65 <section flex> | 66 <section flex id="passwordSection"> |
| 66 <gaia-card> | 67 <gaia-card> |
| 67 <gaia-header class="header" id="passwordHeader"> | 68 <gaia-header class="header" id="passwordHeader"> |
| 68 </gaia-header> | 69 </gaia-header> |
| 69 <gaia-input-form id="passwordInput" class="footer" | 70 <gaia-input-form id="passwordInput" class="footer" |
| 70 inputType="password" | 71 inputType="password" |
| 71 i18n-values="errorMsg:offlineLoginInvalidPassword; | 72 i18n-values="errorMsg:offlineLoginInvalidPassword; |
| 72 inputLabel:offlineLoginPassword; | 73 inputLabel:offlineLoginPassword; |
| 73 buttonText:offlineLoginNextBtn"> | 74 buttonText:offlineLoginNextBtn"> |
| 74 <gaia-paper-button noink class="link-button" | 75 <gaia-paper-button noink class="link-button" |
| 75 i18n-content="offlineLoginForgotPasswordBtn" | 76 i18n-content="offlineLoginForgotPasswordBtn" |
| 76 on-tap="{{onForgotPasswordClicked}}"> | 77 on-tap="{{onForgotPasswordClicked}}"> |
| 77 </gaia-paper-button> | 78 </gaia-paper-button> |
| 78 <paper-action-dialog id="forgotPasswordDlg" autoCloseDisabled | 79 <paper-action-dialog id="forgotPasswordDlg" autoCloseDisabled |
| 79 backdrop on-keydown="{{onKeyDownOnDialog}}"> | 80 backdrop on-keydown="{{onKeyDownOnDialog}}"> |
| 80 <p i18n-content="offlineLoginForgotPasswordDlg"></p> | 81 <p i18n-content="offlineLoginForgotPasswordDlg"></p> |
| 81 <gaia-paper-button id="dialogCloseBtn" affirmative autofocus | 82 <gaia-paper-button id="dialogCloseBtn" affirmative autofocus |
| 82 i18n-content="offlineLoginCloseBtn"> | 83 i18n-content="offlineLoginCloseBtn"> |
| 83 </gaia-paper-button> | 84 </gaia-paper-button> |
| 84 </paper-action-dialog> | 85 </paper-action-dialog> |
| 85 </gaia-input-form> | 86 </gaia-input-form> |
| 86 </gaia-card> | 87 </gaia-card> |
| 87 </section> | 88 </section> |
| 88 </core-animated-pages> | 89 </core-animated-pages> |
| 89 </template> | 90 </template> |
| 90 </polymer-element> | 91 </polymer-element> |
| OLD | NEW |