49 lines
1.1 KiB
HTML
49 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Malware bytes 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 bytes 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>
|