blurts-server/views/scan.hbs

40 строки
1.5 KiB
Handlebars
Исходник Обычный вид История

2019-04-03 21:30:19 +03:00
<main class="container">
<div class="row scan-results">
<div class="col-6 headline-col">
2019-03-28 19:14:45 +03:00
{{#if scannedEmailId }}
<p id="scanned-email-address">Results for <span id="scannedEmail" data-scanned-email-id={{ scannedEmailId }} class="bold"></span></p>
{{/if}}
2019-03-29 22:17:02 +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-03-29 22:17:02 +03:00
2019-04-03 21:30:19 +03:00
<div class="col-6 cntr">
{{> breach-stats }}
</div>
</div>
2019-03-29 22:17:02 +03:00
2019-03-28 19:14:45 +03:00
<div class="row found-breaches">
{{#eachFromTo foundBreaches 0 4}}
2019-04-03 21:30:19 +03:00
<div class="breach-listing flx flx-col">
2019-03-28 19:14:45 +03:00
{{> breach_listing this= ./../this}}
</div>
{{/eachFromTo}}
{{#ifCompare foundBreaches.length ">" 4}}
2019-03-29 22:17:02 +03:00
<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-03 22:06:49 +03:00
<button id="show-all-breaches" class="util-btn light-btn" data-event-category="Show All Breaches">{{getString "show-all-breaches"}}</button>
2019-03-28 19:14:45 +03:00
</div>
<div id="additional-breaches" class="show-additional-breaches hide flx">
{{#eachFromTo foundBreaches 4 foundBreaches.length}}
2019-04-03 21:30:19 +03:00
<div class="breach-listing flx flx-col">
2019-03-28 19:14:45 +03:00
{{> breach_listing this= ./../this}}
</div>
{{/eachFromTo}}
</div>
{{/ifCompare}}
</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"}}