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

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: rebase with master 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
« no previous file with comments | « ui/login/account_picker/md_user_pod_row.css ('k') | ui/login/account_picker/md_user_pod_template.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9316cc931a299b731f63e48e9cd9d8a8a425e98e..b3fc866e2436158a4162a5e4aba1822847107cf8 100644
--- a/ui/login/account_picker/md_user_pod_row.js
+++ b/ui/login/account_picker/md_user_pod_row.js
@@ -1306,7 +1306,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() {
@@ -2044,13 +2046,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);
},
/**
« no previous file with comments | « ui/login/account_picker/md_user_pod_row.css ('k') | ui/login/account_picker/md_user_pod_template.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698