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

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

Issue 2602973002: Add Active Directory password change screen. (Closed)
Patch Set: 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
(Empty)
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
3 found in the LICENSE file. -->
4
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/iron-icons/iron-icons.h tml">
Alexander Alekseev 2017/01/11 01:48:39 Do you need this? Loading of all the icons takes
michaelpg 2017/01/11 22:09:09 +1. Some documentation: https://www.chromium.org/d
Roman Sorokin (ftl) 2017/01/12 12:38:50 Done.
Roman Sorokin (ftl) 2017/01/12 12:38:50 Done.
7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-in-animation.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-out-animation.html">
9 <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 mated-pages.html">
11 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
12 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
13
14 <!--
15 Offline UI for the Active Directory password change.
16
17 Attributes:
18 'username' - User principal name.
19 Methods:
20 'reset' - resets to the initial state.
21 Events:
22 'authCompleted' - Fired when user enters old password and two times new one.
michaelpg 2017/01/11 22:09:09 "and confirms new one."
Roman Sorokin (ftl) 2017/01/12 12:38:50 Done.
23 Fires with an argument which contains:
24 { 'username': <username>,
25 'oldPassword': <typed old password>,
26 'newPassword': <typed new password>,
27 'repeatNewPassword': <typed repeated new password>,
michaelpg 2017/01/11 22:09:10 Why pass this field? The confirmation field has al
Roman Sorokin (ftl) 2017/01/12 12:38:50 I thought it was a good idea to pass all the info
28 }
29 -->
30 <dom-module id="active-directory-password-change">
31 <link rel="stylesheet" href="gaia_password_changed.css">
32 <template>
33 <neon-animated-pages id="animatedPages" class="fit"
34 entry-animation="fade-in-animation" exit-animation="fade-out-animation"
35 selected="0">
36 <neon-animatable class="fit">
37 <gaia-card id="gaiaCard" class="fit">
38 <div class="header flex vertical layout end-justified start">
39 <h1 id="welcomeMessage" class="welcome-message"></h1>
40 </div>
41 <div class="footer flex vertical layout justified">
42 <gaia-input-form on-submit="onSubmit_"
43 i18n-values="button-text:offlineLoginNextBtn">
44 <gaia-input id="oldPassword" type="password" required
45 i18n-values="error:adOldPasswordError;
46 label:adEnterOldPasswordHint">
47 </gaia-input>
48 <gaia-input id="newPassword1" type="password" required
49 i18n-values="label:adEnterNewPasswordHint">
50 </gaia-input>
51 <gaia-input id="newPassword2" type="password" required
52 i18n-values="error:adNewPasswordError;
53 label:adRepeatNewPasswordHint">
54 </gaia-input>
55 </gaia-input-form>
56 <img src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90"
57 class="self-center" alt="">
58 </div>
59 </gaia-card>
60 </neon-animatable>
61 <neon-animatable class="fit">
62 <throbber-notice class="fit" i18n-values="text:gaiaLoading">
63 </throbber-notice>
64 </neon-animatable>
65 </neon-animated-pages>
66 <navigation-bar id="navigation" close-visible on-close="onClose_">
67 </navigation-bar>
68 </template>
69 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698