blurts-server/views/scan.hbs

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

2019-05-13 19:35:41 +03:00
<main class="container bg-dark clear-header" {{> analytics/results_page_label }}>
2019-05-09 02:04:29 +03:00
<div class="row jst-cntr scan-results">
<div class="col-9 headline-col no-vertical-padding">
{{#if scannedEmailId }} <!-- show the email address that was scanned -->
2019-05-13 19:35:41 +03:00
<p id="scanned-email-address" class="scanned-email-address">{{ getString "results-for" userEmail="" }} <span id="scannedEmail" data-scanned-email-id={{ scannedEmailId }} class="bold"></span></p>
{{/if}}
{{#if specificBreach}}
{{#getScanResultsHeadline }}
<h2 class="skinny-headline scan-results-headline fb-res-headline">{{{ this.headline }}}</h2>
{{#if this.subhead }}
<h3 class="subhead scan-res-subhead">{{{ this.subhead }}}</h2>
{{/if}}
{{/getScanResultsHeadline}}
{{else}}
2019-05-13 19:35:41 +03:00
<h2 class="skinny-headline scan-results-headline">{{{ fluentNestedBold "scan-results-known-breaches" breachCount=foundBreaches.length }}}</h2>
<button class="alert-me open-oauth flx jst-cntr" {{> analytics/fxa id="fx-monitor-alert-me-btn" }} data-event-category="Alert me about new breaches">
{{ getString "alert-about-new-breaches" }}{{> svg/arrow-head-right }}
</button>
2019-03-28 19:14:45 +03:00
{{/if}}
</div>
2019-04-03 21:30:19 +03:00
</div>
2019-03-29 22:17:02 +03:00
<div class="row jst-cntr user-found-breaches">
<div class="col-9 found-breaches">
2019-04-23 01:52:43 +03:00
<!-- foundBreaches 1-4 -->
{{#getFoundBreaches}}
{{> breach-groups cardType="two-up drop-shadow scan-res"}}
{{/getFoundBreaches}}
2019-04-23 01:52:43 +03:00
</div>
2019-03-28 19:14:45 +03:00
</div>
2019-05-13 19:35:41 +03:00
{{> hibp-attribution variableClasses="scan-res"}}
2019-03-29 22:17:02 +03:00
</main>
2019-05-13 19:35:41 +03:00
<section class="container scan-results-sign-up">
<div class="row jst-cntr flx-col">
{{> sign-up-banners/scan-results-sign-up }}
{{> scan-another-email addClass="stacked"}}
</div>
</section>