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

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

Issue 6353013: Bring the first passphrase screen UI up to date with equivalent changes made ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | chrome/browser/sync/sync_setup_wizard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/resources/firstpassphrase.html
===================================================================
--- chrome/browser/sync/resources/firstpassphrase.html (revision 72248)
+++ chrome/browser/sync/resources/firstpassphrase.html (working copy)
@@ -39,6 +39,11 @@
margin: 5px;
padding: 10px;
}
+
+#learn-more-link {
+ float: right;
+}
+
html[dir='rtl'] .sync-footer {
text-align: left;
left: 0px;
@@ -59,15 +64,6 @@
margin-top: 5px;
}
-#passphraseLabel,
-#confirmPassphraseLabel {
- width: 145px;
- float: left;
- text-align: right;
- margin-right: 4px;
- padding-top: 3px;
-}
-
</style>
<script src="chrome://resources/js/cr.js"></script>
<script>
@@ -127,8 +123,7 @@
emptyError.style.display = "block";
return false;
}
- if (f.confirmpassphrase.value.length > 0 &&
- f.confirmpassphrase.value != f.passphrase.value) {
+ if (f.confirmpassphrase.value != f.passphrase.value) {
mismatchError.style.display = "block";
return false;
}
@@ -159,6 +154,10 @@
</div>
<div>
<input name="option" type="radio" value="explicit" onchange="onRadioChange();">
+ <div id="learn-more-link">
+ <a i18n-values="href:encryptionhelpurl" target="_blank"
+ i18n-content="learnmore"></a>
+ </div>
<span i18n-content="explicitOption"></span>
</input>
</div>
@@ -176,16 +175,13 @@
<div>
<div i18n-content="passphraseLabel" id="passphraseLabel"></div>
<input id="passphrase" name="passphrase" label="passphraseLabel"
- type="password" onkeyup="checkPassphraseMatch();"
- onchange="checkPassphraseMatch();"/>
+ type="password"/>
</div>
<div>
<div i18n-content="confirmLabel" id="confirmPassphraseLabel">
</div>
<input id="confirmpassphrase" name="confirmpassphrase" type="password"
- label="confirmPassphraseLabel"
- onkeyup="checkPassphraseMatch();"
- onchange="checkPassphraseMatch();" />
+ label="confirmPassphraseLabel" />
</div>
<div class="error" style="display:none"
id="emptyerror" i18n-content="emptyErrorMessage"></div>
« no previous file with comments | « no previous file | chrome/browser/sync/sync_setup_wizard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698