Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <html i18n-values="dir:textdirection;"> | 1 <html i18n-values="dir:textdirection;"> |
| 2 <style type="text/css"><!-- | 2 <style type="text/css"><!-- |
| 3 body,td,div,p,a,font,span {font-family: arial,sans-serif;} | 3 body,td,div,p,a,font,span {font-family: arial,sans-serif;} |
| 4 body { bgcolor:"#ffffff" } | 4 body { bgcolor:"#ffffff" } |
| 5 A:link {color:#0000cc; } | 5 A:link {color:#0000cc; } |
| 6 A:visited { color:#551a8b; } | 6 A:visited { color:#551a8b; } |
| 7 A:active { color:#ff0000; } | 7 A:active { color:#ff0000; } |
| 8 .form-noindent {background-color: #ffffff; border: #C3D9FF 1px solid} | 8 .form-noindent {background-color: #ffffff; border: #C3D9FF 1px solid} |
| 9 --></style> | 9 --></style> |
| 10 <head> | 10 <head> |
| 11 <style type="text/css"><!-- | 11 <style type="text/css"><!-- |
| 12 .body { margin-left: 3em; | 12 .body { margin-left: 3em; |
| 13 margin-right: 5em; | 13 margin-right: 5em; |
| 14 font-family: arial,sans-serif; } | 14 font-family: arial,sans-serif; } |
| 15 .endaligned { | 15 .endaligned { |
| 16 text-align: right; | 16 text-align: right; |
| 17 } | 17 } |
| 18 html[dir='rtl'] .endaligned { | 18 html[dir='rtl'] .endaligned { |
| 19 text-align: left; | 19 text-align: left; |
| 20 } | 20 } |
| 21 #gaia_account_text { font-weight: bold; } | 21 #gaia_account_text { font-weight: bold; } |
| 22 #email_readonly { font-size: 10pt; | |
| 23 font-weight: bold; | |
| 24 display: none; } | |
| 22 div.errorbox-good {} | 25 div.errorbox-good {} |
| 23 div.errorbox-bad {} | 26 div.errorbox-bad {} |
| 24 div.errormsg { color: red; font-size: smaller; | 27 div.errormsg { color: red; font-size: smaller; |
| 25 font-family: arial,sans-serif; | 28 font-family: arial,sans-serif; |
| 26 display: none;} | 29 display: none;} |
| 27 font.errormsg { color: red; font-size: smaller; | 30 font.errormsg { color: red; font-size: smaller; |
| 28 font-family: arial,sans-serif;} | 31 font-family: arial,sans-serif;} |
| 29 hr { | 32 hr { |
| 30 border: 0; | 33 border: 0; |
| 31 background-color:#DDDDDD; | 34 background-color:#DDDDDD; |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 50 var f = null; | 53 var f = null; |
| 51 if (document.getElementById) { | 54 if (document.getElementById) { |
| 52 f = document.getElementById("gaia_loginform"); | 55 f = document.getElementById("gaia_loginform"); |
| 53 } else if (window.gaia_loginform) { | 56 } else if (window.gaia_loginform) { |
| 54 f = window.gaia_loginform; | 57 f = window.gaia_loginform; |
| 55 } | 58 } |
| 56 if (f) { | 59 if (f) { |
| 57 if (f.Email && (f.Email.value == null || f.Email.value == "")) { | 60 if (f.Email && (f.Email.value == null || f.Email.value == "")) { |
| 58 f.Email.focus(); | 61 f.Email.focus(); |
| 59 } else if (f.Passwd) { | 62 } else if (f.Passwd) { |
| 63 f.Email.style.display = 'none'; | |
|
tim (not reviewing)
2009/10/29 20:54:55
when does gaia_setFocus get called? Can this cause
| |
| 64 var span = document.getElementById('email_readonly'); | |
| 65 span.appendChild(document.createTextNode(f.Email.value)); | |
| 66 span.style.display = 'inline'; | |
| 60 f.Passwd.focus(); | 67 f.Passwd.focus(); |
| 61 } | 68 } |
| 62 } | 69 } |
| 63 } | 70 } |
| 64 | 71 |
| 65 function advanceThrobber() { | 72 function advanceThrobber() { |
| 66 var throbber = document.getElementById('throb'); | 73 var throbber = document.getElementById('throb'); |
| 67 throbber.style.backgroundPositionX = | 74 throbber.style.backgroundPositionX = |
| 68 ((parseInt(throbber.style.backgroundPositionX) - 16) % 576) + 'px'; | 75 ((parseInt(throbber.style.backgroundPositionX) - 16) % 576) + 'px'; |
| 69 } | 76 } |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 237 <tr> | 244 <tr> |
| 238 <td nowrap="nowrap"> | 245 <td nowrap="nowrap"> |
| 239 <div class="endaligned"> | 246 <div class="endaligned"> |
| 240 <span class="gaia le lbl" i18n-content="emaillabel"> | 247 <span class="gaia le lbl" i18n-content="emaillabel"> |
| 241 </span> | 248 </span> |
| 242 </div> | 249 </div> |
| 243 </td> | 250 </td> |
| 244 <td> | 251 <td> |
| 245 <input type="text" name="Email" id="Email" size="18" | 252 <input type="text" name="Email" id="Email" size="18" |
| 246 value="" class='gaia le val' /> | 253 value="" class='gaia le val' /> |
| 254 <span id="email_readonly"></span> | |
| 247 </td> | 255 </td> |
| 248 </tr> | 256 </tr> |
| 249 <tr> | 257 <tr> |
| 250 <td></td> | 258 <td></td> |
| 251 <td> | 259 <td> |
| 252 <div class="errormsg" id="errormsg_0_Email" | 260 <div class="errormsg" id="errormsg_0_Email" |
| 253 i18n-content="cannotbeblank"> | 261 i18n-content="cannotbeblank"> |
| 254 </div> | 262 </div> |
| 255 </td> | 263 </td> |
| 256 </tr> | 264 </tr> |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 348 </form> | 356 </form> |
| 349 </td> | 357 </td> |
| 350 </tr> | 358 </tr> |
| 351 </table> | 359 </table> |
| 352 <div class="endaligned"> | 360 <div class="endaligned"> |
| 353 <input type="button" name="cancel" i18n-values="value:cancel" | 361 <input type="button" name="cancel" i18n-values="value:cancel" |
| 354 onclick="CloseDialog();" style="width:85" /> | 362 onclick="CloseDialog();" style="width:85" /> |
| 355 </div> | 363 </div> |
| 356 </body> | 364 </body> |
| 357 </html> | 365 </html> |
| OLD | NEW |