File: //opt/cpguard/app/resources/email_templates/daily_report/scanner.html
<table border="0" cellpadding="0" cellspacing="0" class="to100pc" width="100%">
<tr>
<td align="center">
<table align="center" bgcolor="white" border="0" cellpadding="0" cellspacing="0" class="to100pc" width="600"
style="max-width: 600px;">
<tbody>
<tr style="-webkit-text-size-adjust: none;">
<td height="16" style="-webkit-text-size-adjust: none;margin: 0;padding: 0;height: 16px;">
<img alt="" height="16" src="https://opsshield.com/assets/mail/space.gif"
style="-webkit-text-size-adjust: none;display: block;margin: 0;padding: 0;border: 0;height: 16px;">
</td>
<!-- spacer -->
</tr>
<tr>
<td align="center" width="76%" style="padding:30px 0 10px 0"><span
style="font-size:18px; line-height:14px; font-family:'Avenir Next', Avenir, Helvetica, sans-serif; color:#BABEC5; font-weight: 500;">INFECTED
FILES FOUND</span>
</td>
</tr>
<!-- T&BP paragraph 1 start -->
<tr style="-webkit-text-size-adjust: none;">
<td align="center"
style="-webkit-text-size-adjust: none; font-family:Roboto, Arial, sans-serif; margin: 0; padding: 0 30px;">
<table width="400" border="0"
style="border-collapse: collapse !important;mso-table-lspace: 0pt !important;mso-table-rspace: 0pt !important;">
<tr>
<td colspan="2">
<h2
style="text-align: center;font-size: 16px;color: #5F6368;font-size: 16px;line-height: 26px;font-weight: bold;font-family: Roboto, sans-serif;">
You can view detailed log in cPGuard console and perform actions on the file<br>
</h2>
</td>
</tr>
</table>
<div style="width: 430px;padding:20px 15px;border: solid 1px #e3e5e6;border-radius: 10px;">
<table width="400" border="0"
style="border-collapse: collapse !important;mso-table-lspace: 0pt !important;mso-table-rspace: 0pt !important;">
<tr>
<td width="81%"
style="-webkit-text-size-adjust: none;font-weight: 400;font-size: 14px;line-height: 26px;color: #9aa0a6;font-family: Roboto, sans-serif;">
Type</td>
<td width="19%"
style="-webkit-text-size-adjust: none;font-weight: 400;font-size: 14px;line-height: 26px;color: #9aa0a6;font-family: Roboto, sans-serif;">
Count</td>
</tr>
{% set no = 0 %}
{% for type, count in scanner_summary %}
{% set border = no == (scanner_summary|length - 1) ? '' : 'border-bottom: solid 1px #e3e5e6;' %}
{% set no = no + 1 %}
<tr>
<td
style="-webkit-text-size-adjust: none;font-weight: 600;font-size: 16px;line-height: 26px;color: #5F6368;padding: 0;font-family: Roboto, sans-serif;{{ border }}">
{{ type|lower }}
</td>
<td style="padding-bottom: 10px;padding-top:10px;{{ border }}">
<div
style="border-radius:8px;color:#202124;height:46px;line-height:46px;margin:auto 0;text-align: center;width: 46px;background:#8ab4f8;">
{{ count }}
</div>
</td>
</tr>
{% endfor %}
</table>
</div>
</td>
</tr>
<tr>
<td align="center">
<div
style="font-size:16px;font-family:'Google Sans',Roboto,Arial,sans-serif;letter-spacing:0.1px;line-height:24px;padding-top:36px">
Most infected user today</div>
<table width="450" border="0"
style="margin-top:25px;border-collapse: collapse !important;mso-table-lspace: 0pt !important;mso-table-rspace: 0pt !important;">
<tr>
<td width="85%"
style="padding-left:15px; -webkit-text-size-adjust: none;font-weight: 400;font-size: 14px;line-height: 26px;color: #9aa0a6;border-bottom: solid 1px #e3e5e6;margin: 0 0 20px; padding-bottom: 10px;font-family: Roboto, sans-serif;">
Type</td>
<td width="15%" align="right"
style="-webkit-text-size-adjust: none;font-weight: 400;font-size: 14px;line-height: 26px;color: #9aa0a6;border-bottom: solid 1px #e3e5e6;padding:5px 15px 5px 0;font-family: Roboto, sans-serif;">
Count</td>
</tr>
<tr>
<td height="10"></td>
<td></td>
</tr>
{% for user_row in users_result %}
<tr>
<td
style="-webkit-text-size-adjust: none;font-weight: 400;font-size: 14px;line-height: 26px;color: #5F6368;margin: 0 0 20px;padding:5px 15px;font-family: Roboto, sans-serif;border-bottom: solid 1px #e3e5e6;">
{{ user_row.user }}</td>
<td align="right"
style="border-bottom: solid 1px #e3e5e6;padding-bottom: 10px;font-size: 14px;line-height: 26px;padding:5px 15px 5px 0;font-family: Roboto, sans-serif;border-bottom: solid 1px #e3e5e6;">
{{ user_row.detection_count }}</td>
</tr>
{% endfor %}
<tr>
<td colspan="2"
style="-webkit-text-size-adjust: none;text-align:right;padding-top:25px;padding-left:25px;">
<a href="#"
style="font-weight: 400;text-decoration:none;font-size: 14px;line-height: 26px;color: #b1b1b1;padding:5px 15px 5px 0;font-family: Roboto, sans-serif;""> </a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=" 20" style="height: 20px;">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="3" bgcolor="#F4F5F8" style="line-height: 10px;">
<img alt="" height="10" src="https://opsshield.com/assets/mail/space.gif" style="display:block;" width="1"
border="0" />
</td>
</tr>
</table>