blurts-server/views/scan.hbs

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

<main class="container bg-light clear-header" {{> analytics/results_page_label }}>
2019-05-09 02:04:29 +03:00
<div class="row jst-cntr scan-results">
<div class="mw-860 headline-col">
{{#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="headline scan-results-headline fb-res-headline">{{{ this.headline }}}</h2>
{{#if this.subhead }}
<h3 class="scan-res-subhead">{{{ this.subhead }}}</h2>
{{/if}}
{{/getScanResultsHeadline}}
{{else}}
<h2 class="headline scan-results-headline">{{{ fluentNestedBold "scan-results-known-breaches" breachCount=foundBreaches.length }}}</h2>
<button class="btn-violet-secondary open-oauth btn-small btn-transparent" {{> analytics/fxa id="fx-monitor-alert-me-btn" }} data-event-category="Alert me about new breaches">
{{ getString "alert-about-new-breaches" }}
2019-05-13 19:35:41 +03:00
</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 flx-col">
<div class="mw-860 found-breaches scan-res-breaches">
{{#each (getFoundBreaches)}}
{{> breach-card cardType="two-up drop-shadow"}}
{{/each}}
2019-04-23 01:52:43 +03:00
</div>
{{#ifCompare foundBreaches.length ">" "0"}}
<div class="mw-860 txt-cntr source-info-wrap">
{{> hibp-attribution}}
</div>
{{/ifCompare}}
2019-03-28 19:14:45 +03:00
</div>
2019-03-29 22:17:02 +03:00
</main>
<section>
2019-05-13 19:35:41 +03:00
<div class="row jst-cntr flx-col">
{{> scan-another-email addClass="stacked"}}
</div>
<div class="fxa-signup-gradient">
<div class="row fxa-signup-banner scan-res">
{{> sign-up-banners/scan-results-sign-up }}
</div>
</div>
2019-05-13 19:35:41 +03:00
</section>