-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
took the template away from the compliance check so that it could be …
…read in elsewhere and used in other situations
- Loading branch information
Elijah Hudlow
committed
Nov 20, 2024
1 parent
1c4b9be
commit efa1119
Showing
2 changed files
with
51 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<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> | ||
|