Skip to content

Commit

Permalink
fix html and css for PDF report
Browse files Browse the repository at this point in the history
  • Loading branch information
theMiddleBlue committed Oct 26, 2018
1 parent 5b527e5 commit d32c6a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def reportPDFView(request):
' <table><thead><tr><th>Protocol / Port</th><th>Port State</th><th>Product / Version</th></tr></thead><tbody>'+\
hostdetails_html_tr+\
'</tbody></table></div>'+\
'<div class="">'+portdetails_html_tr+'</div>'+\
'<div style="page-break-before: always;"><h3>NSE Scripts for '+saddress+':</h3>'+portdetails_html_tr+'</div>'+\
notesout+\
cveout_html

Expand Down
2 changes: 2 additions & 0 deletions static/report.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ h1 {
padding:10px;
margin-bottom:10px;
font-family:monospace;
border-radius:4px;
background-color:#eee;
}

.extratitle {
Expand Down

0 comments on commit d32c6a4

Please sign in to comment.