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

Unified Diff: chrome/browser/sync/resources/gaia_login.html

Issue 283013: Make user name not editable when re-login is required.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/resources/gaia_login.html
===================================================================
--- chrome/browser/sync/resources/gaia_login.html (revision 29232)
+++ chrome/browser/sync/resources/gaia_login.html (working copy)
@@ -19,6 +19,9 @@
text-align: left;
}
#gaia_account_text { font-weight: bold; }
+ #email_readonly { font-size: 10pt;
+ font-weight: bold;
+ display: none; }
div.errorbox-good {}
div.errorbox-bad {}
div.errormsg { color: red; font-size: smaller;
@@ -57,6 +60,10 @@
if (f.Email && (f.Email.value == null || f.Email.value == "")) {
f.Email.focus();
} else if (f.Passwd) {
+ f.Email.style.display = 'none';
tim (not reviewing) 2009/10/29 20:54:55 when does gaia_setFocus get called? Can this cause
+ var span = document.getElementById('email_readonly');
+ span.appendChild(document.createTextNode(f.Email.value));
+ span.style.display = 'inline';
f.Passwd.focus();
}
}
@@ -244,6 +251,7 @@
<td>
<input type="text" name="Email" id="Email" size="18"
value="" class='gaia le val' />
+ <span id="email_readonly"></span>
</td>
</tr>
<tr>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698