web_defender/templates/malware/view_malware_asm_predictions_XGB.html
2024-12-09 13:43:16 +05:30

49 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Malware ASM prediction XGB</title>
<style>
table {
width: 100%;
border-collapse: collapse;
}
table, th, td {
border: 1px solid black;
}
th, td {
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
}
</style>
</head>
<body>
<h1>Malware ASM predictions XGB</h1>
{% if error %}
<p style="color:red">{{ error }}</p>
{% else %}
<table>
<thead>
<tr>
{% for heading in data.0 %}
<th>{{ heading }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in data|slice:"1:" %}
<tr>
{% for cell in row %}
<td>{{ cell }}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
</body>
</html>