| 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 <template> | 34 <template> |
| 35 <link rel="stylesheet" href="offline_gaia.css"> | 35 <link rel="stylesheet" href="offline_gaia.css"> |
| 36 <gaia-core-icon-button id="backButton" icon="arrow-back" | 36 <gaia-core-icon-button id="backButton" icon="arrow-back" |
| 37 on-tap="{{onBack}}"> | 37 on-tap="{{onBack}}"> |
| 38 </gaia-core-icon-button> | 38 </gaia-core-icon-button> |
| 39 <core-animated-pages id="animatedPages" transitions="slide-from-right" | 39 <core-animated-pages id="animatedPages" transitions="slide-from-right" |
| 40 on-core-animated-pages-transition-end="{{onTransitionEnd}}" flex> | 40 on-core-animated-pages-transition-end="{{onTransitionEnd}}" flex> |
| 41 <section flex> | 41 <section flex> |
| 42 <gaia-card> | 42 <gaia-card> |
| 43 <div class="header" flex vertical layout end-justified start> | 43 <div class="header" flex vertical layout end-justified start> |
| 44 <h1 i18n-content="offlineLoginWelcome"></h1> | 44 <h1 class="welcome-message" i18n-content="offlineLoginWelcome"></h1> |
| 45 <p hidden?="{{!enterpriseInfo}}"> | 45 <p class="enterprise-info" hidden?="{{!enterpriseInfo}}"> |
| 46 {{enterpriseInfo}} | 46 {{enterpriseInfo}} |
| 47 </p> | 47 </p> |
| 48 </div> | 48 </div> |
| 49 <div class="footer" flex vertical layout justified> | 49 <div class="footer" flex vertical layout justified> |
| 50 <gaia-input-form id="emailInput" inputType="email" | 50 <gaia-input-form id="emailInput" inputType="email" |
| 51 i18n-values="errorMsg:offlineLoginInvalidEmail; | 51 i18n-values="errorMsg:offlineLoginInvalidEmail; |
| 52 inputLabel:offlineLoginEmail; | 52 inputLabel:offlineLoginEmail; |
| 53 buttonText:offlineLoginNextBtn"> | 53 buttonText:offlineLoginNextBtn"> |
| 54 </gaia-input-form> | 54 </gaia-input-form> |
| 55 <img self-center src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" | 55 <img self-center src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" |
| 56 alt=""> | 56 alt=""> |
| 57 </div> | 57 </div> |
| 58 </gaia-card> | 58 </gaia-card> |
| 59 </section> | 59 </section> |
| 60 <section flex> | 60 <section flex> |
| 61 <gaia-card> | 61 <gaia-card> |
| 62 <gaia-header class="header" id="passwordHeader"> | 62 <gaia-header class="header" id="passwordHeader"> |
| 63 </gaia-header> | 63 </gaia-header> |
| 64 <gaia-input-form id="passwordInput" class="footer" | 64 <gaia-input-form id="passwordInput" class="footer" |
| 65 inputType="password" | 65 inputType="password" |
| 66 i18n-values="errorMsg:offlineLoginInvalidPassword; | 66 i18n-values="errorMsg:offlineLoginInvalidPassword; |
| 67 inputLabel:offlineLoginPassword; | 67 inputLabel:offlineLoginPassword; |
| 68 buttonText:offlineLoginNextBtn"> | 68 buttonText:offlineLoginNextBtn"> |
| 69 <a href="#" class="newgaia-link" | 69 <gaia-paper-button noink class="link-button" |
| 70 on-tap="{{onForgotPasswordClicked}}" | 70 i18n-content="offlineLoginForgotPasswordBtn" |
| 71 on-keydown="{{onForgotPasswordKeyDown}}" | 71 on-tap="{{onForgotPasswordClicked}}"> |
| 72 tabindex="0" | 72 </gaia-paper-button> |
| 73 i18n-content="offlineLoginForgotPasswordBtn"> | |
| 74 </a> | |
| 75 <paper-action-dialog id="forgotPasswordDlg" autoCloseDisabled | 73 <paper-action-dialog id="forgotPasswordDlg" autoCloseDisabled |
| 76 backdrop on-keydown="{{onKeyDownOnDialog}}"> | 74 backdrop on-keydown="{{onKeyDownOnDialog}}"> |
| 77 <p i18n-content="offlineLoginForgotPasswordDlg"></p> | 75 <p i18n-content="offlineLoginForgotPasswordDlg"></p> |
| 78 <gaia-paper-button id="dialogCloseBtn" affirmative autofocus | 76 <gaia-paper-button id="dialogCloseBtn" affirmative autofocus |
| 79 i18n-content="offlineLoginCloseBtn"> | 77 i18n-content="offlineLoginCloseBtn"> |
| 80 </gaia-paper-button> | 78 </gaia-paper-button> |
| 81 </paper-action-dialog> | 79 </paper-action-dialog> |
| 82 </gaia-input-form> | 80 </gaia-input-form> |
| 83 </gaia-card> | 81 </gaia-card> |
| 84 </section> | 82 </section> |
| 85 </core-animated-pages> | 83 </core-animated-pages> |
| 86 </template> | 84 </template> |
| 87 </polymer-element> | 85 </polymer-element> |
| OLD | NEW |