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

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

Issue 2622273002: Handle login and password error for the domain join (Closed)
Patch Set: Address Michael's comments Created 3 years, 11 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 <!-- Copyright 2016 The Chromium Authors. All rights reserved. 1 <!-- Copyright 2016 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/polymer/polymer.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
7 7
8 <!-- 8 <!--
9 Offline UI for the AD Domain joining and User authentication. 9 Offline UI for the AD Domain joining and User authentication.
10 10
(...skipping 27 matching lines...) Expand all
38 <gaia-card id="gaiaCard" class="fit"> 38 <gaia-card id="gaiaCard" class="fit">
39 <div class="header flex vertical layout end-justified start"> 39 <div class="header flex vertical layout end-justified start">
40 <h1 id="welcomeMsg" class="welcome-message">[[adWelcomeMessage]] 40 <h1 id="welcomeMsg" class="welcome-message">[[adWelcomeMessage]]
41 </h1> 41 </h1>
42 </div> 42 </div>
43 <div class="footer flex vertical layout justified"> 43 <div class="footer flex vertical layout justified">
44 <gaia-input-form on-submit="onSubmit_" 44 <gaia-input-form on-submit="onSubmit_"
45 disabled="[[disabled]]" 45 disabled="[[disabled]]"
46 i18n-values="button-text:offlineLoginNextBtn"> 46 i18n-values="button-text:offlineLoginNextBtn">
47 <gaia-input id="machineNameInput" required 47 <gaia-input id="machineNameInput" required
48 hidden="[[!showMachineInput]]" 48 hidden="[[!showMachineInput]]" error="[[machineNameError]]"
49 i18n-values="label:oauthEnrollAdMachineNameInput"> 49 i18n-values="label:oauthEnrollAdMachineNameInput">
50 </gaia-input> 50 </gaia-input>
51 <gaia-input id="userInput" type="email" required 51 <gaia-input id="userInput" type="email" required
52 domain="[[userRealm]]" 52 domain="[[userRealm]]"
53 i18n-values="error:offlineLoginInvalidEmail; 53 i18n-values="error:adLoginInvalidUsername;
54 label:adLoginUser"> 54 label:adLoginUsername">
55 </gaia-input> 55 </gaia-input>
56 <gaia-input id="passwordInput" type="password" required 56 <gaia-input id="passwordInput" type="password" required
57 i18n-values="error:offlineLoginInvalidPassword; 57 i18n-values="error:adLoginInvalidPassword;
58 label:adLoginPassword"> 58 label:adLoginPassword">
59 </gaia-input> 59 </gaia-input>
60 </gaia-input-form> 60 </gaia-input-form>
61 <img src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90"
62 class="self-center" alt="">
63 </div> 61 </div>
64 </gaia-card> 62 </gaia-card>
65 </template> 63 </template>
66 </dom-module> 64 </dom-module>
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/resources/chromeos/login/offline_ad_login.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698