Skip to content

Commit

Permalink
add 'Submitted headers' to bottom of page
Browse files Browse the repository at this point in the history
(cherry picked from commit 8d053b19ff15e0e3e7d64c4472459131526bc0eb)
  • Loading branch information
Wolfgang Karall-Ahlborn authored and wolfgangkarall committed Mar 16, 2021
1 parent dc0b3f0 commit 4369d57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mha/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def index():
'DKIM-Signature', 'ARC-Authentication-Results']
return render_template(
'index.html', data=r, delayed=delayed, summary=summary,
n=n, chart=chart, security_headers=security_headers)
n=n, chart=chart, security_headers=security_headers, mail_data=mail_data)
else:
return render_template('index.html')

Expand Down
8 changes: 8 additions & 0 deletions mha/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,14 @@ <h3 class="panel-title">Other headers</h3>
</table>
</div>
</div>
<div class="panel panel-default" style="margin-top: 10px;">
<div class="panel-heading">
<h3 class="panel-title">Submitted headers</h3>
</div>
<pre>
{{ mail_data }}
</pre>
</div>
{% else %}
<div class="row">
<div class="col-md-12">
Expand Down

0 comments on commit 4369d57

Please sign in to comment.