2019-04-03 21:30:19 +03:00
|
|
|
<main class="container">
|
|
|
|
<div class="row scan-results">
|
2019-04-05 22:52:05 +03:00
|
|
|
|
2019-04-03 21:30:19 +03:00
|
|
|
<div class="col-6 headline-col">
|
2019-04-05 22:52:05 +03:00
|
|
|
{{#if scannedEmailId }} <!-- show the email address that was scanned -->
|
2019-03-28 19:14:45 +03:00
|
|
|
<p id="scanned-email-address">Results for <span id="scannedEmail" data-scanned-email-id={{ scannedEmailId }} class="bold"></span></p>
|
|
|
|
{{/if}}
|
2019-04-23 17:58:14 +03:00
|
|
|
<h2 class="headline scan-results-headline">{{{ fluentNestedBold "guest-scan-results-headline" breachCount=foundBreaches.length }}}</h2>
|
2019-03-28 19:14:45 +03:00
|
|
|
</div>
|
2019-04-03 21:30:19 +03:00
|
|
|
</div>
|
2019-03-29 22:17:02 +03:00
|
|
|
|
2019-04-23 01:52:43 +03:00
|
|
|
<div class="row">
|
|
|
|
<div class="found-breaches">
|
|
|
|
<!-- foundBreaches 1-4 -->
|
|
|
|
{{#eachFromTo (getFoundBreaches) 0 4}}
|
|
|
|
{{> breach-card cardClass="two-up drop-shadow"}}
|
|
|
|
{{/eachFromTo}}
|
2019-04-05 22:52:05 +03:00
|
|
|
|
2019-04-23 01:52:43 +03:00
|
|
|
{{#ifCompare foundBreaches.length ">" 4}}
|
|
|
|
<!-- show all breaches button -->
|
|
|
|
<div id="show-all-breaches-wrapper" class="col-12 show">
|
|
|
|
<p class="txt-cntr">Currently showing <span class="bold">4</span> of <span class="bold">{{ foundBreaches.length }}</span> breaches.</p>
|
2019-04-23 17:58:14 +03:00
|
|
|
<button id="show-all-breaches" class="util-btn light-btn" data-event-category="Show All Breaches">{{ getString "show-all-breaches" }}</button>
|
2019-04-23 01:52:43 +03:00
|
|
|
</div>
|
2019-04-05 22:52:05 +03:00
|
|
|
|
2019-04-23 01:52:43 +03:00
|
|
|
<!-- foundBreaches 4-foundBreaches.length -->
|
|
|
|
<div id="additional-breaches" class="show-additional-breaches hide flx">
|
|
|
|
{{#eachFromTo (getFoundBreaches) 4 foundBreaches.length}}
|
|
|
|
{{> breach-card cardClass="two-up drop-shadow"}}
|
|
|
|
{{/eachFromTo}}
|
|
|
|
</div>
|
2019-04-05 22:52:05 +03:00
|
|
|
|
2019-04-23 01:52:43 +03:00
|
|
|
{{/ifCompare}}
|
|
|
|
</div>
|
2019-03-28 19:14:45 +03:00
|
|
|
</div>
|
2019-03-29 22:17:02 +03:00
|
|
|
</main>
|
|
|
|
|
2019-04-03 21:30:19 +03:00
|
|
|
{{> sign-up-banners/scan-results-sign-up }}
|
2019-03-29 22:17:02 +03:00
|
|
|
|
2019-04-03 21:30:19 +03:00
|
|
|
{{> scan-another-email addClass="stacked"}}
|