blurts-server/views/scan.hbs

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

2019-03-28 19:14:45 +03:00
<main class="container scan-results">
<div class="row">
<div class="col-6">
{{#if scannedEmailId }}
<p id="scanned-email-address">Results for <span id="scannedEmail" data-scanned-email-id={{ scannedEmailId }} class="bold"></span></p>
{{/if}}
{{> breach-stats }}
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>
</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}}
<div class="breach-listing">
{{> 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>
<button id="show-all-breaches" class="utility-button" 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}}
<div class="breach-listing">
{{> breach_listing this= ./../this}}
</div>
{{/eachFromTo}}
</div>
{{/ifCompare}}
</div>
2019-03-29 22:17:02 +03:00
</main>
{{> scan-another-email }}