mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2025-07-01 14:37:09 +02:00
Raw button boilerplate
This commit is contained in:
parent
4087fe13a8
commit
e79d1bad49
2 changed files with 22 additions and 1 deletions
|
@ -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>
|
||||||
{#
|
{#
|
||||||
|
|
18
infrastructure/web/views/raw.twig
Normal file
18
infrastructure/web/views/raw.twig
Normal file
|
@ -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…
Add table
Reference in a new issue