Skip to content

Commit

Permalink
Replace br tags with styled hrs
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Jul 31, 2020
1 parent e318902 commit 0dbea9d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions brunnhilde.py
Expand Up @@ -114,6 +114,13 @@
visibility: hidden;
}
hr {
width: 25%;
color: #ddd;
text-align: left;
margin-left: 0;
}
.hidden {
display: none;
}
Expand Down Expand Up @@ -527,17 +534,15 @@ def create_html_report(
html.write(
"\n<p><strong>Empty (zero byte) files:</strong> {}</p>".format(empty_files)
)

html.write("\n<br>")
html.write("\n<hr>")
html.write(
"\n<p><strong>Years (last modified):</strong> {begin} - {end}</p>".format(
begin=begin_date, end=end_date
)
)
html.write("\n<p><strong>Earliest date:</strong> {}</p>".format(earliest_date))
html.write("\n<p><strong>Latest date:</strong> {}</p>".format(latest_date))

html.write("\n<br>")
html.write("\n<hr>")
html.write(
"\n<p><strong>Identified file formats:</strong> {}</p>".format(num_formats)
)
Expand All @@ -548,8 +553,7 @@ def create_html_report(
html.write(' <a href="#Unidentified">(see list)</a></p>')
else:
html.write(" </p>")

html.write("\n<br>")
html.write("\n<hr>")
if args.warnings:
html.write("\n<p><strong>Siegfried warnings:</strong> {}".format(num_warnings))
if num_warnings:
Expand Down

0 comments on commit 0dbea9d

Please sign in to comment.