-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.html
38 lines (37 loc) · 922 Bytes
/
template.html
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
<html>
<head>
<style>
table {
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid black;
padding: 8px;
text-align: center;
}
th {
background-color: #f2f2f2;
}
.match { background-color: #d4edda; } /* green for matches */
.mismatch { background-color: #f8d7da; } /* red for mismatches */
</style>
</head>
<body>
<h2>DICOM Header Compliance Report</h2>
<table>
<tr>
<th>Header</th>
<th>Expected Value</th>
<th>Actual Value</th>
</tr>
{% for row in rows %}
<tr class="{{ row.class_name }}">
<td>{{ row.header }}</td>
<td>{{ row.expected_value }}</td>
<td>{{ row.actual_value }}</td>
</tr>
{% endfor %}
</table>
</body>
</html>