-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set treatment branch homepage experiment (including styling updates).…
… Note that copy is hard-coded in to bypass l10n efforts.
- Loading branch information
1 parent
21a871c
commit 82a7145
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,31 @@ | ||
|
||
<form id="scan-user-email" class="email-scan form-group {{ addClasses }}" action="/scan" method="post" data-event-category="Email Scan Form" novalidate> | ||
<form id="scan-user-email" class="email-scan form-group {{#if experimentBranchB}}skip{{/if}} {{ addClasses }}" action="/scan" method="post" data-event-category="Email Scan Form" novalidate> | ||
<input type="hidden" name="_csrf" value="{{ csrfToken }}"> | ||
<input type="hidden" name="pageToken" value="{{ pageToken }}"> | ||
<input type="hidden" name="scannedEmailId" value=""> | ||
{{#unless experimentBranchB}} | ||
<div class="input-group"> | ||
<input id="scan-email" class="input-group-field email-to-hash" type="email" name="email" placeholder="{{ getString "scan-placeholder" }}" aria-label="{{ getString "scan-placeholder" }}" autocomplete="off" /> | ||
<span id="invalid-email-message" class="error-message">{{ getString "scan-error" }}</span> | ||
</div> | ||
{{/unless}} | ||
<input type="hidden" name="emailHash" /> | ||
{{#if scanFeaturedBreach}} | ||
<input id="featured" type="hidden" name="featuredBreach" value="{{ featuredBreach.Name }}"/> | ||
{{/if}} | ||
<div class="input-group-button"> | ||
{{#if featuredBreach}} | ||
<input type="submit" value="{{ getString "find-out" }}"/> | ||
{{else if experimentBranchB}} | ||
<input type="submit" class="open-oauth" value="Create a Free Account"/> | ||
{{else}} | ||
<input type="submit" value="{{ getString "check-for-breaches" }}"/> | ||
{{/if}} | ||
{{> forms/loader }} | ||
</div> | ||
</form> | ||
{{#if isUserInExperiment}} | ||
<p class="paragraph form-desc txt-cntr txt-purple7 experiment">Firefox browser not required for a Firefox Account. You may receive info about Mozilla services.</p> | ||
{{else}} | ||
<p class="paragraph form-desc txt-cntr txt-purple7">{{ getString "search-for-your-email" }}</p> | ||
{{/if}} |