Update email
This commit is contained in:
parent
daddb7d812
commit
2382ab1f6f
|
|
@ -1714,11 +1714,11 @@ ${log}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 50%;">
|
<td style="width: 50%;">
|
||||||
Model : <b>${this.config?.inventory?.pid ?? 'N/A'}</b><br/>
|
Model: <b>${this.config?.inventory?.pid ?? 'N/A'}</b><br/>
|
||||||
Serial Number : <b>${this.config?.inventory?.sn ?? 'N/A'}</b><br/>
|
Serial Number: <b>${this.config?.inventory?.sn ?? 'N/A'}</b><br/>
|
||||||
MAC : <b>${dataShowVersion?.MAC_ADDRESS ?? ''}</b><br/>
|
MAC: <b>${dataShowVersion?.MAC_ADDRESS ?? ''}</b><br/>
|
||||||
IOS : <b>${dataShowVersion?.SOFTWARE_IMAGE ?? ''}</b><br/>
|
IOS: <b>${dataShowVersion?.SOFTWARE_IMAGE ?? ''}</b><br/>
|
||||||
License : <b>${
|
License: <b>${
|
||||||
dataShowLic
|
dataShowLic
|
||||||
? dataShowLic
|
? dataShowLic
|
||||||
?.filter((el) => el.LICENSE_TYPE === 'Permanent')
|
?.filter((el) => el.LICENSE_TYPE === 'Permanent')
|
||||||
|
|
@ -1726,13 +1726,13 @@ ${log}
|
||||||
?.join(', ')
|
?.join(', ')
|
||||||
: ''
|
: ''
|
||||||
}</b><br/>
|
}</b><br/>
|
||||||
Summary : <b>${this.config?.latestScenario?.detectAI?.summary || ''}</b><br/>
|
Summary: <b>${this.config?.latestScenario?.detectAI?.summary || ''}</b><br/>
|
||||||
Issue : <b>${issue?.length ? `<br>- ` + issue.join(`<br>- `) : 'No issues detected.'}</b><br/>
|
Issue: <b>${issue?.length ? `<br>- ` + issue.join(`<br>- `) : 'No issues detected.'}</b><br/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Total Ports : ${portPhysical?.length}<br/>
|
Total Ports: ${portPhysical?.length}<br/>
|
||||||
Ports Tested (UP) : <b style="color: #008000;">${portPhysical.filter((p) => p.tested).length}</b><br/>
|
Ports Tested (UP): <b style="color: #008000;">${portPhysical.filter((p) => p.tested).length}</b><br/>
|
||||||
Ports Missing : <b style="color: #ff0000;">${portPhysical.filter((p) => !p.tested).length}</b><br/>
|
Ports Missing: <b style="color: #ff0000;">${portPhysical.filter((p) => !p.tested).length}</b><br/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>`
|
</table>`
|
||||||
|
|
|
||||||
|
|
@ -169,14 +169,14 @@ export class PhysicalPortTest {
|
||||||
<table cellpadding="6" cellspacing="0" border="1" style="margin-top: 10px; border-collapse: collapse; width: 100%">
|
<table cellpadding="6" cellspacing="0" border="1" style="margin-top: 10px; border-collapse: collapse; width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 50%;">
|
<td style="width: 50%;">
|
||||||
Model : <b>${report.device.model ?? 'N/A'}</b><br/>
|
Model: <b>${report.device.model ?? 'N/A'}</b><br/>
|
||||||
Serial Number : <b>${report.device.serial ?? 'N/A'}</b><br/>
|
Serial Number: <b>${report.device.serial ?? 'N/A'}</b><br/>
|
||||||
Status : ${status === 'PASS' ? '✅ PASS' : '⚠️ WARNING'}<br/>
|
Status: ${status === 'PASS' ? '✅ PASS' : '⚠️ WARNING'}<br/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Total Ports : ${report.ports.length}<br/>
|
Total Ports: ${report.ports.length}<br/>
|
||||||
Ports Tested (UP) : <b style="color: #008000;">${tested.length}</b><br/>
|
Ports Tested (UP): <b style="color: #008000;">${tested.length}</b><br/>
|
||||||
Ports Missing : <b style="color: #ff0000;">${missing.length}</b><br/>
|
Ports Missing: <b style="color: #ff0000;">${missing.length}</b><br/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
|
|
@ -1119,6 +1119,7 @@ export class WebSocketIo {
|
||||||
userEmailOpenCLI: '',
|
userEmailOpenCLI: '',
|
||||||
userOpenCLI: '',
|
userOpenCLI: '',
|
||||||
openCLI: false,
|
openCLI: false,
|
||||||
|
listFeatureTested: [''],
|
||||||
},
|
},
|
||||||
} as LineConnection)
|
} as LineConnection)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue