Raw button boilerplate
parent
4087fe13a8
commit
e79d1bad49
|
@ -9,6 +9,9 @@
|
||||||
<a href="/inbox/{{ address }}/{{ uid }}/delete">
|
<a href="/inbox/{{ address }}/{{ uid }}/delete">
|
||||||
Delete Email</a>
|
Delete Email</a>
|
||||||
<br>
|
<br>
|
||||||
|
<a href="/inbox/{{ address }}/{{ uid }}/raw" target="_blank">
|
||||||
|
View Raw</a>
|
||||||
|
<br>
|
||||||
<a href="/logout">
|
<a href="/logout">
|
||||||
Logout</a>
|
Logout</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -41,7 +44,7 @@
|
||||||
<div class="mail_body"></div>
|
<div class="mail_body"></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if mail.attachments %}
|
{% if mail.attachments %}
|
||||||
<div class="mail_body">
|
<div class="mail_attachments">
|
||||||
{% for attachment in mail.attachments %}
|
{% for attachment in mail.attachments %}
|
||||||
<a href="">📎 {{ attachment.filename }}</a>
|
<a href="">📎 {{ attachment.filename }}</a>
|
||||||
{#
|
{#
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
{% extends 'layout.twig' %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
|
||||||
|
<div class="mail_body">
|
||||||
|
<p>Not yet...</p>
|
||||||
|
{% for header, html in mail.headers %}
|
||||||
|
<p>This doesnt work rn</p>
|
||||||
|
{# TODO:
|
||||||
|
Make raw email. show all headers, preferrably even attachment raws and ofc mail.
|
||||||
|
need inspiration? open a mail "raw" in gmail. thats what I wanna mirror.
|
||||||
|
#}
|
||||||
|
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{% endblock %}
|
Loading…
Reference in New Issue