-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscan_results.html
More file actions
73 lines (71 loc) · 1.75 KB
/
scan_results.html
File metadata and controls
73 lines (71 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Scan Results</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 40px;
background-color: #f8f9fa;
}
h1 {
color: #343a40;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 25px;
background-color: white;
}
th, td {
padding: 12px;
border: 1px solid #dee2e6;
text-align: left;
}
th {
background-color: #007bff;
color: white;
}
tr:nth-child(even) {
background-color: #f1f1f1;
}
a.button {
display: inline-block;
padding: 10px 15px;
margin-top: 20px;
background-color: #007bff;
color: white;
text-decoration: none;
border-radius: 5px;
}
a.button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<h1>Scan Results</h1>
{% if issues %}
<table>
<thead>
<tr>
<th>#</th>
<th>Issue</th>
</tr>
</thead>
<tbody>
{% for issue in issues %}
<tr>
<td>{{ loop.index }}</td>
<td>{{ issue }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>No issues found.</p>
{% endif %}
<a href="{{ url_for('index') }}" class="button">Back to Home</a>
</body>
</html>