mirror of
				https://github.com/Crazyco-xyz/48hr.email.git
				synced 2025-11-04 07:16:32 +01: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">
 | 
			
		||||
            Delete Email</a>
 | 
			
		||||
	    <br>
 | 
			
		||||
        <a href="/inbox/{{ address }}/{{ uid }}/raw" target="_blank">
 | 
			
		||||
            View Raw</a>
 | 
			
		||||
	    <br>
 | 
			
		||||
        <a href="/logout">
 | 
			
		||||
            Logout</a>
 | 
			
		||||
    </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -41,7 +44,7 @@
 | 
			
		|||
        <div class="mail_body"></div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {% if mail.attachments %}
 | 
			
		||||
    <div class="mail_body">
 | 
			
		||||
    <div class="mail_attachments">
 | 
			
		||||
        {% for attachment in mail.attachments %}
 | 
			
		||||
            <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