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

Side by Side Diff: chrome/browser/resources/options/sync_setup_overlay.html

Issue 6982048: Reset sync setup dialog to initial state when it is opened. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixing nits. Created 9 years, 6 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 | Annotate | Revision Log
OLDNEW
1 <div id="sync-setup-overlay" class="page" hidden> 1 <div id="sync-setup-overlay" class="page" hidden>
2 <div id="sync-setup-login" hidden> 2 <div id="sync-setup-login" hidden>
3 <h1 i18n-content="syncSetupOverlayTitle"></h1> 3 <h1 i18n-content="syncSetupOverlayTitle"></h1>
4 <div class="content-area"> 4 <div class="content-area">
5 <div> 5 <div>
6 <div id="top-blurb-error"> 6 <!-- top-blurb-error's reset state is handled differently from most
7 elements. Instead of being [hidden] it is visibility:hidden so it
8 still takes up space. But it is also [hidden] when we display the
9 captcha, so when it is reset, it needs to be shown. -->
10 <div id="top-blurb-error"
11 class="reset-shown reset-visibility-hidden">
7 <span id="error-signing-in" i18n-content="errorSigningIn"></span> 12 <span id="error-signing-in" i18n-content="errorSigningIn"></span>
8 <span id="error-custom"></span> 13 <span id="error-custom" hidden></span>
9 </div> 14 </div>
10 <form id="gaia-login-form"> 15 <form id="gaia-login-form">
11 <div id="gaia-login-box"> 16 <div id="gaia-login-box">
12 <table id="content-table" cellspacing="0" 17 <table id="content-table" cellspacing="0"
13 cellpadding="5" width="75%" border="0" align="center"> 18 cellpadding="5" width="75%" border="0" align="center">
14 <tr> 19 <tr>
15 <td valign="top" style="text-align:center" nowrap="nowrap" 20 <td valign="top" style="text-align:center" nowrap="nowrap"
16 bgcolor="#e8eefa"> 21 bgcolor="#e8eefa">
17 <div> 22 <div>
18 <table id="gaia-table" align="center" border="0" 23 <table id="gaia-table" align="center" border="0"
(...skipping 13 matching lines...) Expand all
32 <span id="gaia-account-text" 37 <span id="gaia-account-text"
33 i18n-content="signinSuffix"></span> 38 i18n-content="signinSuffix"></span>
34 </td> 39 </td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 </td> 42 </td>
38 </tr> 43 </tr>
39 <tr> 44 <tr>
40 <td colspan="2" align="center"> </td> 45 <td colspan="2" align="center"> </td>
41 </tr> 46 </tr>
42 <tr id="email-row"> 47 <tr id="email-row" class="reset-shown">
43 <td nowrap="nowrap"> 48 <td nowrap="nowrap">
44 <div class="end-aligned"> 49 <div class="end-aligned">
45 <span i18n-content="emailLabel"> 50 <span i18n-content="emailLabel">
46 </span> 51 </span>
47 </div> 52 </div>
48 </td> 53 </td>
49 <td> 54 <td>
50 <input id="gaia-email" type="text" name="email" 55 <input id="gaia-email" type="text" name="email"
51 size="18" value=""> 56 size="18" value="" class="reset-enabled">
52 <span id="email-readonly"></span> 57 <span id="email-readonly" hidden></span>
53 </td> 58 </td>
54 </tr> 59 </tr>
55 <tr id="access-code-label-row" class="access-code-row"> 60 <tr id="access-code-label-row"
61 class="access-code-row reset-hidden" hidden>
56 <td colspan="2"> 62 <td colspan="2">
57 <span i18n-content="enterAccessCode"></span> 63 <span i18n-content="enterAccessCode"></span>
58 </td> 64 </td>
59 </tr> 65 </tr>
60 <tr id="access-code-help-row" class="access-code-row"> 66 <tr id="access-code-help-row"
67 class="access-code-row reset-hidden" hidden>
61 <td colspan="2"> 68 <td colspan="2">
62 <a i18n-values="href:getAccessCodeURL" 69 <a i18n-values="href:getAccessCodeURL"
63 i18n-content="getAccessCodeHelp" target="_blank"> 70 i18n-content="getAccessCodeHelp" target="_blank">
64 </a> 71 </a>
65 </td> 72 </td>
66 </tr> 73 </tr>
67 <tr> 74 <tr>
68 <td></td> 75 <td></td>
69 <td> 76 <td>
70 <div id="errormsg-0-email" class="errormsg" 77 <div id="errormsg-0-email"
71 i18n-content="cannotBeBlank"> 78 class="errormsg reset-hidden"
79 i18n-content="cannotBeBlank"
80 hidden>
72 </div> 81 </div>
73 </td> 82 </td>
74 </tr> 83 </tr>
75 <tr id="password-row"> 84 <tr id="password-row" class="reset-shown">
76 <td class="end-aligned"> 85 <td class="end-aligned">
77 <span i18n-content="passwordLabel"></span> 86 <span i18n-content="passwordLabel"></span>
78 </td> 87 </td>
79 <td> 88 <td>
80 <input id="gaia-passwd" type="password" name="passwd" 89 <input id="gaia-passwd" type="password" name="passwd"
81 size="18"> 90 size="18" class="reset-enabled">
82 </td> 91 </td>
83 </tr> 92 </tr>
84 <tr id="access-code-input-row" class="access-code-row"> 93 <tr id="access-code-input-row"
94 class="access-code-row reset-hidden" hidden>
85 <td colspan="2"> 95 <td colspan="2">
86 <input id="access-code" type="password" 96 <input id="access-code" type="password"
87 name="accessCode" size="18"> 97 name="accessCode" size="18">
88 </td> 98 </td>
89 </tr> 99 </tr>
90 <tr> 100 <tr>
91 <td></td> 101 <td></td>
92 <td> 102 <td>
93 <div class="error-msg-spacer"> 103 <div class="error-msg-spacer">
94 <div id="errormsg-0-password" class="errormsg" 104 <div id="errormsg-0-password"
95 i18n-content="cannotBeBlank"> 105 class="errormsg reset-hidden"
106 i18n-content="cannotBeBlank"
107 hidden>
96 </div> 108 </div>
97 <div id="errormsg-1-password" class="errormsg"> 109 <div id="errormsg-1-password"
110 class="errormsg reset-hidden"
111 hidden>
98 <span i18n-content="invalidCredentials"></span> 112 <span i18n-content="invalidCredentials"></span>
99 <!-- Brackets are intentional --> 113 <!-- Brackets are intentional -->
100 [<a i18n-values="href:invalidPasswordHelpURL" 114 [<a i18n-values="href:invalidPasswordHelpURL"
101 target="_blank">?</a>] 115 target="_blank">?</a>]
102 </div> 116 </div>
103 <div id="errormsg-0-access-code" class="errormsg" 117 <div id="errormsg-0-access-code"
104 i18n-content="invalidAccessCode"> 118 class="errormsg reset-hidden"
119 i18n-content="invalidAccessCode"
120 hidden>
105 </div> 121 </div>
106 </div> 122 </div>
107 </td> 123 </td>
108 </tr> 124 </tr>
109 <tr> 125 <tr>
110 <td colspan="2"> 126 <td colspan="2">
111 <div id="captcha-div"> 127 <div id="captcha-div" class="reset-hidden" hidden>
112 <div id="captcha-instructions" 128 <div id="captcha-instructions"
113 i18n-content="captchaInstructions" 129 i18n-content="captchaInstructions"
114 class="bottom-padded-cell"> 130 class="bottom-padded-cell">
115 </div> 131 </div>
116 <div class="bottom-padded-cell"> 132 <div class="bottom-padded-cell">
117 <div id="captcha-wrapper"> 133 <div id="captcha-wrapper">
118 <div id="captcha-image"></div> 134 <div id="captcha-image"></div>
119 </div> 135 </div>
120 </div> 136 </div>
121 <div> 137 <div>
122 <input id="captcha-value" type="text" 138 <input id="captcha-value" type="text"
123 name="captchaValue" size="18" value=""> 139 name="captchaValue" size="18" value=""
140 class="reset-disabled">
124 </div> 141 </div>
125 </div> 142 </div>
126 </td> 143 </td>
127 </tr> 144 </tr>
128 <tr> 145 <tr>
129 <td colspan="2" align="center"> 146 <td colspan="2" align="center">
130 <div id="errormsg-0-connection" class="errormsg" 147 <div id="errormsg-0-connection"
131 i18n-content="couldNotConnect"> 148 class="errormsg reset-hidden"
149 i18n-content="couldNotConnect"
150 hidden>
132 </div> 151 </div>
133 </td> 152 </td>
134 </tr> 153 </tr>
135 <tr id="action-area"> 154 <tr id="action-area">
136 <td colspan="2"> 155 <td colspan="2">
137 <table align="center" cellpadding="0" 156 <table align="center" cellpadding="0"
138 cellspacing="0"> 157 cellspacing="0">
139 <tr> 158 <tr>
140 <td> 159 <td>
141 <div id="logging-in-throbber" class="throbber"> 160 <div id="logging-in-throbber" class="throbber">
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 <span>.</span> 354 <span>.</span>
336 </div> 355 </div>
337 <div class="sync-custom-passphrase-input"> 356 <div class="sync-custom-passphrase-input">
338 <input id="custom-passphrase" type="password" 357 <input id="custom-passphrase" type="password"
339 i18n-values="placeholder:passphraseLabel"> 358 i18n-values="placeholder:passphraseLabel">
340 </div> 359 </div>
341 <div class="sync-custom-passphrase-input"> 360 <div class="sync-custom-passphrase-input">
342 <input id="confirm-passphrase" type="password" 361 <input id="confirm-passphrase" type="password"
343 i18n-values="placeholder:confirmLabel"> 362 i18n-values="placeholder:confirmLabel">
344 </div> 363 </div>
345 <div id="empty-error" class="error" style="display:none" 364 <div id="empty-error" class="error"
346 i18n-content="emptyErrorMessage"></div> 365 i18n-content="emptyErrorMessage" hidden></div>
347 <div id="mismatch-error" class="error" style="display:none" 366 <div id="mismatch-error" class="error"
348 i18n-content="mismatchErrorMessage"></div> 367 i18n-content="mismatchErrorMessage" hidden></div>
349 </div> 368 </div>
350 </div> 369 </div>
351 <div id="sync-existing-passphrase-container" hidden> 370 <div id="sync-existing-passphrase-container" hidden>
352 <div id="enter-passphrase"> 371 <div id="enter-passphrase">
353 <div id="normal-body" i18n-content="enterPassphraseBody" hidden> 372 <div id="normal-body" i18n-content="enterPassphraseBody" hidden>
354 </div> 373 </div>
355 <div id="passphrase-rejected-body" 374 <div id="passphrase-rejected-body"
356 i18n-content="enterOtherPassphraseBody" hidden> 375 i18n-content="enterOtherPassphraseBody" hidden>
357 </div> 376 </div>
358 </div> 377 </div>
(...skipping 15 matching lines...) Expand all
374 </div> 393 </div>
375 <div id="choose-datatypes-throbber" class="throbber"></div> 394 <div id="choose-datatypes-throbber" class="throbber"></div>
376 <input id="choose-datatypes-ok" type="submit" i18n-values="value:ok"> 395 <input id="choose-datatypes-ok" type="submit" i18n-values="value:ok">
377 <input id="choose-datatypes-cancel" type="button" 396 <input id="choose-datatypes-cancel" type="button"
378 i18n-values="value:cancel"> 397 i18n-values="value:cancel">
379 </div> 398 </div>
380 </form> 399 </form>
381 </div> 400 </div>
382 </div> 401 </div>
383 </div> 402 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698