OLD | NEW |
1 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
4 | 4 |
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-from-left-animation.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-from-left-animation.html"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-from-right-animation.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-from-right-animation.html"> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-left-animation.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-left-animation.html"> |
9 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-right-animation.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-right-animation.html"> |
10 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 <template> | 47 <template> |
48 <neon-animated-pages id="animatedPages" class="fit" attr-for-selected="id" | 48 <neon-animated-pages id="animatedPages" class="fit" attr-for-selected="id" |
49 entry-animation="slide-from-right-animation" | 49 entry-animation="slide-from-right-animation" |
50 exit-animation="slide-to-left-animation" | 50 exit-animation="slide-to-left-animation" |
51 on-neon-animation-finish="onAnimationFinish_" selected="emailSection"> | 51 on-neon-animation-finish="onAnimationFinish_" selected="emailSection"> |
52 | 52 |
53 <neon-animatable id="emailSection" class="fit"> | 53 <neon-animatable id="emailSection" class="fit"> |
54 <gaia-card class="fit"> | 54 <gaia-card class="fit"> |
55 <div class="header flex vertical layout end-justified start"> | 55 <div class="header flex vertical layout end-justified start"> |
56 <h1 class="welcome-message" i18n-content="loginWelcomeMessage"></h1> | 56 <h1 class="welcome-message">$i18n{loginWelcomeMessage}</h1> |
57 <p id="managedBy" class="enterprise-info" | 57 <p id="managedBy" class="enterprise-info" |
58 hidden$="[[!showEnterpriseMessage]]"> | 58 hidden$="[[!showEnterpriseMessage]]"> |
59 </p> | 59 </p> |
60 </div> | 60 </div> |
61 <div class="footer flex vertical layout justified"> | 61 <div class="footer flex vertical layout justified"> |
62 <gaia-input-form on-submit="onEmailSubmitted_" | 62 <gaia-input-form on-submit="onEmailSubmitted_" |
63 disabled="[[disabled]]" | 63 disabled="[[disabled]]" |
64 i18n-values="button-text:offlineLoginNextBtn"> | 64 i18n-values="button-text:offlineLoginNextBtn"> |
65 <gaia-input id="emailInput" type="email" required | 65 <gaia-input id="emailInput" type="email" required |
66 domain="[[emailDomain]]" | 66 domain="[[emailDomain]]" |
(...skipping 11 matching lines...) Expand all Loading... |
78 <gaia-card id="passwordCard" class="fit"> | 78 <gaia-card id="passwordCard" class="fit"> |
79 <gaia-header class="header flex" id="passwordHeader"> | 79 <gaia-header class="header flex" id="passwordHeader"> |
80 </gaia-header> | 80 </gaia-header> |
81 <gaia-input-form class="footer" disabled="[[disabled]]" | 81 <gaia-input-form class="footer" disabled="[[disabled]]" |
82 on-submit="onPasswordSubmitted_" | 82 on-submit="onPasswordSubmitted_" |
83 i18n-values="button-text:offlineLoginNextBtn"> | 83 i18n-values="button-text:offlineLoginNextBtn"> |
84 <gaia-input id="passwordInput" type="password" required | 84 <gaia-input id="passwordInput" type="password" required |
85 i18n-values="error:offlineLoginInvalidPassword; | 85 i18n-values="error:offlineLoginInvalidPassword; |
86 label:offlineLoginPassword"> | 86 label:offlineLoginPassword"> |
87 </gaia-input> | 87 </gaia-input> |
88 <gaia-button type="link" on-tap="onForgotPasswordClicked_" | 88 <gaia-button type="link" on-tap="onForgotPasswordClicked_"> |
89 i18n-content="offlineLoginForgotPasswordBtn"> | 89 $i18n{offlineLoginForgotPasswordBtn} |
90 </gaia-button> | 90 </gaia-button> |
91 </gaia-input-form> | 91 </gaia-input-form> |
92 </gaia-card> | 92 </gaia-card> |
93 </neon-animatable> | 93 </neon-animatable> |
94 </neon-animated-pages> | 94 </neon-animated-pages> |
95 | 95 |
96 <paper-dialog id="forgotPasswordDlg" no-cancel-on-outside-click | 96 <paper-dialog id="forgotPasswordDlg" no-cancel-on-outside-click |
97 on-iron-overlay-closed="onDialogOverlayClosed_"> | 97 on-iron-overlay-closed="onDialogOverlayClosed_"> |
98 <p i18n-content="offlineLoginForgotPasswordDlg"></p> | 98 <p>$i18n{offlineLoginForgotPasswordDlg}</p> |
99 <div class="buttons"> | 99 <div class="buttons"> |
100 <gaia-button type="dialog" dialog-confirm autofocus | 100 <gaia-button type="dialog" dialog-confirm autofocus> |
101 i18n-content="offlineLoginCloseBtn"> | 101 $i18n{offlineLoginCloseBtn} |
102 </gaia-button> | 102 </gaia-button> |
103 </div> | 103 </div> |
104 </paper-dialog> | 104 </paper-dialog> |
105 </template> | 105 </template> |
106 </dom-module> | 106 </dom-module> |
107 | |
OLD | NEW |