Prettify some pages

This commit is contained in:
Son NK 2020-01-02 22:39:37 +01:00
parent f986371ff5
commit c9d58692bf
2 changed files with 11 additions and 8 deletions

View file

@ -15,8 +15,9 @@
<div class="alert alert-primary" role="alert"> <div class="alert alert-primary" role="alert">
<p> <p>
To send an email from your alias, just send the email to a special email address that we call <em>reverse-alias</em> To send an email from your alias, just send the email to a special email address that we call
and SimpleLogin will send it from the alias. <em>reverse-alias</em>
and SimpleLogin will send it from the alias to the destination.
</p> </p>
<p> <p>
Make sure you send the email from your personal email address ({{ current_user.email }}). Make sure you send the email from your personal email address ({{ current_user.email }}).
@ -37,23 +38,25 @@
<div class="row"> <div class="row">
{% for forward_email in forward_emails %} {% for forward_email in forward_emails %}
<div class="col-6"> <div class="col-md-6">
<div class="my-2 p-2 card {% if forward_email.id == forward_email_id %} highlight-row {% endif %}"> <div class="my-2 p-2 card {% if forward_email.id == forward_email_id %} highlight-row {% endif %}">
<div> <div>
<span> <span>
<a href="{{ 'mailto:' + forward_email.website_send_to() }}" <a href="{{ 'mailto:' + forward_email.website_send_to() }}"
class="font-weight-bold">*****</a> data-toggle="tooltip"
title="You can click on this to open your email client. Or use the copy button 👉"
class="font-weight-bold">*************************</a>
<span class="clipboard btn btn-sm btn-success copy-btn" data-toggle="tooltip" <span class="clipboard btn btn-sm btn-success copy-btn" data-toggle="tooltip"
title="Copy to clipboard" title="Copy to clipboard"
data-clipboard-text="{{ forward_email.website_send_to() }}"> data-clipboard-text="{{ forward_email.website_send_to() }}">
Copy reverse-alias Copy reverse-alias
</span> </span>
</span> </span>
</div> </div>
<div> <div>
{{ forward_email.website_from or forward_email.website_email }} <i class="fe fe-mail"></i> {{ forward_email.website_from or forward_email.website_email }}
</div> </div>
<div class="mb-2 text-muted small-text"> <div class="mb-2 text-muted small-text">

View file

@ -160,7 +160,7 @@
data-toggle="tooltip" data-toggle="tooltip"
title="Not only an alias can receive emails, it can send emails too" title="Not only an alias can receive emails, it can send emails too"
> >
Send Email &nbsp; &nbsp; Send Email&nbsp; &nbsp;<i class="fe fe-send"></i>
</a> </a>
{% endif %} {% endif %}
</div> </div>