Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: chrome/browser/resources/chromeos/login/offline_gaia.html

Issue 1129063003: <gaia-input> element extracted from <gaia-input-form>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 on-core-animated-pages-transition-end="{{onTransitionEnd}}" flex> 45 on-core-animated-pages-transition-end="{{onTransitionEnd}}" flex>
46 <section flex id="emailSection"> 46 <section flex id="emailSection">
47 <gaia-card> 47 <gaia-card>
48 <div class="header" flex vertical layout end-justified start> 48 <div class="header" flex vertical layout end-justified start>
49 <h1 class="welcome-message" i18n-content="offlineLoginWelcome"></h1> 49 <h1 class="welcome-message" i18n-content="offlineLoginWelcome"></h1>
50 <p class="enterprise-info" hidden?="{{!enterpriseInfo}}"> 50 <p class="enterprise-info" hidden?="{{!enterpriseInfo}}">
51 {{enterpriseInfo}} 51 {{enterpriseInfo}}
52 </p> 52 </p>
53 </div> 53 </div>
54 <div class="footer" flex vertical layout justified> 54 <div class="footer" flex vertical layout justified>
55 <gaia-input-form id="emailInput" inputType="email" 55 <gaia-input-form i18n-values="buttonText:offlineLoginNextBtn"
56 emailDomain="{{emailDomain}}" 56 on-submit="{{onEmailSubmitted}}">
Nikita (slow) 2015/05/07 09:44:13 nit: 4 spaces indent
dzhioev (left Google) 2015/05/07 22:21:27 Done.
57 i18n-values="errorMsg:offlineLoginInvalidEmail; 57 <gaia-input id="emailInput" type="email" required
58 inputLabel:offlineLoginEmail; 58 domain="{{emailDomain}}"
59 buttonText:offlineLoginNextBtn"> 59 i18n-values="error:offlineLoginInvalidEmail;
60 label:offlineLoginEmail">
61 </gaia-input>
60 </gaia-input-form> 62 </gaia-input-form>
61 <img self-center src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" 63 <img self-center src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90"
62 alt=""> 64 alt="">
63 </div> 65 </div>
64 </gaia-card> 66 </gaia-card>
65 </section> 67 </section>
66 <section flex id="passwordSection"> 68 <section flex id="passwordSection">
67 <gaia-card> 69 <gaia-card>
68 <gaia-header class="header" id="passwordHeader"> 70 <gaia-header class="header" id="passwordHeader">
69 </gaia-header> 71 </gaia-header>
70 <gaia-input-form id="passwordInput" class="footer" 72 <gaia-input-form class="footer"
71 inputType="password" 73 i18n-values="buttonText:offlineLoginNextBtn"
72 i18n-values="errorMsg:offlineLoginInvalidPassword; 74 on-submit="{{onPasswordSubmitted}}">
73 inputLabel:offlineLoginPassword; 75 <gaia-input id="passwordInput" type="password" required
74 buttonText:offlineLoginNextBtn"> 76 i18n-values="error:offlineLoginInvalidPassword;
77 label:offlineLoginPassword">
78 </gaia-input>
75 <gaia-paper-button noink class="link-button" 79 <gaia-paper-button noink class="link-button"
76 i18n-content="offlineLoginForgotPasswordBtn" 80 i18n-content="offlineLoginForgotPasswordBtn"
77 on-tap="{{onForgotPasswordClicked}}"> 81 on-tap="{{onForgotPasswordClicked}}">
78 </gaia-paper-button> 82 </gaia-paper-button>
79 <paper-action-dialog id="forgotPasswordDlg" autoCloseDisabled 83 <paper-action-dialog id="forgotPasswordDlg" autoCloseDisabled
80 backdrop on-keydown="{{onKeyDownOnDialog}}"> 84 backdrop on-keydown="{{onKeyDownOnDialog}}">
81 <p i18n-content="offlineLoginForgotPasswordDlg"></p> 85 <p i18n-content="offlineLoginForgotPasswordDlg"></p>
82 <gaia-paper-button id="dialogCloseBtn" affirmative autofocus 86 <gaia-paper-button id="dialogCloseBtn" affirmative autofocus
83 i18n-content="offlineLoginCloseBtn"> 87 i18n-content="offlineLoginCloseBtn">
84 </gaia-paper-button> 88 </gaia-paper-button>
85 </paper-action-dialog> 89 </paper-action-dialog>
86 </gaia-input-form> 90 </gaia-input-form>
87 </gaia-card> 91 </gaia-card>
88 </section> 92 </section>
89 </core-animated-pages> 93 </core-animated-pages>
90 </template> 94 </template>
91 </polymer-element> 95 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698