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

Unified Diff: ui/login/account_picker/md_user_pod_row.js

Issue 2919523005: Add avatar badges and update caps lock icon for new login screen (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: ui/login/account_picker/md_user_pod_row.js
diff --git a/ui/login/account_picker/md_user_pod_row.js b/ui/login/account_picker/md_user_pod_row.js
index 8a03bd902f31700709697ef4635569db27ceb41e..a1cf7ee7198e9c3081f8c5010ad6f2249cbf07e7 100644
--- a/ui/login/account_picker/md_user_pod_row.js
+++ b/ui/login/account_picker/md_user_pod_row.js
@@ -1342,7 +1342,9 @@ cr.define('login', function() {
setUserPodIconType: function(userTypeClass) {
this.userTypeIconAreaElement.classList.add(userTypeClass);
- this.userTypeIconAreaElement.hidden = false;
+ // TODO(wzang): Evaluate all icon types other than supervised user and
+ // switch them to badges per the design spec.
+ this.userTypeIconAreaElement.hidden = true;
},
isFingerprintIconShown: function() {
@@ -2093,13 +2095,7 @@ cr.define('login', function() {
}
this.showError = false;
$('bubble').hide();
- var inputLine = this.querySelector('#input-line');
- if (inputLine) {
- if (!isEmpty)
- inputLine.setAttribute('active', 'true');
- else
- inputLine.removeAttribute('active');
- }
+ this.classList.toggle('input-present', !isEmpty);
},
/**

Powered by Google App Engine
This is Rietveld 408576698